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

Solves the reduced QP subproblem with bounds and/or general inequalities. More...

#include <MoochoPack_TangentialStepWithInequStd_Step.hpp>

Inheritance diagram for MoochoPack::TangentialStepWithInequStd_Step:
Inheritance graph
[legend]

Public Types

enum  EQPTesting { QP_TEST_DEFAULT, QP_TEST, QP_NO_TEST }
 
- Public Types inherited from IterationPack::AlgorithmStep
typedef size_t poss_type
 

Public Member Functions

 STANDARD_COMPOSITION_MEMBERS (QPSolverRelaxed, qp_solver)
 QP solver. More...
 
 STANDARD_COMPOSITION_MEMBERS (QPSolverRelaxedTester, qp_tester)
 QP solver tester. More...
 
 STANDARD_MEMBER_COMPOSITION_MEMBERS (value_type, warm_start_frac)
 Set the ratio of the number of inequality constraints in the active-set of the last two calls before a warm start is attempted. More...
 
 STANDARD_MEMBER_COMPOSITION_MEMBERS (EQPTesting, qp_testing)
 Set how and if the QP solution is tested. More...
 
 STANDARD_MEMBER_COMPOSITION_MEMBERS (bool, primal_feasible_point_error)
 Determine if a QPFailure exception is thrown if the QP solver returns PRIMAL_FEASIBLE_POINT. More...
 
 STANDARD_MEMBER_COMPOSITION_MEMBERS (bool, dual_feasible_point_error)
 Determine if a QPFailure exception is thrown if the QP solver returns DUAl_FEASIBLE_POINT. More...
 
 TangentialStepWithInequStd_Step (const qp_solver_ptr_t &qp_solver, const qp_tester_ptr_t &qp_tester, value_type warm_start_frac=0.8, EQPTesting qp_testing=QP_TEST_DEFAULT, bool primal_feasible_point_error=true, bool dual_feasible_point_error=true)
 Construct and initialize. More...
 
- Public Member Functions inherited from IterationPack::AlgorithmStep
virtual ~AlgorithmStep ()
 
virtual void initialize_step (Algorithm &algo, poss_type step_poss, EDoStepType type, poss_type assoc_step_poss)
 Called by Algorithm just before the algorithm is run. More...
 
virtual void inform_updated (Algorithm &algo, poss_type step_poss, EDoStepType type, poss_type assoc_step_poss)
 Called by Algorithm to inform when a runtime configuration change is finihed. More...
 
virtual void finalize_step (Algorithm &algo, poss_type step_poss, EDoStepType type, poss_type assoc_step_poss)
 Called by Algorithm just after an algorithm is terminiated. More...
 

Private Member Functions

 TangentialStepWithInequStd_Step ()
 

Private Attributes

IterationPack::CastIQMember
< VectorMutable > 
dl_iq_
 
IterationPack::CastIQMember
< VectorMutable > 
du_iq_
 
qp_solver_stats_iq_member qp_solver_stats_
 
act_set_stats_iq_member act_set_stats_
 

Overridden from AlgorithmStep

bool do_step (Algorithm &algo, poss_type step_poss, IterationPack::EDoStepType type, poss_type assoc_step_poss)
 
void print_step (const Algorithm &algo, poss_type step_poss, IterationPack::EDoStepType type, poss_type assoc_step_poss, std::ostream &out, const std::string &leading_str) const
 

Detailed Description

Solves the reduced QP subproblem with bounds and/or general inequalities.

ToDo: Finish documentation.

Definition at line 63 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

Member Enumeration Documentation

Enumerator
QP_TEST_DEFAULT 
QP_TEST 
QP_NO_TEST 

Definition at line 80 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

Constructor & Destructor Documentation

MoochoPack::TangentialStepWithInequStd_Step::TangentialStepWithInequStd_Step ( const qp_solver_ptr_t &  qp_solver,
const qp_tester_ptr_t &  qp_tester,
value_type  warm_start_frac = 0.8,
EQPTesting  qp_testing = QP_TEST_DEFAULT,
bool  primal_feasible_point_error = true,
bool  dual_feasible_point_error = true 
)

Construct and initialize.

Definition at line 69 of file MoochoPack_TangentialStepWithInequStd_Step.cpp.

MoochoPack::TangentialStepWithInequStd_Step::TangentialStepWithInequStd_Step ( )
private

Member Function Documentation

MoochoPack::TangentialStepWithInequStd_Step::STANDARD_COMPOSITION_MEMBERS ( QPSolverRelaxed  ,
qp_solver   
)

QP solver.

MoochoPack::TangentialStepWithInequStd_Step::STANDARD_COMPOSITION_MEMBERS ( QPSolverRelaxedTester  ,
qp_tester   
)

QP solver tester.

MoochoPack::TangentialStepWithInequStd_Step::STANDARD_MEMBER_COMPOSITION_MEMBERS ( value_type  ,
warm_start_frac   
)

Set the ratio of the number of inequality constraints in the active-set of the last two calls before a warm start is attempted.

MoochoPack::TangentialStepWithInequStd_Step::STANDARD_MEMBER_COMPOSITION_MEMBERS ( EQPTesting  ,
qp_testing   
)

Set how and if the QP solution is tested.

ToDo: Finish documentation.

MoochoPack::TangentialStepWithInequStd_Step::STANDARD_MEMBER_COMPOSITION_MEMBERS ( bool  ,
primal_feasible_point_error   
)

Determine if a QPFailure exception is thrown if the QP solver returns PRIMAL_FEASIBLE_POINT.

MoochoPack::TangentialStepWithInequStd_Step::STANDARD_MEMBER_COMPOSITION_MEMBERS ( bool  ,
dual_feasible_point_error   
)

Determine if a QPFailure exception is thrown if the QP solver returns DUAl_FEASIBLE_POINT.

bool MoochoPack::TangentialStepWithInequStd_Step::do_step ( Algorithm algo,
poss_type  step_poss,
IterationPack::EDoStepType  type,
poss_type  assoc_step_poss 
)
virtual
void MoochoPack::TangentialStepWithInequStd_Step::print_step ( const Algorithm algo,
poss_type  step_poss,
IterationPack::EDoStepType  type,
poss_type  assoc_step_poss,
std::ostream &  out,
const std::string &  leading_str 
) const
virtual

Reimplemented from IterationPack::AlgorithmStep.

Definition at line 651 of file MoochoPack_TangentialStepWithInequStd_Step.cpp.

Member Data Documentation

IterationPack::CastIQMember<VectorMutable> MoochoPack::TangentialStepWithInequStd_Step::dl_iq_
private
IterationPack::CastIQMember<VectorMutable> MoochoPack::TangentialStepWithInequStd_Step::du_iq_
private
qp_solver_stats_iq_member MoochoPack::TangentialStepWithInequStd_Step::qp_solver_stats_
private
act_set_stats_iq_member MoochoPack::TangentialStepWithInequStd_Step::act_set_stats_
private

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