MoochoPack : Framework for Large-Scale Optimization Algorithms Version of the Day
Public Types | Public Member Functions
MoochoPack::FeasibilityStepReducedStd_Strategy Class Reference

Implements the feasibility step computation for reduced space SQP. More...

#include <MoochoPack_FeasibilityStepReducedStd_Strategy.hpp>

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

List of all members.

Public Types

enum  EQPObjective { OBJ_MIN_FULL_STEP, OBJ_MIN_NULL_SPACE_STEP, OBJ_RSQP }
  More...
enum  EQPTesting { QP_TEST_DEFAULT, QP_TEST, QP_NO_TEST }
  More...

Public Member Functions

 STANDARD_COMPOSITION_MEMBERS (QuasiRangeSpaceStep_Strategy, quasi_range_space_step)
 <<std comp>="">> members for the qp solver
 STANDARD_COMPOSITION_MEMBERS (QPSolverRelaxed, qp_solver)
 QP solver.
 STANDARD_COMPOSITION_MEMBERS (QPSolverRelaxedTester, qp_tester)
 Comparision object compatible with Gc.
 STANDARD_MEMBER_COMPOSITION_MEMBERS (EQPObjective, qp_objective)
 Set what is used for the QP objective.
 STANDARD_MEMBER_COMPOSITION_MEMBERS (EQPTesting, qp_testing)
 Set how and if the QP solution is tested.
 FeasibilityStepReducedStd_Strategy (const quasi_range_space_step_ptr_t &quasi_range_space_step, const qp_solver_ptr_t &qp_solver, const qp_tester_ptr_t &qp_tester, EQPObjective qp_objective=OBJ_MIN_NULL_SPACE_STEP, EQPTesting qp_testing=QP_TEST_DEFAULT)
 Construct and initialize.
bool compute_feasibility_step (std::ostream &out, EJournalOutputLevel olevel, NLPAlgo *algo, NLPAlgoState *s, const Vector &xo, const Vector &c_xo, VectorMutable *w)
 Computes a feasibility step by computing simple quasi-range and null space components.
void print_step (std::ostream &out, const std::string &leading_str) const
 

Detailed Description

Implements the feasibility step computation for reduced space SQP.

Definition at line 48 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.


Member Enumeration Documentation

Enumerator:
OBJ_MIN_FULL_STEP 

min 1/2 * (Y*wy + Z*wz)'*(Y*wy + Z*wz)

OBJ_MIN_NULL_SPACE_STEP 

min 1/2 * wz'*wz

OBJ_RSQP 

min qp_grad_k'*wz + 1/2 * wz'*rHL_k*wz

Definition at line 65 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

Enumerator:
QP_TEST_DEFAULT 

Decide based on olevel input to compute_feasibility_step(...)

QP_TEST 

Perform the tests.

QP_NO_TEST 

Don't perform the tests.

Definition at line 76 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.


Constructor & Destructor Documentation

MoochoPack::FeasibilityStepReducedStd_Strategy::FeasibilityStepReducedStd_Strategy ( const quasi_range_space_step_ptr_t &  quasi_range_space_step,
const qp_solver_ptr_t &  qp_solver,
const qp_tester_ptr_t &  qp_tester,
EQPObjective  qp_objective = OBJ_MIN_NULL_SPACE_STEP,
EQPTesting  qp_testing = QP_TEST_DEFAULT 
)

Construct and initialize.

Definition at line 37 of file MoochoPack_FeasibilityStepReducedStd_Strategy.cpp.


Member Function Documentation

MoochoPack::FeasibilityStepReducedStd_Strategy::STANDARD_COMPOSITION_MEMBERS ( QuasiRangeSpaceStep_Strategy  ,
quasi_range_space_step   
)

<<std comp>="">> members for the qp solver

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

QP solver.

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

Comparision object compatible with Gc.

MoochoPack::FeasibilityStepReducedStd_Strategy::STANDARD_MEMBER_COMPOSITION_MEMBERS ( EQPObjective  ,
qp_objective   
)

Set what is used for the QP objective.

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

Set how and if the QP solution is tested.

bool MoochoPack::FeasibilityStepReducedStd_Strategy::compute_feasibility_step ( std::ostream &  out,
EJournalOutputLevel  olevel,
NLPAlgo algo,
NLPAlgoState s,
const Vector xo,
const Vector c_xo,
VectorMutable w 
) [virtual]

Computes a feasibility step by computing simple quasi-range and null space components.

ToDo: Finish documentation!

Implements MoochoPack::FeasibilityStep_Strategy.

Definition at line 54 of file MoochoPack_FeasibilityStepReducedStd_Strategy.cpp.

void MoochoPack::FeasibilityStepReducedStd_Strategy::print_step ( std::ostream &  out,
const std::string &  leading_str 
) const [virtual]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends