|
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.LpBoundedSolution
public class LpBoundedSolution
This class represents a solution to a bounded Linear Programming (LP) problem.
Note that there may be multiple solutions that give the same minimum. This class is designed to return all possible optimal solutions.
| Constructor Summary | |
|---|---|
LpBoundedSolution(LpSolver phase2)
Construct the solution for a bounded LP problem. |
|
| Method Summary | |
|---|---|
double |
min()
Get the minimum. |
ImmutableVector |
minimizer()
Get a minimizing vector. |
ImmutableVector[] |
minimizers()
Get all the optimal minimizers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LpBoundedSolution(LpSolver phase2)
phase2 - the solver that generates the solution| Method Detail |
|---|
public double min()
LpSolution
min in interface LpSolutionpublic ImmutableVector minimizer()
LpSolution
In the case where the problem is unbounded, this minimizer is the same as the u vector on p.67 in "Michael C. Ferris, Olvi L. Mangasarian, Stephen J. Wright. "Linear Programming with MATLAB," Algorithm 3.1, Section 3, The Simplex Method."
minimizer in interface LpSolutionpublic ImmutableVector[] minimizers()
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||