Minotaur 0.4.1
Docs for developers
Public Member Functions | List of all members
Minotaur::IpoptWarmStart Class Reference

Class for saving and using Warm-start information in Ipopt. More...

#include <IpoptEngine.h>

Inheritance diagram for Minotaur::IpoptWarmStart:
Inheritance graph
[legend]
Collaboration diagram for Minotaur::IpoptWarmStart:
Collaboration graph
[legend]

Public Member Functions

 IpoptWarmStart ()
 Default constructor.
 
 IpoptWarmStart (ConstIpoptWarmStartPtr ws)
 Copy constructor. Creates a full copy, not just copies pointers.
 
 ~IpoptWarmStart ()
 Destroy.
 
IpoptSolPtr getPoint ()
 Return the soluton that can be used as starting point.
 
bool hasInfo ()
 
void setPoint (IpoptSolPtr sol)
 
void write (std::ostream &out) const
 Write to an output stream. More...
 
- Public Member Functions inherited from Minotaur::WarmStart
 WarmStart ()
 Default constructor.
 
virtual ~WarmStart ()
 Destroy.
 
virtual void decrUseCnt ()
 
virtual int getUseCnt ()
 
virtual bool hasInfo ()=0
 
virtual void incrUseCnt ()
 
virtual void write (std::ostream &out) const =0
 Write to an output stream. More...
 

Additional Inherited Members

- Protected Attributes inherited from Minotaur::WarmStart
int cnt_
 

Detailed Description

Class for saving and using Warm-start information in Ipopt.

Member Function Documentation

◆ hasInfo()

bool Minotaur::IpoptWarmStart::hasInfo ( )
virtual

Return true if warm start information is initialized, false otherwise.

Implements Minotaur::WarmStart.

◆ setPoint()

void Minotaur::IpoptWarmStart::setPoint ( IpoptSolPtr  sol)

Overwrite the primal and dual values of warm-start. Sometimes, the warm-start data is initialized and needs to be updated. This should be called in place of deleting and creating a new warm-start object.

◆ write()

void Minotaur::IpoptWarmStart::write ( std::ostream &  out) const
virtual

Write to an output stream.

Implements Minotaur::WarmStart.


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

Minotaur source code documented by Doxygen 1.9.4 on Thu Apr 24 2025