Constraint.get()

Get information value of the constraint. Support informations of “Dual”, “Slack”, “LB”, “UB”.

Synopsis

double get(String info)

Arguments

info: name of the information being queried.

Return

information value.

Constraint.getBasis()

Get basis status of this constraint.

Synopsis

int getBasis()

Return

basis status.

Constraint.getIdx()

Get index of the constraint.

Synopsis

int getIdx()

Return

the index of the constraint.

Constraint.getLowerIIS()

Get IIS status for lower bound of the constraint.

Synopsis

int getLowerIIS()

Return

IIS status.

Constraint.getName()

Get name of the constraint.

Synopsis

String getName()

Return

the name of the constraint.

Constraint.getUpperIIS()

Get IIS status for upper bound of the constraint.

Synopsis

int getUpperIIS()

Return

IIS status.

Constraint.remove()

Remove this constraint from model.

Synopsis

void remove()

Constraint.set()

Set information value of the constraint. Support informations of “LB” and “UB”.

Synopsis

void set(String info, double val)

Arguments

info: name of the information.

val: new information value.

Constraint.setName()

Set name for the constraint.

Synopsis

void setName(String name)

Arguments

name: the name to set.