MOOCHO (Single Doxygen Collection)
Version of the Day
|
Updates the penalty parameter for a merit function as: mu_k = max( mu_km1, min_mu ). More...
#include <MoochoPack_MeritFunc_PenaltyParamUpdateGuts_AddedStep.hpp>
Public Member Functions | |
MeritFunc_PenaltyParamUpdateGuts_AddedStep (value_type small_mu, value_type mult_factor, value_type kkt_near_sol) | |
Public Member Functions inherited from MoochoPack::MeritFunc_PenaltyParamUpdate_AddedStep | |
virtual void | min_mu_ratio (value_type min_mu_ratio) |
Set the ratio of min(mu(i))/max(mu(i)) >= min_mu_ratio. More... | |
virtual value_type | min_mu_ratio () const |
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... | |
Private Attributes | |
bool | near_solution_ |
value_type | small_mu_ |
value_type | mult_factor_ |
value_type | kkt_near_sol_ |
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 |
Overridden from MeritFunc_PenaltyParamUpdate_AddedStep | |
void | small_mu (value_type small_mu) |
value_type | small_mu () const |
void | mult_factor (value_type mult_factor) |
value_type | mult_factor () const |
void | kkt_near_sol (value_type kkt_near_sol) |
value_type | kkt_near_sol () const |
Pure virtual functions to be overridden by subclasses | |
virtual bool | min_mu (NLPAlgoState &s, value_type *min_mu) const =0 |
Override to determine the mininum value of mu the penalty parameter can take on. More... | |
virtual void | print_min_mu_step (std::ostream &out, const std::string &leading_str) const =0 |
Override to print how min_mu calculated. More... | |
Additional Inherited Members | |
Public Types inherited from IterationPack::AlgorithmStep | |
typedef size_t | poss_type |
Updates the penalty parameter for a merit function as: mu_k = max( mu_km1, min_mu ).
This class assumes the merit function iteration quantity supports the interfaces MeritFuncPenaltyParam
and MeritFuncNLPDirecDeriv
.
min_mu is computed by subclasses.
Definition at line 57 of file MoochoPack_MeritFunc_PenaltyParamUpdateGuts_AddedStep.hpp.
MoochoPack::MeritFunc_PenaltyParamUpdateGuts_AddedStep::MeritFunc_PenaltyParamUpdateGuts_AddedStep | ( | value_type | small_mu, |
value_type | mult_factor, | ||
value_type | kkt_near_sol | ||
) |
Definition at line 62 of file MoochoPack_MeritFunc_PenaltyParamUpdateGuts_AddedStep.cpp.
|
virtual |
Implements IterationPack::AlgorithmStep.
Definition at line 73 of file MoochoPack_MeritFunc_PenaltyParamUpdateGuts_AddedStep.cpp.
|
virtual |
Reimplemented from IterationPack::AlgorithmStep.
Definition at line 184 of file MoochoPack_MeritFunc_PenaltyParamUpdateGuts_AddedStep.cpp.
|
virtual |
Implements MoochoPack::MeritFunc_PenaltyParamUpdate_AddedStep.
Definition at line 232 of file MoochoPack_MeritFunc_PenaltyParamUpdateGuts_AddedStep.cpp.
|
virtual |
Implements MoochoPack::MeritFunc_PenaltyParamUpdate_AddedStep.
Definition at line 237 of file MoochoPack_MeritFunc_PenaltyParamUpdateGuts_AddedStep.cpp.
|
virtual |
Implements MoochoPack::MeritFunc_PenaltyParamUpdate_AddedStep.
Definition at line 242 of file MoochoPack_MeritFunc_PenaltyParamUpdateGuts_AddedStep.cpp.
|
virtual |
Implements MoochoPack::MeritFunc_PenaltyParamUpdate_AddedStep.
Definition at line 247 of file MoochoPack_MeritFunc_PenaltyParamUpdateGuts_AddedStep.cpp.
|
virtual |
Implements MoochoPack::MeritFunc_PenaltyParamUpdate_AddedStep.
Definition at line 252 of file MoochoPack_MeritFunc_PenaltyParamUpdateGuts_AddedStep.cpp.
|
virtual |
Implements MoochoPack::MeritFunc_PenaltyParamUpdate_AddedStep.
Definition at line 257 of file MoochoPack_MeritFunc_PenaltyParamUpdateGuts_AddedStep.cpp.
|
protectedpure virtual |
Override to determine the mininum value of mu the penalty parameter can take on.
s | [in] The rSQP state object to get at useful information. |
min_mu | [out] If min_mu(...) returns true, then this is the mininum value mu can take on and still have descent in the merit function. |
Implemented in MoochoPack::MeritFunc_PenaltyParamUpdateWithMult_AddedStep, and MoochoPack::MeritFunc_PenaltyParamUpdateMultFree_AddedStep.
|
protectedpure virtual |
Override to print how min_mu calculated.
Implemented in MoochoPack::MeritFunc_PenaltyParamUpdateWithMult_AddedStep, and MoochoPack::MeritFunc_PenaltyParamUpdateMultFree_AddedStep.
|
private |
Definition at line 126 of file MoochoPack_MeritFunc_PenaltyParamUpdateGuts_AddedStep.hpp.
|
private |
Definition at line 127 of file MoochoPack_MeritFunc_PenaltyParamUpdateGuts_AddedStep.hpp.
|
private |
Definition at line 128 of file MoochoPack_MeritFunc_PenaltyParamUpdateGuts_AddedStep.hpp.
|
private |
Definition at line 129 of file MoochoPack_MeritFunc_PenaltyParamUpdateGuts_AddedStep.hpp.