ConeBuilder::GetSize()

Get number of vars in a cone constraint.

Synopsis

int GetSize()

Return

number of vars.

ConeBuilder::GetType()

Get type of a cone constraint.

Synopsis

int GetType()

Return

type of a cone constraint.

ConeBuilder::GetVar()

Get the i-th variable in a cone constraint.

Synopsis

Var GetVar(int i)

Arguments

i: index of vars in a cone constraint.

Return

the i-th variable in a cone constraint.

ConeBuilder::GetVars()

Get all variables in a cone constraint.

Synopsis

VarArray GetVars()

Return

variable array object.

ConeBuilder::Set()

Set variables of a cone constraint.

Synopsis

void Set(const VarArray &vars, int type)

Arguments

vars: variable array object.

type: type of cone constraint.