|
|||||
| FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||
The LP model used internally by the expression builder A convenient front-end to the ConstructableLPModel
| Field Summary | |
|---|---|
List |
allRows
|
List |
allVars
|
| Constructor Summary | |
GLPModel()
|
|
| Method Summary | |
|---|---|
void |
addConstraints(LPConstraintSequence constrs)
Add new constraints to the model. |
void |
addRows(GRows rows)
Add new rows to the model by adding both the constraints (i.e. the rhs of the rows) and the expressions on the lhs. |
void |
addVariables(GVariables vars)
Add new variables to the LP model Throws an exception if variables with the given name already exist in the model. |
GVariables |
getVariables(String offsetId)
Return variables in the model by name. |
String |
toSummaryString()
|
| Constructor Detail |
|---|
public GLPModel()
| Method Detail |
|---|
void addConstraints(LPConstraintSequence constrs)
public void addRows(GRows rows)
public void addVariables(GVariables vars)
public GVariables getVariables(String offsetId)
public String toSummaryString()