public class OpenOptRootFinder extends OptimizationRootFinder
Modifier and Type | Field and Description |
---|---|
private double |
contol |
private double |
ftol |
private double |
gtol |
private 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 |
---|---|
double |
getContol() |
double |
getFtol() |
double |
getGtol() |
java.lang.String |
getOpenOptCode()
Builds the OpenOpt code for the given problem which can be interpreted by a python.
|
double |
getXtol() |
java.util.Map<Variable,Term> |
randomRoot()
Determines the values for the variables appearing in the function such
the function evaluates to zero.
|
void |
setContol(double contol) |
void |
setFtol(double ftol) |
void |
setGtol(double gtol) |
void |
setXtol(double xtol) |
buildOptimizationProblem
getFunctions, getStartingPoint, setStartingPoint
private double contol
private double ftol
private double gtol
private 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.public double getContol()
public void setContol(double contol)
public double getFtol()
public void setFtol(double ftol)
public double getGtol()
public void setGtol(double gtol)
public double getXtol()
public void setXtol(double xtol)