#include <IpRestoMinC_1Nrm.hpp>
Public Member Functions | |
virtual bool | InitializeImpl (const OptionsList &options, const std::string &prefix) |
Overloaded from AlgorithmStrategy case class. | |
Constructors/Destructors | |
MinC_1NrmRestorationPhase (IpoptAlgorithm &resto_alg, const SmartPtr< EqMultiplierCalculator > &eq_mult_calculator) | |
Constructor, taking strategy objects. | |
virtual | ~MinC_1NrmRestorationPhase () |
Default destructor. | |
Static Public Member Functions | |
static void | RegisterOptions (SmartPtr< RegisteredOptions > roptions) |
Methods for IpoptType. | |
Protected Member Functions | |
virtual bool | PerformRestoration () |
Overloaded method from RestorationPhase. |
MinC_1NrmRestorationPhase | ( | IpoptAlgorithm & | resto_alg, | |
const SmartPtr< EqMultiplierCalculator > & | eq_mult_calculator | |||
) |
Constructor, taking strategy objects.
The resto_alg strategy object is the restoration phase Ipopt algorithm. The eq_mult_calculator is used to reinitialize the equality constraint multipliers after the restoration phase algorithm has finished - unless it is NULL, in which case the multipliers are set to 0.
References DBG_ASSERT, and Ipopt::IsValid().
~MinC_1NrmRestorationPhase | ( | ) | [virtual] |
Default destructor.
bool InitializeImpl | ( | const OptionsList & | options, | |
const std::string & | prefix | |||
) | [virtual] |
Overloaded from AlgorithmStrategy case class.
Implements RestorationPhase.
References OptionsList::GetBoolValue(), OptionsList::GetNumericValue(), AlgorithmStrategyObject::IpCq(), AlgorithmStrategyObject::IpData(), AlgorithmStrategyObject::IpNLP(), Ipopt::IsValid(), and AlgorithmStrategyObject::Jnlst().
void RegisterOptions | ( | SmartPtr< RegisteredOptions > | roptions | ) | [static] |
bool PerformRestoration | ( | ) | [protected, virtual] |
Overloaded method from RestorationPhase.
Implements RestorationPhase.
References IpoptData::AcceptTrialPoint(), IpoptData::curr(), IpoptCalculatedQuantities::curr_primal_infeasibility(), IpoptCalculatedQuantities::curr_slack_s_L(), IpoptCalculatedQuantities::curr_slack_s_U(), IpoptCalculatedQuantities::curr_slack_x_L(), IpoptCalculatedQuantities::curr_slack_x_U(), DBG_ASSERT, DBG_PRINT_VECTOR, DBG_START_METH, IpoptCalculatedQuantities::dual_frac_to_the_bound(), Ipopt::GetRawPtr(), AlgorithmStrategyObject::IpCq(), AlgorithmStrategyObject::IpData(), AlgorithmStrategyObject::IpNLP(), IpoptCalculatedQuantities::IsSquareProblem(), Ipopt::IsValid(), Ipopt::J_DETAILED, Ipopt::J_ERROR, Ipopt::J_LINE_SEARCH, Ipopt::J_MAIN, Ipopt::J_VECTOR, Ipopt::J_WARNING, AlgorithmStrategyObject::Jnlst(), DefaultIterateInitializer::least_square_mults(), Ipopt::LOCAL_INFEASIBILITY, Ipopt::Max(), Ipopt::MAXITER_EXCEEDED, Ipopt::NORM_MAX, Journalist::Printf(), Journalist::ProduceOutput(), Ipopt::RESTORATION_FAILURE, IpoptData::Set_info_skip_output(), IpoptData::Set_iter_count(), IpoptData::set_trial(), IpoptData::SetTrialBoundMultipliersFromStep(), Ipopt::STOP_AT_ACCEPTABLE_POINT, Ipopt::STOP_AT_TINY_STEP, Ipopt::SUCCESS, THROW_EXCEPTION, IpoptData::trial(), IpoptCalculatedQuantities::trial_slack_s_L(), IpoptCalculatedQuantities::trial_slack_s_U(), IpoptCalculatedQuantities::trial_slack_x_L(), IpoptCalculatedQuantities::trial_slack_x_U(), and Ipopt::USER_REQUESTED_STOP.