MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Private Types | Private Attributes | List of all members
ConstrainedOptPack::QPSolverRelaxedQPKWIK Class Reference

Solves Quadratic Programming (QP) problem using the primal-dual active-set solver QPKWIK. More...

#include <ConstrainedOptPack_QPSolverRelaxedQPKWIK.hpp>

Inheritance diagram for ConstrainedOptPack::QPSolverRelaxedQPKWIK:
Inheritance graph
[legend]

Private Types

typedef FortranTypes::f_int f_int
 
typedef std::vector< f_intIBND_t
 
typedef std::vector< f_intIACTSTORE_t
 
typedef std::vector< f_intIACT_t
 
typedef std::vector< f_intISTATE_t
 

Private Attributes

QPSolverStats qp_stats_
 
IBND_t IBND_INV_
 
f_int N_
 
f_int M1_
 
f_int M2_
 
f_int M3_
 
DVector GRAD_
 
DMatrix UINV_AUG_
 
f_int LDUINV_AUG_
 
IBND_t IBND_
 
DVector BL_
 
DVector BU_
 
DMatrix A_
 
f_int LDA_
 
DVector YPY_
 
f_int IYPY_
 
f_int WARM_
 
value_type NUMPARAM_ [3]
 
f_int MAX_ITER_
 
DVector X_
 
f_int NACTSTORE_
 
IACTSTORE_t IACTSTORE_
 
f_int INF_
 
f_int NACT_
 
IACT_t IACT_
 
DVector UR_
 
value_type EXTRA_
 
f_int ITER_
 
f_int NUM_ADDS_
 
f_int NUM_DROPS_
 
ISTATE_t ISTATE_
 
f_int LRW_
 
DVector RW_
 

Initialization

 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. More...
 
 STANDARD_MEMBER_COMPOSITION_MEMBERS (value_type, infinite_bound)
 Set the value of an infinite bound. More...
 
 QPSolverRelaxedQPKWIK (value_type max_qp_iter_frac=10.0, value_type infinite_bound=1e+20)
 
 ~QPSolverRelaxedQPKWIK ()
 

Overridden from QPSolverRelaxed

QPSolverStats get_qp_stats () const
 
void release_memory ()
 
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)
 

Detailed Description

Solves Quadratic Programming (QP) problem using the primal-dual active-set solver QPKWIK.

In this implementation it is required that G support the {MatrixExtractInvCholFactor} interface and is therefore quite restrictive on the likes of QPs it can solve.

Definition at line 61 of file ConstrainedOptPack_QPSolverRelaxedQPKWIK.hpp.

Member Typedef Documentation

typedef FortranTypes::f_int ConstrainedOptPack::QPSolverRelaxedQPKWIK::f_int
private

Constructor & Destructor Documentation

ConstrainedOptPack::QPSolverRelaxedQPKWIK::QPSolverRelaxedQPKWIK ( value_type  max_qp_iter_frac = 10.0,
value_type  infinite_bound = 1e+20 
)

ConstrainedOptPack::QPSolverRelaxedQPKWIK::~QPSolverRelaxedQPKWIK ( )

Member Function Documentation

ConstrainedOptPack::QPSolverRelaxedQPKWIK::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.

ConstrainedOptPack::QPSolverRelaxedQPKWIK::STANDARD_MEMBER_COMPOSITION_MEMBERS ( value_type  ,
infinite_bound   
)

Set the value of an infinite bound.

QPSolverStats ConstrainedOptPack::QPSolverRelaxedQPKWIK::get_qp_stats ( ) const
virtual
void ConstrainedOptPack::QPSolverRelaxedQPKWIK::release_memory ( )
virtual
QPSolverStats::ESolutionType ConstrainedOptPack::QPSolverRelaxedQPKWIK::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 
)
protectedvirtual

Member Data Documentation

QPSolverStats ConstrainedOptPack::QPSolverRelaxedQPKWIK::qp_stats_
private
IBND_t ConstrainedOptPack::QPSolverRelaxedQPKWIK::IBND_INV_
private
f_int ConstrainedOptPack::QPSolverRelaxedQPKWIK::N_
private
f_int ConstrainedOptPack::QPSolverRelaxedQPKWIK::M1_
private
f_int ConstrainedOptPack::QPSolverRelaxedQPKWIK::M2_
private
f_int ConstrainedOptPack::QPSolverRelaxedQPKWIK::M3_
private
DVector ConstrainedOptPack::QPSolverRelaxedQPKWIK::GRAD_
private
DMatrix ConstrainedOptPack::QPSolverRelaxedQPKWIK::UINV_AUG_
private
f_int ConstrainedOptPack::QPSolverRelaxedQPKWIK::LDUINV_AUG_
private
IBND_t ConstrainedOptPack::QPSolverRelaxedQPKWIK::IBND_
private
DVector ConstrainedOptPack::QPSolverRelaxedQPKWIK::BL_
private
DVector ConstrainedOptPack::QPSolverRelaxedQPKWIK::BU_
private
DMatrix ConstrainedOptPack::QPSolverRelaxedQPKWIK::A_
private
f_int ConstrainedOptPack::QPSolverRelaxedQPKWIK::LDA_
private
DVector ConstrainedOptPack::QPSolverRelaxedQPKWIK::YPY_
private
f_int ConstrainedOptPack::QPSolverRelaxedQPKWIK::IYPY_
private
f_int ConstrainedOptPack::QPSolverRelaxedQPKWIK::WARM_
private
value_type ConstrainedOptPack::QPSolverRelaxedQPKWIK::NUMPARAM_[3]
private
f_int ConstrainedOptPack::QPSolverRelaxedQPKWIK::MAX_ITER_
private
DVector ConstrainedOptPack::QPSolverRelaxedQPKWIK::X_
private
f_int ConstrainedOptPack::QPSolverRelaxedQPKWIK::NACTSTORE_
private
IACTSTORE_t ConstrainedOptPack::QPSolverRelaxedQPKWIK::IACTSTORE_
private
f_int ConstrainedOptPack::QPSolverRelaxedQPKWIK::INF_
private
f_int ConstrainedOptPack::QPSolverRelaxedQPKWIK::NACT_
private
IACT_t ConstrainedOptPack::QPSolverRelaxedQPKWIK::IACT_
private
DVector ConstrainedOptPack::QPSolverRelaxedQPKWIK::UR_
private
value_type ConstrainedOptPack::QPSolverRelaxedQPKWIK::EXTRA_
private
f_int ConstrainedOptPack::QPSolverRelaxedQPKWIK::ITER_
private
f_int ConstrainedOptPack::QPSolverRelaxedQPKWIK::NUM_ADDS_
private
f_int ConstrainedOptPack::QPSolverRelaxedQPKWIK::NUM_DROPS_
private
ISTATE_t ConstrainedOptPack::QPSolverRelaxedQPKWIK::ISTATE_
private
f_int ConstrainedOptPack::QPSolverRelaxedQPKWIK::LRW_
private
DVector ConstrainedOptPack::QPSolverRelaxedQPKWIK::RW_
private

The documentation for this class was generated from the following file: