ConeBuilder.ConeBuilder()

Constructor of ConeBuilder object.

Synopsis

ConeBuilder()

ConeBuilder.getSize()

Get number of variables 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 idx-th variable in a cone constraint.

Synopsis

Var getVar(int idx)

Arguments

idx: index of variables.

Return

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