ConeBuilder.ConeBuilder()

Constructor of ConeBuilder object.

Synopsis

ConeBuilder()

ConeBuilder.GetSize()

Get number of variables in a cone constraint.

Synopsis

int GetSize()

Return

number of variables.

ConeBuilder.GetType()

Get type of a cone constraint.

Synopsis

int GetType()

Return

type of the cone constraint.

ConeBuilder.GetVar()

Get i-th variable in a cone constraint.

Synopsis

Var GetVar(int idx)

Arguments

idx: index of vars.

Return

the i-th variable in a cone constraint.

ConeBuilder.GetVars()

Get all variables in a cone constraint.

Synopsis

VarArray GetVars()

Return

variables in a cone constraint.

ConeBuilder.Set()

Set variables and type of a cone constraint.

Synopsis

void Set(VarArray vars, int type)

Arguments

vars: variable array object.

type: type of a cone constraint.