#include <IpRestoIterateInitializer.hpp>
It is used at the very beginning of the optimization for determine the starting point for all variables.
Public Member Functions | |
virtual bool | InitializeImpl (const OptionsList &options, const std::string &prefix) |
overloaded from AlgorithmStrategyObject | |
virtual bool | SetInitialIterates () |
Compute the initial iterates and set the into the curr field of the ip_data object. | |
Constructors/Destructors | |
RestoIterateInitializer (const SmartPtr< EqMultiplierCalculator > &eq_mult_calculator) | |
Constructor. | |
virtual | ~RestoIterateInitializer () |
Default destructor. | |
Static Public Member Functions | |
static void | RegisterOptions (SmartPtr< RegisteredOptions > roptions) |
Methods for IpoptType. |
RestoIterateInitializer | ( | const SmartPtr< EqMultiplierCalculator > & | eq_mult_calculator | ) |
Constructor.
If eq_mult_calculator is not NULL, it will be used to compute the initial values for equality constraint multipliers.
virtual ~RestoIterateInitializer | ( | ) | [inline, virtual] |
Default destructor.
bool InitializeImpl | ( | const OptionsList & | options, | |
const std::string & | prefix | |||
) | [virtual] |
overloaded from AlgorithmStrategyObject
Implements IterateInitializer.
References OptionsList::GetNumericValue(), AlgorithmStrategyObject::IpCq(), AlgorithmStrategyObject::IpData(), AlgorithmStrategyObject::IpNLP(), Ipopt::IsValid(), and AlgorithmStrategyObject::Jnlst().
bool SetInitialIterates | ( | ) | [virtual] |
Compute the initial iterates and set the into the curr field of the ip_data object.
Implements IterateInitializer.
References a, IpoptData::AcceptTrialPoint(), b, IpoptData::curr(), DBG_ASSERT, DBG_PRINT, DBG_PRINT_VECTOR, DBG_START_METH, Ipopt::GetRawPtr(), IpoptData::InitializeDataStructures(), AlgorithmStrategyObject::IpCq(), AlgorithmStrategyObject::IpData(), AlgorithmStrategyObject::IpNLP(), Ipopt::IsValid(), Ipopt::J_DETAILED, Ipopt::J_INITIALIZATION, AlgorithmStrategyObject::Jnlst(), DefaultIterateInitializer::least_square_mults(), Ipopt::Max(), Journalist::Printf(), IpoptData::Set_mu(), IpoptData::set_trial(), and IpoptData::trial().
static void RegisterOptions | ( | SmartPtr< RegisteredOptions > | roptions | ) | [static] |
Methods for IpoptType.