AffineConeBuilder.AffineConeBuilder()

Constructor of AffineConeBuilder object.

Synopsis

AffineConeBuilder()

AffineConeBuilder.GetExpr()

Get i-th linear expression in an affine cone constraint.

Synopsis

Expr GetExpr(int idx)

Arguments

idx: index of linear expression.

Return

the i-th linear expression in an affine cone constraint.

AffineConeBuilder.GetExprs()

Get all linear expressions in an affine cone constraint.

Synopsis

Expr[] GetExprs()

Return

array of linear expressions.

AffineConeBuilder.GetPsdExpr()

Get idx-th PSD expression in an affine cone constraint.

Synopsis

PsdExpr GetPsdExpr(int idx)

Arguments

idx: index of PSD expression.

Return

the idx-th PSD expression in an affine cone constraint.

AffineConeBuilder.GetPsdExprs()

Get all PSD expressions in an affine cone constraint.

Synopsis

PsdExpr[] GetPsdExprs()

Return

array of PSD expressions.

AffineConeBuilder.GetSize()

Get number of variables in an affine cone constraint.

Synopsis

int GetSize()

Return

number of variables.

AffineConeBuilder.GetType()

Get type of an affine cone constraint.

Synopsis

int GetType()

Return

type of the 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 and type of an affine cone constraint.

Synopsis

void Set(Expr[] exprs, int type)

Arguments

exprs: array of linear expressions.

type: type of an affine cone constraint.

AffineConeBuilder.Set()

Set PSD expressions and type of an affine cone constraint.

Synopsis

void Set(PsdExpr[] exprs, int type)

Arguments

exprs: array of PSD expressions.

type: type of an affine cone constraint.