42 #ifndef QP_SOLVER_RELAXED_TESTER_H
43 #define QP_SOLVER_RELAXED_TESTER_H
48 namespace ConstrainedOptPack {
229 ,std::ostream*
out,
bool print_all_warnings,
bool print_vectors
230 ,
const Vector& g,
const MatrixSymOp& G
232 ,
const Vector& dL,
const Vector& dU
234 ,
const Vector& eL,
const Vector& eU
239 ,
const Vector* mu,
const Vector* Ed
240 ,
const Vector* lambda,
const Vector* Fd
248 ,std::ostream*
out,
bool print_all_warnings,
bool print_vectors
249 ,
const Vector& g,
const MatrixSymOp& G
251 ,
const Vector& dL,
const Vector& dU
253 ,
const Vector& eL,
const Vector& eU
257 ,
const Vector* mu,
const Vector* Ed
265 ,std::ostream*
out,
bool print_all_warnings,
bool print_vectors
266 ,
const Vector& g,
const MatrixSymOp& G
268 ,
const Vector& dL,
const Vector& dU
273 ,
const Vector* lambda,
const Vector* Fd
283 ,std::ostream*
out,
bool print_all_warnings,
bool print_vectors
284 ,
const Vector& g,
const MatrixSymOp& G
285 ,
const Vector& dL,
const Vector& dU
298 ,std::ostream*
out,
bool print_all_warnings,
bool print_vectors
299 ,
const Vector& g,
const MatrixSymOp& G
301 ,
const Vector* dL,
const Vector* dU
303 ,
const Vector* eL,
const Vector* eU
308 ,
const Vector* mu,
const Vector* Ed
309 ,
const Vector* lambda,
const Vector* Fd
322 ,std::ostream*
out,
bool print_all_warnings,
bool print_vectors
323 ,
const Vector& g,
const MatrixSymOp& G
325 ,
const Vector* dL,
const Vector* dU
327 ,
const Vector* eL,
const Vector* eU
332 ,
const Vector* mu,
const Vector* Ed
333 ,
const Vector* lambda,
const Vector* Fd
340 #endif // QP_SOLVER_RELAXED_TESTER_H
Tests the optimality conditions of the output from a QPSolverRelaxed object.
virtual bool imp_check_optimality_conditions(QPSolverStats::ESolutionType solution_type, const value_type infinite_bound, std::ostream *out, bool print_all_warnings, bool print_vectors, 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, const value_type *obj_d, const value_type *eta, const Vector *d, const Vector *nu, const Vector *mu, const Vector *Ed, const Vector *lambda, const Vector *Fd)
Subclasses are to override this to implement the testing code.
STANDARD_MEMBER_COMPOSITION_MEMBERS(value_type, opt_warning_tol)
virtual ~QPSolverRelaxedTester()
virtual bool check_optimality_conditions(QPSolverStats::ESolutionType solution_type, const value_type infinite_bound, std::ostream *out, bool print_all_warnings, bool print_vectors, 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, const value_type *obj_d, const value_type *eta, const Vector *d, const Vector *nu, const Vector *mu, const Vector *Ed, const Vector *lambda, const Vector *Fd)
Check the optimality conditions for the solved (or partially solved) QP.
AbstractLinAlgPack::value_type value_type
QPSolverRelaxedTester(value_type opt_warning_tol=1e-10, value_type opt_error_tol=1e-5, value_type feas_warning_tol=1e-10, value_type feas_error_tol=1e-5, value_type comp_warning_tol=1e-10, value_type comp_error_tol=1e-5)
ESolutionType
Enumeration for the type of point returned from solve_qp(...).