public class ApacheCommonsSimplex extends Solver
| Modifier and Type | Field and Description |
|---|---|
int |
MAXITERATIONS
The maximum number of iterations of the simplex algorithm.
|
boolean |
onlyPositive
Whether only positive solutions are allowed.
|
| Constructor and Description |
|---|
ApacheCommonsSimplex() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isInstalled() |
Map<Variable,Term> |
solve(ConstraintSatisfactionProblem problem)
Computes a solution to the given constraint satisfaction or optimization problem, i.e.
|
getDefaultGeneralSolver, getDefaultIntegerLinearSolver, getDefaultLinearSolver, hasDefaultGeneralSolver, hasDefaultIntegerLinearSolver, hasDefaultLinearSolver, setDefaultGeneralSolver, setDefaultIntegerLinearSolver, setDefaultLinearSolverpublic int MAXITERATIONS
public boolean onlyPositive
public Map<Variable,Term> solve(ConstraintSatisfactionProblem problem)
Solverpublic static boolean isInstalled()
throws UnsupportedOperationException
UnsupportedOperationExceptionCopyright © 2018. All rights reserved.