public class ConjugateDirectionSearch extends MultivariateMinimum
Modifier and Type | Class and Description |
---|---|
static class |
ConjugateDirectionSearch.OptimizationError |
Modifier and Type | Field and Description |
---|---|
boolean |
illc
illc should be set to true
if the problem is known to
be ill-conditioned.
|
boolean |
interrupt
MHL: added this so we can interrupt the optimization if
we need to.
|
int |
prin
controls the printed output from the routine
(0 = no output, 1 = print only starting and final values,
2 = detailed map of the minimization process,
3 = print also eigenvalues and vectors of the
search directions), the default value is 0
|
double |
scbd
scbd is a scaling parameter.
|
double |
step
step is a steplength parameter and should be set equal
to the expected distance from the solution.
|
maxFun, numFun, numFuncStops
Constructor and Description |
---|
ConjugateDirectionSearch()
constructor
|
Modifier and Type | Method and Description |
---|---|
void |
optimize(MultivariateFunction f,
double[] xvector,
double tolfx,
double tolx)
The actual optimization routine
(needs to be implemented in a subclass of MultivariateMinimum).
|
copy, findMinimum, findMinimum, stopCondition
public int prin
public double step
public double scbd
public boolean illc
public boolean interrupt
public void optimize(MultivariateFunction f, double[] xvector, double tolfx, double tolx)
MultivariateMinimum
optimize
in class MultivariateMinimum
f
- multivariate functionxvector
- initial guesses for the minimum
(contains the location of the minimum on return)tolfx
- absolute tolerance of function valuetolx
- absolute tolerance of each parameterCopyright © 2015–2021 Fiji. All rights reserved.