#include <IpAdaptiveMuUpdate.hpp>
Public Member Functions | |
virtual bool | InitializeImpl (const OptionsList &options, const std::string &prefix) |
Initialize method - overloaded from AlgorithmStrategyObject. | |
virtual bool | UpdateBarrierParameter () |
Method for determining the barrier parameter for the next iteration. | |
Constructors/Destructors | |
AdaptiveMuUpdate (const SmartPtr< LineSearch > &linesearch, const SmartPtr< MuOracle > &free_mu_oracle, const SmartPtr< MuOracle > &fix_mu_oracle=NULL) | |
Constructor. | |
virtual | ~AdaptiveMuUpdate () |
Default destructor. | |
Static Public Member Functions | |
static void | RegisterOptions (SmartPtr< RegisteredOptions > roptions) |
Methods for IpoptType. |
AdaptiveMuUpdate | ( | const SmartPtr< LineSearch > & | linesearch, | |
const SmartPtr< MuOracle > & | free_mu_oracle, | |||
const SmartPtr< MuOracle > & | fix_mu_oracle = NULL | |||
) |
~AdaptiveMuUpdate | ( | ) | [virtual] |
Default destructor.
bool InitializeImpl | ( | const OptionsList & | options, | |
const std::string & | prefix | |||
) | [virtual] |
Initialize method - overloaded from AlgorithmStrategyObject.
Implements MuUpdate.
References Filter::Clear(), OptionsList::GetBoolValue(), OptionsList::GetEnumValue(), OptionsList::GetIntegerValue(), OptionsList::GetNumericValue(), AlgorithmStrategyObject::IpCq(), AlgorithmStrategyObject::IpData(), AlgorithmStrategyObject::IpNLP(), Ipopt::IsValid(), AlgorithmStrategyObject::Jnlst(), IpoptData::Set_mu(), IpoptData::Set_tau(), and IpoptData::SetFreeMuMode().
bool UpdateBarrierParameter | ( | ) | [virtual] |
Method for determining the barrier parameter for the next iteration.
When the optimality error for the current barrier parameter is less than a tolerance, the barrier parameter is reduced, and the Reset method of the LineSearch object linesearch is called.
Implements MuUpdate.
References IpoptData::AcceptTrialPoint(), IpoptData::Append_info_string(), IpoptData::curr(), IpoptCalculatedQuantities::curr_avrg_compl(), IpoptCalculatedQuantities::curr_barrier_error(), IpoptData::curr_mu(), DBG_PRINT, DBG_START_METH, AlgorithmStrategyObject::IpCq(), AlgorithmStrategyObject::IpData(), AlgorithmStrategyObject::IpNLP(), Ipopt::J_BARRIER_UPDATE, Ipopt::J_DETAILED, AlgorithmStrategyObject::Jnlst(), Ipopt::Max(), Ipopt::Min(), IpoptNLP::NLP_scaling(), Journalist::Printf(), IpoptData::Set_mu(), IpoptData::Set_tau(), IpoptData::set_trial(), IpoptData::SetFreeMuMode(), THROW_EXCEPTION, IpoptData::tiny_step_flag(), and IpoptData::tol().
void RegisterOptions | ( | SmartPtr< RegisteredOptions > | roptions | ) | [static] |