|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface LpSolver
This interface represents the various stages in solving a Linear Programming (LP) problem. E.g., both phases 1 and 2 are LpSolver in the sense that they process the original table to produce a resultant table that gets closer to a solution.
| Method Summary | |
|---|---|
Tableau |
getResultantTableau()
Get a copy of the Tableau after the solve operation. |
int |
lambdaCol()
Get the column index for which there is no row that passes the ratio test. |
LpSolution |
solve()
Solve the Linear Programming (LP) problem. |
| Method Detail |
|---|
LpSolution solve()
throws LpProblem.Infeasible
LpProblem.InfeasibleTableau getResultantTableau()
solve operation.
The table can be passed to other operations, e.g., other LpSolver, for further processing.
solve operationint lambdaCol()
To check whether a problem is bounded, we can do:
lambdaCol() == 0;
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||