Ipopt
3.12.12
|
Class implementing the default initialization procedure (based on user options) for the iterates. More...
#include <IpRestoIterateInitializer.hpp>
Public Member Functions | |
virtual bool | InitializeImpl (const OptionsList &options, const std::string &prefix) |
overloaded from AlgorithmStrategyObject More... | |
virtual bool | SetInitialIterates () |
Compute the initial iterates and set the into the curr field of the ip_data object. More... | |
Constructors/Destructors | |
RestoIterateInitializer (const SmartPtr< EqMultiplierCalculator > &eq_mult_calculator) | |
Constructor. More... | |
virtual | ~RestoIterateInitializer () |
Default destructor. More... | |
![]() | |
IterateInitializer () | |
Default Constructor. More... | |
virtual | ~IterateInitializer () |
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... | |
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. | |
RestoIterateInitializer () | |
Default Constructor. More... | |
RestoIterateInitializer (const RestoIterateInitializer &) | |
Copy Constructor. More... | |
void | operator= (const RestoIterateInitializer &) |
Overloaded Equals Operator. More... | |
Auxilliary functions | |
void | solve_quadratic (const Vector &a, const Vector &b, Vector &v) |
Method for solving the quadratic vector equation v^2 + 2a*v - b = 0 More... | |
Private Attributes | |
SmartPtr< EqMultiplierCalculator > | resto_eq_mult_calculator_ |
object to be used for the initialization of the equality constraint multipliers. More... | |
Parameters for bumping x0 | |
Number | constr_mult_init_max_ |
If max-norm of the initial equality constraint multiplier estimate is larger than this, the initial y_* variables are set to zero. More... | |
Additional Inherited Members | |
![]() | |
const Journalist & | Jnlst () const |
IpoptNLP & | IpNLP () const |
IpoptData & | IpData () const |
IpoptCalculatedQuantities & | IpCq () const |
bool | HaveIpData () const |
Class implementing the default initialization procedure (based on user options) for the iterates.
It is used at the very beginning of the optimization for determine the starting point for all variables.
Definition at line 22 of file IpRestoIterateInitializer.hpp.
Ipopt::RestoIterateInitializer::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.
|
inlinevirtual |
Default destructor.
Definition at line 34 of file IpRestoIterateInitializer.hpp.
|
private |
Default Constructor.
|
private |
Copy Constructor.
|
virtual |
overloaded from AlgorithmStrategyObject
Implements Ipopt::IterateInitializer.
|
virtual |
Compute the initial iterates and set the into the curr field of the ip_data object.
Implements Ipopt::IterateInitializer.
|
static |
Methods for IpoptType.
|
private |
Overloaded Equals Operator.
|
private |
Method for solving the quadratic vector equation v^2 + 2a*v -
b = 0
|
private |
If max-norm of the initial equality constraint multiplier estimate is larger than this, the initial y_* variables are set to zero.
Definition at line 75 of file IpRestoIterateInitializer.hpp.
|
private |
object to be used for the initialization of the equality constraint multipliers.
Definition at line 80 of file IpRestoIterateInitializer.hpp.