public class SQPActiveSetSolver.Solution extends java.lang.Object implements IterativeMinimizer<Vector>
| Modifier | Constructor and Description |
|---|---|
protected |
Solution(RealScalarFunction f,
EqualityConstraints equal,
GreaterThanConstraints greater) |
| Modifier and Type | Method and Description |
|---|---|
Vector |
minimizer()
Get the minimizer (solution) to the minimization problem.
|
double |
minimum()
Get the (approximate) minimum found.
|
Vector |
search(Vector... initials)
Search for a solution that optimizes the objective function from the
given starting points.
|
Vector |
search(Vector initial)
Search for a solution that minimizes the objective function from the
given starting point.
|
Vector |
search(Vector x0,
Vector lambda0,
Vector mu0)
Search for a solution that minimizes the objective function from the
given starting point.
|
void |
setInitials(Vector... initials)
Supply the starting points for the search.
|
java.lang.Object |
step()
Do the next iteration.
|
protected Solution(RealScalarFunction f, EqualityConstraints equal, GreaterThanConstraints greater)
public void setInitials(Vector... initials)
IterativeMethodsetInitials in interface IterativeMethod<Vector>initials - the initial guessespublic java.lang.Object step()
throws java.lang.Exception
IterativeMethodstep in interface IterativeMethod<Vector>java.lang.Exception - when an error occurs during the searchpublic Vector search(Vector... initials) throws java.lang.Exception
IterativeMethod#setInitials(S[]) and then
iteratively IterativeMethod.step().
It implements a default convergence criterion.search in interface IterativeMethod<Vector>initials - the initial guessesjava.lang.Exception - when an error occurs during the searchpublic Vector search(Vector initial) throws java.lang.Exception
initial - an initial guessjava.lang.Exception - when an error occurs during the searchpublic Vector search(Vector x0, Vector lambda0, Vector mu0) throws java.lang.Exception
x0 - x0lambda0 - λ0, the Lagrange multipliers for equality constraints (lambda)mu0 - μ0, the Lagrange multipliers for inequality constraints (mu)java.lang.Exception - when an error occurs during the searchpublic double minimum()
MinimizationSolutionminimum in interface MinimizationSolution<Vector>public Vector minimizer()
MinimizationSolutionminimizer in interface MinimizationSolution<Vector>