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

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

#include <UnoEngine.h>

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

Public Member Functions

 UnoWarmStart ()
 Default constructor.
 
 UnoWarmStart (ConstUnoWarmStartPtr ws)
 Copy constructor. Creates a full copy, not just copies pointers.
 
 ~UnoWarmStart ()
 Destroy.
 
UnoSolPtr getPoint ()
 Return the soluton that can be used as starting point.
 
bool hasInfo ()
 
void setPoint (UnoSolPtr 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 Uno.

Member Function Documentation

◆ hasInfo()

bool Minotaur::UnoWarmStart::hasInfo ( )
virtual

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

Implements Minotaur::WarmStart.

◆ setPoint()

void Minotaur::UnoWarmStart::setPoint ( UnoSolPtr  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::UnoWarmStart::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