Couenne 0.5.8
|
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. More... | |
CouenneInfo (const OsiBabSolver &other) | |
Constructor from OsiBabSolver. More... | |
CouenneInfo (const CouenneInfo &other) | |
Copy constructor. More... | |
virtual | ~CouenneInfo () |
Destructor. More... | |
virtual OsiAuxInfo * | clone () const |
Virtual copy constructor. More... | |
const std::list< Ipopt::SmartPtr< const NlpSolution > > & | NlpSolutions () const |
List of all stored NLP solutions. More... | |
void | addSolution (Ipopt::SmartPtr< const NlpSolution > newSol) |
Add a new NLP solution. More... | |
![]() | |
BabInfo (int type) | |
BabInfo (const OsiBabSolver &other) | |
BabInfo (const BabInfo &other) | |
virtual | ~BabInfo () |
virtual OsiAuxInfo * | clone () const |
void | setBabPtr (Bab *babPtr) |
Bab * | babPtr () |
bool | hasSolution () const |
![]() | |
AuxInfo (int type) | |
AuxInfo (const OsiBabSolver &other) | |
AuxInfo (const AuxInfo &other) | |
virtual | ~AuxInfo () |
virtual OsiAuxInfo * | clone () const |
void | setFeasibleNode () |
void | setInfeasibleNode () |
bool | infeasibleNode () |
const double * | nlpSolution () |
double | nlpObjValue () |
void | setNlpSolution (const double *sol, int numcols, double objValue) |
void | setHasNlpSolution (bool b) |
const std::vector< double > & | bestSolution2 () const |
double | bestObj2 () const |
void | setBestObj2 (double o) |
void | setBestSolution2 (int n, double *d) |
![]() | |
OsiBabSolver (int solverType=0) | |
OsiBabSolver (const OsiBabSolver &rhs) | |
virtual | ~OsiBabSolver () |
virtual OsiAuxInfo * | clone () const |
OsiBabSolver & | operator= (const OsiBabSolver &rhs) |
void | setSolver (const OsiSolverInterface *solver) |
void | setSolver (const OsiSolverInterface &solver) |
int | solution (double &objectiveValue, double *newSolution, int numberColumns) |
void | setSolution (const double *solution, int numberColumns, double objectiveValue) |
bool | hasSolution (double &solutionValue, double *solution) |
void | setSolverType (int value) |
int | solverType () const |
bool | solutionAddsCuts () const |
bool | alwaysTryCutsAtRootNode () const |
bool | solverAccurate () const |
bool | reducedCostsAccurate () const |
double | mipBound () const |
bool | mipFeasible () const |
void | setMipBound (double value) |
double | bestObjectiveValue () const |
bool | tryCuts () const |
bool | warmStart () const |
int | extraCharacteristics () const |
void | setExtraCharacteristics (int value) |
const double * | beforeLower () const |
void | setBeforeLower (const double *array) |
const double * | beforeUpper () const |
void | setBeforeUpper (const double *array) |
void | setExtraPointer (void *extraInfo) |
void * | getExtraPointer () const |
![]() | |
OsiAuxInfo (void *appData=NULL) | |
OsiAuxInfo (const OsiAuxInfo &rhs) | |
virtual | ~OsiAuxInfo () |
virtual OsiAuxInfo * | clone () const |
OsiAuxInfo & | operator= (const OsiAuxInfo &rhs) |
void * | getApplicationData () const |
Protected Attributes | |
std::list< Ipopt::SmartPtr< const NlpSolution > > | nlpSols_ |
![]() | |
Bab * | babPtr_ |
![]() | |
bool | infeasibleNode_ |
double | objValue_ |
double * | nlpSolution_ |
int | numcols_ |
bool | hasNlpSolution_ |
Coin::SmartPtr< SimpleReferenced< std::vector< double > > > | bestSolution2_ |
Coin::SmartPtr< SimpleReferenced< double > > | bestObj2_ |
![]() | |
double | bestObjectiveValue_ |
double | mipBound_ |
const OsiSolverInterface * | solver_ |
double * | bestSolution_ |
const double * | beforeLower_ |
const double * | beforeUpper_ |
void * | extraInfo_ |
int | solverType_ |
int | sizeSolution_ |
int | extraCharacteristics_ |
![]() | |
void * | appData_ |
Bonmin class for passing info between components of branch-and-cuts.
Definition at line 22 of file BonCouenneInfo.hpp.
Couenne::CouenneInfo::CouenneInfo | ( | int | type | ) |
Default constructor.
Couenne::CouenneInfo::CouenneInfo | ( | const OsiBabSolver & | other | ) |
Constructor from OsiBabSolver.
Couenne::CouenneInfo::CouenneInfo | ( | const CouenneInfo & | other | ) |
Copy constructor.
|
virtual |
Destructor.
|
virtual |
Virtual copy constructor.
Reimplemented from Bonmin::BabInfo.
|
inline |
List of all stored NLP solutions.
Definition at line 81 of file BonCouenneInfo.hpp.
|
inline |
Add a new NLP solution.
Definition at line 86 of file BonCouenneInfo.hpp.
|
protected |
Definition at line 92 of file BonCouenneInfo.hpp.