Constraint.get()

Get attribute value of the constraint. Support “Dual”, “Slack”, “LB”, “UB” attributes.

Synopsis

double get(String attr)

Arguments

attr: name of the attribute being queried.

Return

attribute 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 attribute value of the constraint. Support “LB” and “UB” attributes.

Synopsis

void set(String attr, double val)

Arguments

attr: name of the attribute.

val: new value.

Constraint.setName()

Set name for the constraint.

Synopsis

void setName(String name)

Arguments

name: the name to set.