public class OpenOptRootFinder extends OptimizationRootFinder
Modifier and Type | Field and Description |
---|---|
double |
contol |
double |
ftol |
double |
gtol |
double |
xtol |
PRECISION
Constructor and Description |
---|
OpenOptRootFinder(java.util.List<Term> functions,
java.util.Map<Variable,Term> startingPoint)
Creates a new root finder for the given starting point and the given
(multi-dimensional) function
|
OpenOptRootFinder(Term function,
java.util.Map<Variable,Term> startingPoint)
Creates a new root finder for the given starting point and the given function
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOpenOptCode()
Builds the OpenOpt code for the given problem which can be interpreted by a python.
|
java.util.Map<Variable,Term> |
randomRoot()
Determines the values for the variables appearing in the function such
the function evaluates to zero.
|
buildOptimizationProblem
getFunctions, getStartingPoint, setStartingPoint
public double contol
public double ftol
public double gtol
public double xtol
public OpenOptRootFinder(Term function, java.util.Map<Variable,Term> startingPoint)
startingPoint
- public java.lang.String getOpenOptCode()
public java.util.Map<Variable,Term> randomRoot() throws GeneralMathException
RootFinder
randomRoot
in class OptimizationRootFinder
GeneralMathException
- if something went wrong.