public class OpenOptWebSolver extends OpenOptSolver
Modifier and Type | Field and Description |
---|---|
private org.slf4j.Logger |
log
Logger.
|
static boolean |
openopt_use_local
Whether to use a local installation of OpenOpt.
|
static java.lang.String |
openopt_webservice_apikey
The API key for using the service.
|
static java.lang.String |
openopt_webservice_url
The URL of the web service.
|
ignoreNotFeasibleError
Constructor and Description |
---|
OpenOptWebSolver() |
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.
|
getContol, getFtol, getGtol, getMaxFunEvals, getMaxIter, getOpenOptCode, getSolver, getXtol, isIgnoreNotFeasibleError, parseOutput, setContol, setFtol, setGtol, setIgnoreNotFeasibleError, setMaxFunEvals, setMaxIter, setSolver, setXtol
getDefaultGeneralSolver, getDefaultIntegerLinearSolver, getDefaultLinearSolver, hasDefaultGeneralSolver, hasDefaultIntegerLinearSolver, hasDefaultLinearSolver, setDefaultGeneralSolver, setDefaultIntegerLinearSolver, setDefaultLinearSolver
public static java.lang.String openopt_webservice_url
public static java.lang.String openopt_webservice_apikey
public static boolean openopt_use_local
private org.slf4j.Logger log
public java.util.Map<Variable,Term> solve(ConstraintSatisfactionProblem problem) throws GeneralMathException
Solver
solve
in class OpenOptSolver
problem
- the actual problemGeneralMathException
- if something went wrong.public static boolean isInstalled() throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException