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]
List of all members.

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
 

Public Types

 QP_TEST_DEFAULT
 QP_TEST
 QP_NO_TEST
enum  EQPTesting { QP_TEST_DEFAULT, QP_TEST, QP_NO_TEST }
  More...

Public Member Functions

 STANDARD_COMPOSITION_MEMBERS (QPSolverRelaxed, qp_solver)
 QP solver.
 STANDARD_COMPOSITION_MEMBERS (QPSolverRelaxedTester, qp_tester)
 QP solver tester.
 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.
 STANDARD_MEMBER_COMPOSITION_MEMBERS (EQPTesting, qp_testing)
 Set how and if the QP solution is tested.
 STANDARD_MEMBER_COMPOSITION_MEMBERS (bool, primal_feasible_point_error)
 Determine if a QPFailure exception is thrown if the QP solver returns PRIMAL_FEASIBLE_POINT.
 STANDARD_MEMBER_COMPOSITION_MEMBERS (bool, dual_feasible_point_error)
 Determine if a QPFailure exception is thrown if the QP solver returns DUAl_FEASIBLE_POINT.
 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.

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_

Detailed Description

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

ToDo: Finish documentation.

Definition at line 50 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.


Member Enumeration Documentation

enum MoochoPack::TangentialStepWithInequStd_Step::EQPTesting

Enumerator:
QP_TEST_DEFAULT 
QP_TEST 
QP_NO_TEST 

Definition at line 67 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 56 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 
)

Definition at line 74 of file MoochoPack_TangentialStepWithInequStd_Step.cpp.

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

Definition at line 638 of file MoochoPack_TangentialStepWithInequStd_Step.cpp.


Member Data Documentation

IterationPack::CastIQMember<VectorMutable> MoochoPack::TangentialStepWithInequStd_Step::dl_iq_ [private]

Definition at line 106 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

IterationPack::CastIQMember<VectorMutable> MoochoPack::TangentialStepWithInequStd_Step::du_iq_ [private]

Definition at line 107 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

qp_solver_stats_iq_member MoochoPack::TangentialStepWithInequStd_Step::qp_solver_stats_ [private]

Definition at line 108 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

act_set_stats_iq_member MoochoPack::TangentialStepWithInequStd_Step::act_set_stats_ [private]

Definition at line 109 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.


The documentation for this class was generated from the following files:
Generated on Wed May 12 21:57:28 2010 for MOOCHO (Single Doxygen Collection) by  doxygen 1.4.7