Class LPBoundedMinimizer
- java.lang.Object
-
- dev.nm.solver.multivariate.constrained.convex.sdp.socp.qp.lp.simplex.solution.LPBoundedMinimizer
-
- All Implemented Interfaces:
MinimizationSolution<Vector>,LPMinimizer,LPSimplexMinimizer
public class LPBoundedMinimizer extends Object implements LPSimplexMinimizer
This is the solution to a bounded linear programming problem. Note that there may be multiple solutions that give the same minimum. This implementation returns all possible optimal solutions.
-
-
Constructor Summary
Constructors Constructor Description LPBoundedMinimizer(SimplexTable table)Constructs the solution for a bounded linear programming problem.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimplexTablegetResultantTableau()Get the solution simplex table as a result of solving a linear programming problem.ImmutableVectorminimizer()Get the minimizer (solution) to the minimization problem.ImmutableVector[]minimizers()Get all optimal minimizers.doubleminimum()Get the (approximate) minimum found.StringtoString()
-
-
-
Constructor Detail
-
LPBoundedMinimizer
public LPBoundedMinimizer(SimplexTable table)
Constructs the solution for a bounded linear programming problem.- Parameters:
table- the solution simplex table, e.g., as a result of phase 2
-
-
Method Detail
-
getResultantTableau
public SimplexTable getResultantTableau()
Description copied from interface:LPSimplexMinimizerGet the solution simplex table as a result of solving a linear programming problem.- Specified by:
getResultantTableauin interfaceLPSimplexMinimizer- Returns:
- the solution simplex table as a result of solving a linear programming problem
-
minimum
public double minimum()
Description copied from interface:MinimizationSolutionGet the (approximate) minimum found.- Specified by:
minimumin interfaceMinimizationSolution<Vector>- Returns:
- the (approximate) minimum found
-
minimizer
public ImmutableVector minimizer()
Description copied from interface:MinimizationSolutionGet the minimizer (solution) to the minimization problem.- Specified by:
minimizerin interfaceMinimizationSolution<Vector>- Returns:
- the minimizer
-
minimizers
public ImmutableVector[] minimizers()
Get all optimal minimizers.- Returns:
- all optimal minimizers
-
-