42 #ifndef QP_SOLVER_RELAXED_QPKWIK_H
43 #define QP_SOLVER_RELAXED_QPKWIK_H
47 #include "ConstrainedOptPack_QPSolverRelaxed.hpp"
48 #include "DenseLinAlgPack_DVectorClass.hpp"
49 #include "DenseLinAlgPack_DMatrixClass.hpp"
53 namespace ConstrainedOptPack {
76 value_type max_qp_iter_frac = 10.0
77 ,value_type infinite_bound = 1e+20
103 ,
const Vector& g,
const MatrixSymOp& G
105 ,
const Vector* dL,
const Vector* dU
107 ,
const Vector* eL,
const Vector* eU
110 ,value_type* eta, VectorMutable* d
112 ,VectorMutable* mu, VectorMutable* Ed
113 ,VectorMutable* lambda, VectorMutable* Fd
124 typedef FortranTypes::f_int f_int;
126 typedef std::vector<f_int> IBND_t;
128 typedef std::vector<f_int> IACTSTORE_t;
130 typedef std::vector<f_int> IACT_t;
132 typedef std::vector<f_int> ISTATE_t;
175 value_type NUMPARAM_[3];
186 IACTSTORE_t IACTSTORE_;
223 #endif // QP_SOLVER_RELAXED_QPKWIK_H
Solves Quadratic Programming (QP) problem using the primal-dual active-set solver QPKWIK...
ERunTests
Enumeration for if to run internal tests or not.
Solves Quadratic Programs (QPs) of several different forms while allowing a relaxation of the constra...
QPSolverStats::ESolutionType imp_solve_qp(std::ostream *out, EOutputLevel olevel, ERunTests test_what, const Vector &g, const MatrixSymOp &G, value_type etaL, const Vector *dL, const Vector *dU, const MatrixOp *E, BLAS_Cpp::Transp trans_E, const Vector *b, const Vector *eL, const Vector *eU, const MatrixOp *F, BLAS_Cpp::Transp trans_F, const Vector *f, value_type *obj_d, value_type *eta, VectorMutable *d, VectorMutable *nu, VectorMutable *mu, VectorMutable *Ed, VectorMutable *lambda, VectorMutable *Fd)
STANDARD_MEMBER_COMPOSITION_MEMBERS(value_type, max_qp_iter_frac)
Set the maximum number of QP iterations as max_itr = max_qp_iter_frac * n.
QPSolverStats get_qp_stats() const
Class for storing statistics about a run of a (active set?) QP solver.
QPSolverRelaxedQPKWIK(value_type max_qp_iter_frac=10.0, value_type infinite_bound=1e+20)
EOutputLevel
Enumeration for the amount of output to create from solve_qp().
ESolutionType
Enumeration for the type of point returned from solve_qp(...).