ExpConeBuilder.ExpConeBuilder()
Constructor of ExpConeBuilder object.
Synopsis
ExpConeBuilder()
ExpConeBuilder.GetSize()
Get number of variables in an exponential cone constraint.
Synopsis
int GetSize()
Return
number of variables.
ExpConeBuilder.GetType()
Get type of an exponential cone constraint.
Synopsis
int GetType()
Return
type of the exponential cone constraint.
ExpConeBuilder.GetVar()
Get i-th variable in an exponential cone constraint.
Synopsis
Var GetVar(int idx)
Arguments
idx
: index of vars.Return
the i-th variable in an exponential cone constraint.
ExpConeBuilder.GetVars()
Get all variables in an exponential cone constraint.
Synopsis
VarArray GetVars()
Return
variables in an exponential cone constraint.
ExpConeBuilder.Set()
Set variables and type of an exponential cone constraint.
Synopsis
void Set(VarArray vars, int type)
Arguments
vars
: variable array object.
type
: type of an exponential cone constraint.