|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The rhs of a row in an LP. Simple data holder that implements LPConstraint. Some parsing functionality for the construction of constraint objects.
Field Summary | |
---|---|
String |
name
|
Map |
relSyms
|
byte |
relation
|
double |
rhs
|
Constructor Summary | |
GConstraint(String name, byte relation, double rhs)
Construct a constraint. |
|
GConstraint(String name, String constrDef)
Construct a constraint from a String definition. |
Method Summary | |
---|---|
String |
getName()
|
String |
getRelSym()
|
byte |
getRelation()
|
double |
getRhs()
|
void |
setName(String name)
|
String |
toString()
|
String |
toSummaryString()
|
Constructor Detail |
---|
public GConstraint(String name, byte relation, double rhs)
public GConstraint(String name, String constrDef)
Method Detail |
---|
public String getName()
public String getRelSym()
public byte getRelation()
public double getRhs()
public void setName(String name)
public String toString()
public String toSummaryString()