AffineConeBuilder::GetExpr()
Get the i-th linear expression in an affine cone constraint.
Synopsis
const Expr &GetExpr(int i)Arguments
i: index of linear expression in an affine cone constraint.Return
the i-th linear expression in an affine cone constraint.
AffineConeBuilder::GetExprs()
Get all linear expressions in an affine cone constraint.
Synopsis
MLinExpr<1> GetExprs()Return
MLinExpr object.
AffineConeBuilder::GetPsdExpr()
Get the i-th PSD expression in an affine cone constraint.
Synopsis
const PsdExpr &GetPsdExpr(int i)Arguments
i: index of PSD expression in an affine cone constraint.Return
the i-th PSD expression in an affine cone constraint.
AffineConeBuilder::GetPsdExprs()
Get all PSD expressions in an affine cone constraint.
Synopsis
const MPsdExpr<1> &GetPsdExprs()Return
MPsdExpr object.
AffineConeBuilder::GetSize()
Get number of expressions in an affine cone constraint.
Synopsis
int GetSize()Return
number of expressions.
AffineConeBuilder::GetType()
Get type of an affine cone constraint.
Synopsis
int GetType()Return
type of an affine cone constraint.
AffineConeBuilder::HasPsdTerm()
Check whether affine cone has PSD terms.
Synopsis
bool HasPsdTerm()Return
flag to indicate whether affine cone has PSD terms.
AffineConeBuilder::Set()
Set linear expressions of an affine cone constraint.
Synopsis
void Set(const MLinExpr<1> &exprs, int type)Arguments
exprs: 1-dimensional MLinExpr object.
type: type of affine cone constraint.
AffineConeBuilder::Set()
Set PSD expressions of an affine cone constraint.
Synopsis
void Set(const MPsdExpr<1> &exprs, int type)Arguments
exprs: 1-dimensional MPsdExpr object.
type: type of affine cone constraint.