Ipopt
3.12.12
|
Restoration Phase that minimizes the 1-norm of the constraint violation - using the interior point method (Ipopt). More...
#include <IpRestoMinC_1Nrm.hpp>
Public Member Functions | |
virtual bool | InitializeImpl (const OptionsList &options, const std::string &prefix) |
Overloaded from AlgorithmStrategy case class. More... | |
Constructors/Destructors | |
MinC_1NrmRestorationPhase (IpoptAlgorithm &resto_alg, const SmartPtr< EqMultiplierCalculator > &eq_mult_calculator) | |
Constructor, taking strategy objects. More... | |
virtual | ~MinC_1NrmRestorationPhase () |
Default destructor. More... | |
![]() | |
RestorationPhase () | |
Default Constructor. More... | |
virtual | ~RestorationPhase () |
Default Destructor. More... | |
![]() | |
bool | Initialize (const Journalist &jnlst, IpoptNLP &ip_nlp, IpoptData &ip_data, IpoptCalculatedQuantities &ip_cq, const OptionsList &options, const std::string &prefix) |
This method is called every time the algorithm starts again - it is used to reset any internal state. More... | |
bool | ReducedInitialize (const Journalist &jnlst, const OptionsList &options, const std::string &prefix) |
Reduced version of the Initialize method, which does not require special Ipopt information. More... | |
AlgorithmStrategyObject () | |
Default Constructor. More... | |
virtual | ~AlgorithmStrategyObject () |
Default Destructor. More... | |
![]() | |
ReferencedObject () | |
virtual | ~ReferencedObject () |
Index | ReferenceCount () const |
void | AddRef (const Referencer *referencer) const |
void | ReleaseRef (const Referencer *referencer) const |
Static Public Member Functions | |
static void | RegisterOptions (SmartPtr< RegisteredOptions > roptions) |
Methods for IpoptType. More... | |
Protected Member Functions | |
virtual bool | PerformRestoration () |
Overloaded method from RestorationPhase. More... | |
![]() | |
const Journalist & | Jnlst () const |
IpoptNLP & | IpNLP () const |
IpoptData & | IpData () const |
IpoptCalculatedQuantities & | IpCq () const |
bool | HaveIpData () const |
Private Member Functions | |
Default Compiler Generated Methods (Hidden to avoid | |
implicit creation/calling). These methods are not implemented and we do not want the compiler to implement them for us, so we declare them private and do not define them. This ensures that they will not be implicitly created/called. | |
MinC_1NrmRestorationPhase () | |
Default Constructor. More... | |
MinC_1NrmRestorationPhase (const MinC_1NrmRestorationPhase &) | |
Copy Constructor. More... | |
void | operator= (const MinC_1NrmRestorationPhase &) |
Overloaded Equals Operator. More... | |
Auxilliary methods | |
void | ComputeBoundMultiplierStep (Vector &delta_z, const Vector &curr_z, const Vector &curr_slack, const Vector &trial_slack) |
Method for computing "primal-dual" step in bound multipliers, given step in slacks. More... | |
Private Attributes | |
SmartPtr< OptionsList > | resto_options_ |
Copy of original options, which is required to initialize the Ipopt algorithm strategy object before restoration phase is started. More... | |
Index | count_restorations_ |
Counter for the number of time that PerformRestoration is called. More... | |
Strategy objects | |
SmartPtr< IpoptAlgorithm > | resto_alg_ |
SmartPtr< EqMultiplierCalculator > | eq_mult_calculator_ |
Algorithmic parameters | |
Number | constr_mult_reset_threshold_ |
Number | bound_mult_reset_threshold_ |
Maximal allowed value of a bound multiplier after restoration phase. More... | |
bool | expect_infeasible_problem_ |
Indicates whether problem can be expected to be infeasible. More... | |
Number | constr_viol_tol_ |
Constraint violation tolerance. More... | |
Number | resto_failure_feasibility_threshold_ |
Primal infeasibility tolerance for declaring failure of restoration phase when the non-regular termination tests are met. More... | |
Restoration Phase that minimizes the 1-norm of the constraint violation - using the interior point method (Ipopt).
Definition at line 22 of file IpRestoMinC_1Nrm.hpp.
Ipopt::MinC_1NrmRestorationPhase::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.
|
virtual |
Default destructor.
|
private |
Default Constructor.
|
private |
Copy Constructor.
|
virtual |
Overloaded from AlgorithmStrategy case class.
Implements Ipopt::RestorationPhase.
|
static |
Methods for IpoptType.
|
protectedvirtual |
Overloaded method from RestorationPhase.
Implements Ipopt::RestorationPhase.
|
private |
Overloaded Equals Operator.
|
private |
Method for computing "primal-dual" step in bound multipliers, given step in slacks.
|
private |
Definition at line 72 of file IpRestoMinC_1Nrm.hpp.
|
private |
Definition at line 73 of file IpRestoMinC_1Nrm.hpp.
|
private |
Copy of original options, which is required to initialize the Ipopt algorithm strategy object before restoration phase is started.
Definition at line 79 of file IpRestoMinC_1Nrm.hpp.
|
private |
Definition at line 83 of file IpRestoMinC_1Nrm.hpp.
|
private |
Maximal allowed value of a bound multiplier after restoration phase.
Definition at line 87 of file IpRestoMinC_1Nrm.hpp.
|
private |
Indicates whether problem can be expected to be infeasible.
This will request the to set kappa_resto to a small value for the first time the restoration phase is called. (ToDo)
Definition at line 91 of file IpRestoMinC_1Nrm.hpp.
|
private |
Constraint violation tolerance.
Definition at line 93 of file IpRestoMinC_1Nrm.hpp.
|
private |
Primal infeasibility tolerance for declaring failure of restoration phase when the non-regular termination tests are met.
Definition at line 97 of file IpRestoMinC_1Nrm.hpp.
|
private |
Counter for the number of time that PerformRestoration is called.
Definition at line 102 of file IpRestoMinC_1Nrm.hpp.