Abstract Base Class for classes that are able to compute a suggested value of the barrier parameter that can be used as an oracle in the NonmontoneMuUpdate class. More...
#include <IpMuOracle.hpp>
Public Member Functions | |
virtual bool | InitializeImpl (const OptionsList &options, const std::string &prefix)=0 |
Implementation of the initialization method that has to be overloaded by for each derived class. | |
virtual bool | CalculateMu (Number mu_min, Number mu_max, Number &new_mu)=0 |
Method for computing the value of the barrier parameter that could be used in the current iteration. | |
Constructors / Destructor | |
MuOracle () | |
Default Constructor. | |
virtual | ~MuOracle () |
Destructor. | |
Public Member Functions inherited from Ipopt::AlgorithmStrategyObject | |
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. | |
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. | |
AlgorithmStrategyObject () | |
Default Constructor. | |
virtual | ~AlgorithmStrategyObject () |
Destructor. | |
Public Member Functions inherited from Ipopt::ReferencedObject | |
ReferencedObject () | |
virtual | ~ReferencedObject () |
Index | ReferenceCount () const |
void | AddRef (const Referencer *referencer) const |
void | ReleaseRef (const Referencer *referencer) 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. | |
MuOracle (const MuOracle &) | |
Copy Constructor. | |
void | operator= (const MuOracle &) |
Additional Inherited Members | |
Protected Member Functions inherited from Ipopt::AlgorithmStrategyObject | |
const Journalist & | Jnlst () const |
IpoptNLP & | IpNLP () const |
IpoptData & | IpData () const |
IpoptCalculatedQuantities & | IpCq () const |
bool | HaveIpData () const |
Abstract Base Class for classes that are able to compute a suggested value of the barrier parameter that can be used as an oracle in the NonmontoneMuUpdate class.
Definition at line 19 of file IpMuOracle.hpp.
|
inline |
Default Constructor.
Definition at line 25 of file IpMuOracle.hpp.
|
inlinevirtual |
Destructor.
Definition at line 29 of file IpMuOracle.hpp.
|
pure virtual |
Implementation of the initialization method that has to be overloaded by for each derived class.
Implements Ipopt::AlgorithmStrategyObject.
Implemented in Ipopt::LoqoMuOracle, Ipopt::ProbingMuOracle, and Ipopt::QualityFunctionMuOracle.
|
pure virtual |
Method for computing the value of the barrier parameter that could be used in the current iteration.
Here, mu_min and mu_max are the lower and upper bounds on acceptable values for the barrier parameter. The new value of mu is returned in new_mu, and the method returns false if a new value could not be determined (e.g., because the linear system could not be solved for a predictor step).
Implemented in Ipopt::LoqoMuOracle, Ipopt::ProbingMuOracle, and Ipopt::QualityFunctionMuOracle.