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

Solves the unconstrained QP subproblem: min qp_grad' * pz + (1/2) * pz' * rHL * pz. More...

#include <MoochoPack_TangentialStepWithoutBounds_Step.hpp>

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

Public Member Functions

 STANDARD_MEMBER_COMPOSITION_MEMBERS (value_type, max_pz_norm)
 Set the maximum size for ||pz|| dampening. More...
 
 STANDARD_MEMBER_COMPOSITION_MEMBERS (int, num_pz_damp_iters)
 Set the number of iterations to dampen pz for. More...
 
 TangentialStepWithoutBounds_Step ()
 
- 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...
 

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
 

Additional Inherited Members

- Public Types inherited from IterationPack::AlgorithmStep
typedef size_t poss_type
 

Detailed Description

Solves the unconstrained QP subproblem: min qp_grad' * pz + (1/2) * pz' * rHL * pz.

The solution to this system is just:
pz = inv(rHL) *qp_grad.

If use_qp_correc is false then:
qp_grad = rGf else
qp_grad = rGf + zeta * ZtHLYpy.

Then Zpz = Z * pz

Definition at line 63 of file MoochoPack_TangentialStepWithoutBounds_Step.hpp.

Constructor & Destructor Documentation

MoochoPack::TangentialStepWithoutBounds_Step::TangentialStepWithoutBounds_Step ( )

Member Function Documentation

MoochoPack::TangentialStepWithoutBounds_Step::STANDARD_MEMBER_COMPOSITION_MEMBERS ( value_type  ,
max_pz_norm   
)

Set the maximum size for ||pz|| dampening.

A value of max_pz_norm <= 0.0 means not to dampen pz!

MoochoPack::TangentialStepWithoutBounds_Step::STANDARD_MEMBER_COMPOSITION_MEMBERS ( int  ,
num_pz_damp_iters   
)

Set the number of iterations to dampen pz for.

A value of num_pz_damp_iters <= 0 means not to dampen pz for any iterations!

bool MoochoPack::TangentialStepWithoutBounds_Step::do_step ( Algorithm algo,
poss_type  step_poss,
IterationPack::EDoStepType  type,
poss_type  assoc_step_poss 
)
virtual
void MoochoPack::TangentialStepWithoutBounds_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 193 of file MoochoPack_TangentialStepWithoutBounds_Step.cpp.


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