|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.optimization.constrained.linearprogramming.simplex.standard.Phase2ByFerrisMangasarianWright
public class Phase2ByFerrisMangasarianWright
This implements Algorithm 3.1 in the reference.
| Constructor Summary | |
|---|---|
Phase2ByFerrisMangasarianWright(Tableau table)
Solve a linear programming problem using the Phase 2 algorithm in Ferris, Mangasarian & Wright. |
|
Phase2ByFerrisMangasarianWright(Tableau table,
SimplexPivoting pivoting)
Solve a linear programming problem using the Phase 2 algorithm in Ferris, Mangasarian & Wright. |
|
| Method Summary | |
|---|---|
Tableau |
getResultantTableau()
Get a copy of the Tableau after the solve operation. |
boolean |
isUnbounded()
|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Phase2ByFerrisMangasarianWright(Tableau table,
SimplexPivoting pivoting)
table - the initial feasible tableau generated in the phase 1pivoting - the pivoting rulepublic Phase2ByFerrisMangasarianWright(Tableau table)
table - the initial feasible tableau generated in the phase 1| Method Detail |
|---|
public LpSolution solve()
throws LpProblem.Infeasible
LpSolver
solve in interface LpSolverLpProblem.Infeasiblepublic boolean isUnbounded()
public int lambdaCol()
LpSolverTo check whether a problem is bounded, we can do:
lambdaCol() == 0;
lambdaCol in interface LpSolverpublic Tableau getResultantTableau()
LpSolversolve operation.
The table can be passed to other operations, e.g., other LpSolver, for further processing.
getResultantTableau in interface LpSolversolve operation
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||