org.apache.commons.math3.optimization.linear
Class SimplexSolver
- java.lang.Object
-
- org.apache.commons.math3.optimization.linear.AbstractLinearOptimizer
-
- org.apache.commons.math3.optimization.linear.SimplexSolver
-
- All Implemented Interfaces:
- LinearOptimizer
Deprecated.As of 3.1 (to be removed in 4.0).
@Deprecated public class SimplexSolver extends AbstractLinearOptimizer
Solves a linear problem using the Two-Phase Simplex Method.- Since:
- 2.0
-
-
Field Summary
-
Fields inherited from class org.apache.commons.math3.optimization.linear.AbstractLinearOptimizer
DEFAULT_MAX_ITERATIONS
-
-
Constructor Summary
Constructors Constructor and Description SimplexSolver()Deprecated.Build a simplex solver with default settings.SimplexSolver(double epsilon, int maxUlps)Deprecated.Build a simplex solver with a specified accepted amount of error
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description PointValuePairdoOptimize()Deprecated.Perform the bulk of optimization algorithm.-
Methods inherited from class org.apache.commons.math3.optimization.linear.AbstractLinearOptimizer
getIterations, getMaxIterations, optimize, setMaxIterations
-
-
-
-
Constructor Detail
-
SimplexSolver
public SimplexSolver()
Deprecated.Build a simplex solver with default settings.
-
SimplexSolver
public SimplexSolver(double epsilon, int maxUlps)Deprecated.Build a simplex solver with a specified accepted amount of error- Parameters:
epsilon- the amount of error to accept for algorithm convergencemaxUlps- amount of error to accept in floating point comparisons
-
-
Method Detail
-
doOptimize
public PointValuePair doOptimize() throws MaxCountExceededException, UnboundedSolutionException, NoFeasibleSolutionException
Deprecated.Perform the bulk of optimization algorithm.- Returns:
- the point/value pair giving the optimal value for objective function
- Throws:
MaxCountExceededExceptionUnboundedSolutionExceptionNoFeasibleSolutionException
-
-
DMelt 3.0 © DataMelt by jWork.ORG