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:

[legend]
List of all members.

Public Types

typedef Teuchos::RefCountPtr<
QuasiRangeSpaceStep_Strategy
quasi_range_space_step_ptr_t
typedef ConstrainedOptPack::QPSolverRelaxedTester QPSolverRelaxedTester
typedef Teuchos::RefCountPtr<
QPSolverRelaxed > 
qp_solver_ptr_t
typedef Teuchos::RefCountPtr<
QPSolverRelaxedTester
qp_tester_ptr_t
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

void set_quasi_range_space_step (const Teuchos::RefCountPtr< QuasiRangeSpaceStep_Strategy > &quasi_range_space_step)
 <<std comp="">> members for the qp solver
Teuchos::RefCountPtr< QuasiRangeSpaceStep_Strategyget_quasi_range_space_step () const
QuasiRangeSpaceStep_Strategyquasi_range_space_step ()
const QuasiRangeSpaceStep_Strategyquasi_range_space_step () const
void set_qp_solver (const Teuchos::RefCountPtr< QPSolverRelaxed > &qp_solver)
 QP solver.
Teuchos::RefCountPtr< QPSolverRelaxed > get_qp_solver () const
QPSolverRelaxed & qp_solver ()
const QPSolverRelaxed & qp_solver () const
void set_qp_tester (const Teuchos::RefCountPtr< QPSolverRelaxedTester > &qp_tester)
 Comparision object compatible with Gc.
Teuchos::RefCountPtr< QPSolverRelaxedTesterget_qp_tester () const
QPSolverRelaxedTesterqp_tester ()
const QPSolverRelaxedTesterqp_tester () const
void qp_objective (const EQPObjective &qp_objective)
 Set what is used for the QP objective.
const EQPObjectiveqp_objective () const
void qp_testing (const EQPTesting &qp_testing)
 Set how and if the QP solution is tested.
const EQPTestingqp_testing () const
 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
 

Private Attributes

Teuchos::RefCountPtr< QuasiRangeSpaceStep_Strategyquasi_range_space_step_
Teuchos::RefCountPtr< QPSolverRelaxed > qp_solver_
Teuchos::RefCountPtr< QPSolverRelaxedTesterqp_tester_
EQPObjective qp_objective_
EQPTesting qp_testing_
IterationPack::CastIQMember<
VectorMutable > 
dl_iq_
IterationPack::CastIQMember<
VectorMutable > 
du_iq_
int current_k_
Teuchos::RefCountPtr< const
MatrixOp > 
Hess_ptr_
VectorSpace::vec_mut_ptr_t grad_store_
DMatrix Hess_store_

Detailed Description

Implements the feasibility step computation for reduced space SQP.

Definition at line 48 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.


Member Typedef Documentation

typedef Teuchos::RefCountPtr< QuasiRangeSpaceStep_Strategy > MoochoPack::FeasibilityStepReducedStd_Strategy::quasi_range_space_step_ptr_t
 

Definition at line 53 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

typedef ConstrainedOptPack::QPSolverRelaxedTester MoochoPack::FeasibilityStepReducedStd_Strategy::QPSolverRelaxedTester
 

Definition at line 56 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

typedef Teuchos::RefCountPtr< QPSolverRelaxed > MoochoPack::FeasibilityStepReducedStd_Strategy::qp_solver_ptr_t
 

Definition at line 59 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

typedef Teuchos::RefCountPtr< QPSolverRelaxedTester > MoochoPack::FeasibilityStepReducedStd_Strategy::qp_tester_ptr_t
 

Definition at line 62 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.


Member Enumeration Documentation

enum MoochoPack::FeasibilityStepReducedStd_Strategy::EQPObjective
 

Enumeration values:
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.

enum MoochoPack::FeasibilityStepReducedStd_Strategy::EQPTesting
 

Enumeration values:
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

void MoochoPack::FeasibilityStepReducedStd_Strategy::set_quasi_range_space_step const Teuchos::RefCountPtr< QuasiRangeSpaceStep_Strategy > &  quasi_range_space_step  )  [inline]
 

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

Definition at line 53 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

Teuchos::RefCountPtr< QuasiRangeSpaceStep_Strategy > MoochoPack::FeasibilityStepReducedStd_Strategy::get_quasi_range_space_step  )  const [inline]
 

Definition at line 53 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

QuasiRangeSpaceStep_Strategy& MoochoPack::FeasibilityStepReducedStd_Strategy::quasi_range_space_step  )  [inline]
 

Definition at line 53 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

const QuasiRangeSpaceStep_Strategy& MoochoPack::FeasibilityStepReducedStd_Strategy::quasi_range_space_step  )  const [inline]
 

Definition at line 53 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

void MoochoPack::FeasibilityStepReducedStd_Strategy::set_qp_solver const Teuchos::RefCountPtr< QPSolverRelaxed > &  qp_solver  )  [inline]
 

QP solver.

Definition at line 59 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

Teuchos::RefCountPtr< QPSolverRelaxed > MoochoPack::FeasibilityStepReducedStd_Strategy::get_qp_solver  )  const [inline]
 

Definition at line 59 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

QPSolverRelaxed& MoochoPack::FeasibilityStepReducedStd_Strategy::qp_solver  )  [inline]
 

Definition at line 59 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

const QPSolverRelaxed& MoochoPack::FeasibilityStepReducedStd_Strategy::qp_solver  )  const [inline]
 

Definition at line 59 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

void MoochoPack::FeasibilityStepReducedStd_Strategy::set_qp_tester const Teuchos::RefCountPtr< QPSolverRelaxedTester > &  qp_tester  )  [inline]
 

Comparision object compatible with Gc.

Definition at line 62 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

Teuchos::RefCountPtr< QPSolverRelaxedTester > MoochoPack::FeasibilityStepReducedStd_Strategy::get_qp_tester  )  const [inline]
 

Definition at line 62 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

QPSolverRelaxedTester& MoochoPack::FeasibilityStepReducedStd_Strategy::qp_tester  )  [inline]
 

Definition at line 62 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

const QPSolverRelaxedTester& MoochoPack::FeasibilityStepReducedStd_Strategy::qp_tester  )  const [inline]
 

Definition at line 62 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

void MoochoPack::FeasibilityStepReducedStd_Strategy::qp_objective const EQPObjective qp_objective  )  [inline]
 

Set what is used for the QP objective.

Definition at line 73 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

const EQPObjective& MoochoPack::FeasibilityStepReducedStd_Strategy::qp_objective  )  const [inline]
 

Definition at line 73 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

void MoochoPack::FeasibilityStepReducedStd_Strategy::qp_testing const EQPTesting qp_testing  )  [inline]
 

Set how and if the QP solution is tested.

Definition at line 84 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

const EQPTesting& MoochoPack::FeasibilityStepReducedStd_Strategy::qp_testing  )  const [inline]
 

Definition at line 84 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

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]
 

Implements MoochoPack::FeasibilityStep_Strategy.

Definition at line 494 of file MoochoPack_FeasibilityStepReducedStd_Strategy.cpp.


Member Data Documentation

Teuchos::RefCountPtr< QuasiRangeSpaceStep_Strategy > MoochoPack::FeasibilityStepReducedStd_Strategy::quasi_range_space_step_ [private]
 

Definition at line 53 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

Teuchos::RefCountPtr< QPSolverRelaxed > MoochoPack::FeasibilityStepReducedStd_Strategy::qp_solver_ [private]
 

Definition at line 59 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

Teuchos::RefCountPtr< QPSolverRelaxedTester > MoochoPack::FeasibilityStepReducedStd_Strategy::qp_tester_ [private]
 

Definition at line 62 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

EQPObjective MoochoPack::FeasibilityStepReducedStd_Strategy::qp_objective_ [private]
 

Definition at line 73 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

EQPTesting MoochoPack::FeasibilityStepReducedStd_Strategy::qp_testing_ [private]
 

Definition at line 84 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

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

Definition at line 113 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

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

Definition at line 114 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

int MoochoPack::FeasibilityStepReducedStd_Strategy::current_k_ [private]
 

Definition at line 115 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

Teuchos::RefCountPtr<const MatrixOp> MoochoPack::FeasibilityStepReducedStd_Strategy::Hess_ptr_ [private]
 

Definition at line 116 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

VectorSpace::vec_mut_ptr_t MoochoPack::FeasibilityStepReducedStd_Strategy::grad_store_ [private]
 

Definition at line 117 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.

DMatrix MoochoPack::FeasibilityStepReducedStd_Strategy::Hess_store_ [private]
 

Definition at line 118 of file MoochoPack_FeasibilityStepReducedStd_Strategy.hpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:36:20 2008 for MOOCHO (Single Doxygen Collection) by doxygen 1.3.9.1