Ipopt
3.12.12
|
Base class for computing the normal step for the inexact step calculation algorithm. More...
#include <IpInexactNormalStepCalc.hpp>
Public Member Functions | |
virtual bool | InitializeImpl (const OptionsList &options, const std::string &prefix)=0 |
overloaded from AlgorithmStrategyObject More... | |
virtual bool | ComputeNormalStep (SmartPtr< Vector > &normal_x, SmartPtr< Vector > &normal_s)=0 |
Method for computing the normal step. More... | |
Constructors/Destructors | |
InexactNormalStepCalculator () | |
Default onstructor. More... | |
virtual | ~InexactNormalStepCalculator () |
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 |
Protected Member Functions | |
InexactData & | InexData () |
Method to easily access Inexact data. More... | |
InexactCq & | InexCq () |
Method to easily access Inexact calculated quantities. 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. | |
InexactNormalStepCalculator (const InexactNormalStepCalculator &) | |
Copy Constructor. More... | |
void | operator= (const InexactNormalStepCalculator &) |
Overloaded Equals Operator. More... | |
Base class for computing the normal step for the inexact step calculation algorithm.
Definition at line 20 of file IpInexactNormalStepCalc.hpp.
|
inline |
Default onstructor.
Definition at line 26 of file IpInexactNormalStepCalc.hpp.
|
inlinevirtual |
Default destructor.
Definition at line 30 of file IpInexactNormalStepCalc.hpp.
|
private |
Copy Constructor.
|
pure virtual |
overloaded from AlgorithmStrategyObject
Implements Ipopt::AlgorithmStrategyObject.
Implemented in Ipopt::InexactDoglegNormalStep.
|
pure virtual |
Method for computing the normal step.
The computed step is returned as normal_x and normal_s, for the x and s variables, respectively. These quantities are not slack-scaled. If the step cannot be computed, this method returns false.
Implemented in Ipopt::InexactDoglegNormalStep.
|
inlineprotected |
Method to easily access Inexact data.
Definition at line 47 of file IpInexactNormalStepCalc.hpp.
|
inlineprotected |
Method to easily access Inexact calculated quantities.
Definition at line 56 of file IpInexactNormalStepCalc.hpp.
|
private |
Overloaded Equals Operator.