Ipopt Documentation  
 
Loading...
Searching...
No Matches
Ipopt::HessianUpdater Class Referenceabstract

Abstract base class for objects responsible for updating the Hessian information. More...

#include <IpHessianUpdater.hpp>

+ Inheritance diagram for Ipopt::HessianUpdater:

Public Member Functions

virtual bool InitializeImpl (const OptionsList &options, const std::string &prefix)=0
 overloaded from AlgorithmStrategyObject
 
virtual void UpdateHessian ()=0
 Update the Hessian based on the current information in IpData, and possibly on information from previous calls.
 
Constructors/Destructors
 HessianUpdater ()
 Default Constructor.
 
virtual ~HessianUpdater ()
 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.

 HessianUpdater (const HessianUpdater &)
 Copy Constructor.
 
void operator= (const HessianUpdater &)
 Default Assignment Operator.
 

Additional Inherited Members

- Protected Member Functions inherited from Ipopt::AlgorithmStrategyObject
const JournalistJnlst () const
 
IpoptNLPIpNLP () const
 
IpoptDataIpData () const
 
IpoptCalculatedQuantitiesIpCq () const
 
bool HaveIpData () const
 

Detailed Description

Abstract base class for objects responsible for updating the Hessian information.

This can be done using exact second derivatives from the NLP, or by a quasi-Newton Option. The result is put into the W field in IpData.

Definition at line 22 of file IpHessianUpdater.hpp.

Constructor & Destructor Documentation

◆ HessianUpdater() [1/2]

Ipopt::HessianUpdater::HessianUpdater ( )
inline

Default Constructor.

Definition at line 28 of file IpHessianUpdater.hpp.

◆ ~HessianUpdater()

virtual Ipopt::HessianUpdater::~HessianUpdater ( )
inlinevirtual

Destructor.

Definition at line 32 of file IpHessianUpdater.hpp.

◆ HessianUpdater() [2/2]

Ipopt::HessianUpdater::HessianUpdater ( const HessianUpdater )
private

Copy Constructor.

Member Function Documentation

◆ InitializeImpl()

virtual bool Ipopt::HessianUpdater::InitializeImpl ( const OptionsList options,
const std::string &  prefix 
)
pure virtual

◆ UpdateHessian()

virtual void Ipopt::HessianUpdater::UpdateHessian ( )
pure virtual

Update the Hessian based on the current information in IpData, and possibly on information from previous calls.

Implemented in Ipopt::ExactHessianUpdater, and Ipopt::LimMemQuasiNewtonUpdater.

◆ operator=()

void Ipopt::HessianUpdater::operator= ( const HessianUpdater )
private

Default Assignment Operator.


The documentation for this class was generated from the following file: