Var.get()

Get information value of the variable. Support informatioins of “Value”, “RedCost”, “LB”, “UB”, and “Obj”.

Synopsis

double get(String info)

Arguments

info: information name.

Return

information value.

Var.getBasis()

Get basis status of the variable.

Synopsis

int getBasis()

Return

Basis status.

Var.getIdx()

Get index of the variable.

Synopsis

int getIdx()

Return

variable index.

Var.getLowerIIS()

Get IIS status for lower bound of the variable.

Synopsis

int getLowerIIS()

Return

IIS status.

Var.getName()

Get name of the variable.

Synopsis

String getName()

Return

variable name.

Var.getType()

Get type of the variable.

Synopsis

char getType()

Return

variable type.

Var.getUpperIIS()

Get IIS status for upper bound of the variable.

Synopsis

int getUpperIIS()

Return

IIS status.

Var.remove()

Remove variable from model.

Synopsis

void remove()

Var.set()

Set information value of the variable. Support informations of “LB”, “UB” and “Obj”.

Synopsis

void set(String info, double val)

Arguments

info: information name.

val: new information value.

Var.setName()

Set name of the variable.

Synopsis

void setName(String name)

Arguments

name: variable name.

Var.setType()

Set type of the variable.

Synopsis

void setType(char vtype)

Arguments

vtype: variable type.