public class PrimalDualInteriorPointMinimizer.Solution extends Object implements IterativeSolution<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()
Searches 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)
Searches for a solution that optimizes the objective function from the given starting
point.
|
void |
setInitials(PrimalDualSolution... initials)
Supply the starting points for the search.
|
Boolean |
step()
Do the next iteration.
|
public double minimum()
minimum
in interface MinimizationSolution<PrimalDualSolution>
public PrimalDualSolution minimizer()
MinimizationSolution
minimizer
in interface MinimizationSolution<PrimalDualSolution>
public void setInitials(PrimalDualSolution... initials)
IterativeMethod
setInitials
in interface IterativeMethod<PrimalDualSolution>
initials
- the initial guessespublic PrimalDualSolution search(PrimalDualSolution... initials) throws Exception
IterativeMethod
#setInitials(S...)
and then
iteratively IterativeMethod.step()
.
It implements a default convergence criterion.search
in interface IterativeMethod<PrimalDualSolution>
initials
- the initial guessesException
- when an error occurs during the searchpublic PrimalDualSolution search(PrimalDualSolution initial) throws Exception
initial
- an initial guessException
- when an error occurs during the searchpublic PrimalDualSolution search() throws Exception
Exception
- when an error occurs during the searchpublic Boolean step()
IterativeMethod
step
in interface IterativeMethod<PrimalDualSolution>
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.