Base class for additional data that is special to a particular type of algorithm, such as the CG penalty function, or using iterative linear solvers. More...
#include <IpIpoptData.hpp>
Public Member Functions | |
virtual bool | Initialize (const Journalist &jnlst, const OptionsList &options, const std::string &prefix)=0 |
This method is called to initialize the global algorithmic parameters. | |
virtual bool | InitializeDataStructures ()=0 |
Initialize Data Structures at the beginning. | |
virtual void | AcceptTrialPoint ()=0 |
Do whatever is necessary to accept a trial point as current iterate. | |
Constructors/Destructors | |
IpoptAdditionalData () | |
Default Constructor. | |
virtual | ~IpoptAdditionalData () |
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. | |
IpoptAdditionalData (const IpoptAdditionalData &) | |
Copy Constructor. | |
void | operator= (const IpoptAdditionalData &) |
Default Assignment Operator. | |
Base class for additional data that is special to a particular type of algorithm, such as the CG penalty function, or using iterative linear solvers.
The regular IpoptData object should be given a derivation of this base class when it is created.
Definition at line 32 of file IpIpoptData.hpp.
|
inline |
Default Constructor.
Definition at line 38 of file IpIpoptData.hpp.
|
inlinevirtual |
Destructor.
Definition at line 42 of file IpIpoptData.hpp.
|
private |
Copy Constructor.
|
pure virtual |
This method is called to initialize the global algorithmic parameters.
The parameters are taken from the OptionsList object.
Implemented in Ipopt::InexactData, and Ipopt::CGPenaltyData.
Initialize Data Structures at the beginning.
Implemented in Ipopt::InexactData, and Ipopt::CGPenaltyData.
Do whatever is necessary to accept a trial point as current iterate.
This is also used to finish an iteration, i.e., to release memory, and to reset any flags for a new iteration.
Implemented in Ipopt::InexactData, and Ipopt::CGPenaltyData.
|
private |
Default Assignment Operator.