public class ApacheCommonsNonLinearConjugateGradientOptimizer extends Solver
| Constructor and Description |
|---|
ApacheCommonsNonLinearConjugateGradientOptimizer(int maxEval,
double precision)
Creates a new solver.
|
| 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 ApacheCommonsNonLinearConjugateGradientOptimizer(int maxEval,
double precision)
maxEval - the maximum number of evaluations.precision - the precision.public Map<Variable,Term> solve(ConstraintSatisfactionProblem problem) throws GeneralMathException
Solversolve in class Solverproblem - the actual problemGeneralMathException - if something went wrong.public static boolean isInstalled()
throws UnsupportedOperationException
UnsupportedOperationExceptionCopyright © 2018. All rights reserved.