public class PrimalDualInteriorPoint.Solution extends java.lang.Object implements IterativeMinimizer<PrimalDualSolution>
| Modifier and Type | Method and Description |
|---|---|
PrimalDualSolution |
minimizer()
Get the minimizer (solution) to the minimization problem.
|
double |
minimum()
Get the (approximate) minimum found.
|
PrimalDualSolution |
search()
Search for a solution that optimizes the objective function from the
starting point given by K.
|
PrimalDualSolution |
search(PrimalDualSolution... initials)
Search for a solution that optimizes the objective function from the
given starting points.
|
PrimalDualSolution |
search(PrimalDualSolution initial)
Search for a solution that optimizes the objective function from the
given starting point.
|
void |
setInitials(PrimalDualSolution... initials)
Supply the starting points for the search.
|
java.lang.Boolean |
step()
Do the next iteration.
|
public double minimum()
MinimizationSolutionminimum in interface MinimizationSolution<PrimalDualSolution>public PrimalDualSolution minimizer()
MinimizationSolutionminimizer in interface MinimizationSolution<PrimalDualSolution>public void setInitials(PrimalDualSolution... initials)
IterativeMethodsetInitials in interface IterativeMethod<PrimalDualSolution>initials - the initial guessespublic PrimalDualSolution search(PrimalDualSolution... initials) throws java.lang.Exception
IterativeMethod#setInitials(S[]) and then
iteratively IterativeMethod.step().
It implements a default convergence criterion.search in interface IterativeMethod<PrimalDualSolution>initials - the initial guessesjava.lang.Exception - when an error occurs during the searchpublic PrimalDualSolution search(PrimalDualSolution initial) throws java.lang.Exception
initial - an initial guessjava.lang.Exception - when an error occurs during the searchpublic PrimalDualSolution search() throws java.lang.Exception
java.lang.Exception - when an error occurs during the searchpublic java.lang.Boolean step()
IterativeMethodstep in interface IterativeMethod<PrimalDualSolution>