public class QPPrimalActiveSetSolver extends java.lang.Object implements ConstrainedMinimizer<QPProblem,IterativeMinimizer<QPSolution>>
| Modifier and Type | Class and Description |
|---|---|
class |
QPPrimalActiveSetSolver.Solution
This is the solution to a Quadratic Programming problem using the Primal Active Set algorithm.
|
| Constructor and Description |
|---|
QPPrimalActiveSetSolver(double epsilon,
int maxIterations)
Construct a Primal Active Set minimizer to solve quadratic programming problems.
|
| Modifier and Type | Method and Description |
|---|---|
QPPrimalActiveSetSolver.Solution |
solve(QPProblem problem)
Solve an optimization problem, e.g.,
OptimProblem. |
public QPPrimalActiveSetSolver(double epsilon,
int maxIterations)
epsilon - a precision parameter: when a number |x| ≤ ε, it is considered 0maxIterations - the maximum number of iterations, e.g., Integer.MAX_VALUEpublic QPPrimalActiveSetSolver.Solution solve(QPProblem problem) throws java.lang.Exception
OptimizerOptimProblem.solve in interface Optimizer<QPProblem,IterativeMinimizer<QPSolution>>problem - an optimization problemjava.lang.Exception - when there is an error solving the problem