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() |
java.util.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 java.util.Map<Variable,Term> solve(ConstraintSatisfactionProblem problem)
Solverpublic static boolean isInstalled()
throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException