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:

[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

typedef Teuchos::RefCountPtr<
QPSolverRelaxed > 
qp_solver_ptr_t
typedef Teuchos::RefCountPtr<
QPSolverRelaxedTester > 
qp_tester_ptr_t
enum  EQPTesting { QP_TEST_DEFAULT, QP_TEST, QP_NO_TEST }
  More...

Public Member Functions

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)
 QP solver tester.
Teuchos::RefCountPtr< QPSolverRelaxedTester > get_qp_tester () const
QPSolverRelaxedTester & qp_tester ()
const QPSolverRelaxedTester & qp_tester () const
void warm_start_frac (const 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.
const value_typewarm_start_frac () const
void qp_testing (const EQPTesting &qp_testing)
 Set how and if the QP solution is tested.
const EQPTestingqp_testing () const
void primal_feasible_point_error (const bool &primal_feasible_point_error)
 Determine if a QPFailure exception is thrown if the QP solver returns PRIMAL_FEASIBLE_POINT.
const bool & primal_feasible_point_error () const
void dual_feasible_point_error (const bool &dual_feasible_point_error)
 Determine if a QPFailure exception is thrown if the QP solver returns DUAl_FEASIBLE_POINT.
const bool & dual_feasible_point_error () const
 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

Teuchos::RefCountPtr< QPSolverRelaxed > qp_solver_
Teuchos::RefCountPtr< QPSolverRelaxedTester > qp_tester_
value_type warm_start_frac_
EQPTesting qp_testing_
bool primal_feasible_point_error_
bool dual_feasible_point_error_
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 Typedef Documentation

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

Definition at line 56 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

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

Definition at line 59 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.


Member Enumeration Documentation

enum MoochoPack::TangentialStepWithInequStd_Step::EQPTesting
 

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

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

QP solver.

Definition at line 56 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

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

Definition at line 56 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

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

Definition at line 56 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

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

Definition at line 56 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

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

QP solver tester.

Definition at line 59 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

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

Definition at line 59 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

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

Definition at line 59 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

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

Definition at line 59 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

void MoochoPack::TangentialStepWithInequStd_Step::warm_start_frac const value_type warm_start_frac  )  [inline]
 

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

Definition at line 64 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

const value_type& MoochoPack::TangentialStepWithInequStd_Step::warm_start_frac  )  const [inline]
 

Definition at line 64 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

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

Set how and if the QP solution is tested.

ToDo: Finish documentation.

Definition at line 73 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

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

Definition at line 73 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

void MoochoPack::TangentialStepWithInequStd_Step::primal_feasible_point_error const bool &  primal_feasible_point_error  )  [inline]
 

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

Definition at line 78 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

const bool& MoochoPack::TangentialStepWithInequStd_Step::primal_feasible_point_error  )  const [inline]
 

Definition at line 78 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

void MoochoPack::TangentialStepWithInequStd_Step::dual_feasible_point_error const bool &  dual_feasible_point_error  )  [inline]
 

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

Definition at line 83 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

const bool& MoochoPack::TangentialStepWithInequStd_Step::dual_feasible_point_error  )  const [inline]
 

Definition at line 83 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

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 598 of file MoochoPack_TangentialStepWithInequStd_Step.cpp.


Member Data Documentation

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

Definition at line 56 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

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

Definition at line 59 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

value_type MoochoPack::TangentialStepWithInequStd_Step::warm_start_frac_ [private]
 

Definition at line 64 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

EQPTesting MoochoPack::TangentialStepWithInequStd_Step::qp_testing_ [private]
 

Definition at line 73 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

bool MoochoPack::TangentialStepWithInequStd_Step::primal_feasible_point_error_ [private]
 

Definition at line 78 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

bool MoochoPack::TangentialStepWithInequStd_Step::dual_feasible_point_error_ [private]
 

Definition at line 83 of file MoochoPack_TangentialStepWithInequStd_Step.hpp.

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 Thu Sep 18 12:36:23 2008 for MOOCHO (Single Doxygen Collection) by doxygen 1.3.9.1