MOOCHO (Single Doxygen Collection)
Version of the Day
|
Solves the unconstrained QP subproblem: min qp_grad' * pz + (1/2) * pz' * rHL * pz
.
More...
#include <MoochoPack_TangentialStepWithoutBounds_Step.hpp>
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 |
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.
MoochoPack::TangentialStepWithoutBounds_Step::TangentialStepWithoutBounds_Step | ( | ) |
Definition at line 69 of file MoochoPack_TangentialStepWithoutBounds_Step.cpp.
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!
|
virtual |
Implements IterationPack::AlgorithmStep.
Definition at line 75 of file MoochoPack_TangentialStepWithoutBounds_Step.cpp.
|
virtual |
Reimplemented from IterationPack::AlgorithmStep.
Definition at line 193 of file MoochoPack_TangentialStepWithoutBounds_Step.cpp.