Minotaur 0.4.1
Docs for developers
|
Class for saving and using Warm-start information in Ipopt. More...
#include <IpoptEngine.h>
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... | |
![]() | |
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 | |
![]() | |
int | cnt_ |
Class for saving and using Warm-start information in Ipopt.
|
virtual |
Return true if warm start information is initialized, false otherwise.
Implements Minotaur::WarmStart.
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.
|
virtual |
Write to an output stream.
Implements Minotaur::WarmStart.