GLPSolver.Direction
Constructor and Description |
---|
CommonsMathGLPSolverWrapper() |
CommonsMathGLPSolverWrapper(org.apache.commons.math3.optim.linear.SimplexSolver solver) |
Modifier and Type | Method and Description |
---|---|
SolverResult |
solve(GLPSolver.Direction direction,
double[] objective,
ConstraintsSystem constraints)
Solve General Linear Programing Problem (variables are allowed to be negative) by optimizing the 'objective' function
under given 'constraints'.
|
public CommonsMathGLPSolverWrapper(org.apache.commons.math3.optim.linear.SimplexSolver solver)
public CommonsMathGLPSolverWrapper()
public SolverResult solve(GLPSolver.Direction direction, double[] objective, ConstraintsSystem constraints) throws UnboundedSystemException
GLPSolver
solve
in interface GLPSolver
direction
- optimization directionobjective
- coefficients of the objective functionconstraints
- constraintsUnboundedSystemException
- when constraint system is unbounded and solution cannot be foundCopyright © 2021. All rights reserved.