AffineConeBuilder.AffineConeBuilder()

Constructor of AffineConeBuilder object.

Synopsis

AffineConeBuilder()

AffineConeBuilder.getExpr()

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

Synopsis

Expr getExpr(int idx)

Arguments

idx: index of linear expression.

Return

the idx-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 vars.

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

Boolean 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.