Bonmin class for passing info between components of branch-and-cuts. More...
#include <BonCouenneInfo.hpp>
Classes | |
class | NlpSolution |
Class for storing an Nlp Solution. More... | |
Public Member Functions | |
CouenneInfo (int type) | |
Default constructor. | |
CouenneInfo (const OsiBabSolver &other) | |
Constructor from OsiBabSolver. | |
CouenneInfo (const CouenneInfo &other) | |
Copy constructor. | |
virtual | ~CouenneInfo () |
Destructor. | |
virtual OsiAuxInfo * | clone () const |
Virtual copy constructor. | |
const std::list < Ipopt::SmartPtr< const NlpSolution > > & | NlpSolutions () const |
List of all stored NLP solutions. | |
void | addSolution (Ipopt::SmartPtr< const NlpSolution > newSol) |
Add a new NLP solution. | |
Protected Attributes | |
std::list< Ipopt::SmartPtr < const NlpSolution > > | nlpSols_ |
Bonmin class for passing info between components of branch-and-cuts.
Definition at line 22 of file BonCouenneInfo.hpp.
CouenneInfo::CouenneInfo | ( | int | type | ) |
Default constructor.
Definition at line 17 of file BonCouenneInfo.cpp.
CouenneInfo::CouenneInfo | ( | const OsiBabSolver & | other | ) |
Constructor from OsiBabSolver.
Definition at line 22 of file BonCouenneInfo.cpp.
CouenneInfo::CouenneInfo | ( | const CouenneInfo & | other | ) |
Copy constructor.
Definition at line 27 of file BonCouenneInfo.cpp.
CouenneInfo::~CouenneInfo | ( | ) | [virtual] |
Destructor.
Definition at line 32 of file BonCouenneInfo.cpp.
OsiAuxInfo * CouenneInfo::clone | ( | ) | const [virtual] |
Virtual copy constructor.
Reimplemented from Bonmin::BabInfo.
Definition at line 37 of file BonCouenneInfo.cpp.
const std::list<Ipopt::SmartPtr<const NlpSolution> >& Couenne::CouenneInfo::NlpSolutions | ( | ) | const [inline] |
List of all stored NLP solutions.
Definition at line 81 of file BonCouenneInfo.hpp.
void Couenne::CouenneInfo::addSolution | ( | Ipopt::SmartPtr< const NlpSolution > | newSol | ) | [inline] |
Add a new NLP solution.
Definition at line 86 of file BonCouenneInfo.hpp.
std::list<Ipopt::SmartPtr<const NlpSolution> > Couenne::CouenneInfo::nlpSols_ [protected] |
Definition at line 92 of file BonCouenneInfo.hpp.