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 vars.
ExpConeBuilder.getType()
Get type of an exponential cone constraint.
Synopsis
int getType()
Return
type of an exponential cone constraint.
ExpConeBuilder.getVar()
Get idx-th variable in an exponential cone constraint.
Synopsis
Var getVar(int idx)
Arguments
idx
: index of variables.Return
the idx-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.