Cbc
trunk
|
Define a catch all class. More...
#include <CbcGeneral.hpp>
Public Member Functions | |
CbcGeneral () | |
CbcGeneral (CbcModel *model) | |
Useful constructor Just needs to point to model. | |
CbcGeneral (const CbcGeneral &) | |
virtual CbcObject * | clone () const =0 |
Clone. | |
CbcGeneral & | operator= (const CbcGeneral &rhs) |
~CbcGeneral () | |
virtual double | infeasibility (const OsiBranchingInformation *info, int &preferredWay) const |
Infeasibility - large is 0.5. | |
virtual void | feasibleRegion ()=0 |
This looks at solution and sets bounds to contain solution. | |
virtual CbcBranchingObject * | createCbcBranch (OsiSolverInterface *solver, const OsiBranchingInformation *info, int way) |
Creates a branching object. | |
virtual void | redoSequenceEtc (CbcModel *model, int numberColumns, const int *originalColumns)=0 |
Redoes data when sequence numbers change. |
Define a catch all class.
This will create a list of subproblems
Definition at line 17 of file CbcGeneral.hpp.
CbcGeneral::CbcGeneral | ( | CbcModel * | model | ) |
Useful constructor Just needs to point to model.
CbcGeneral::CbcGeneral | ( | const CbcGeneral & | ) |
virtual CbcObject* CbcGeneral::clone | ( | ) | const [pure virtual] |
Clone.
Implements CbcObject.
CbcGeneral& CbcGeneral::operator= | ( | const CbcGeneral & | rhs | ) |
virtual double CbcGeneral::infeasibility | ( | const OsiBranchingInformation * | info, |
int & | preferredWay | ||
) | const [virtual] |
Infeasibility - large is 0.5.
Reimplemented from CbcObject.
virtual void CbcGeneral::feasibleRegion | ( | ) | [pure virtual] |
This looks at solution and sets bounds to contain solution.
Implements CbcObject.
virtual CbcBranchingObject* CbcGeneral::createCbcBranch | ( | OsiSolverInterface * | solver, |
const OsiBranchingInformation * | info, | ||
int | way | ||
) | [virtual] |
Creates a branching object.
Reimplemented from CbcObject.
virtual void CbcGeneral::redoSequenceEtc | ( | CbcModel * | model, |
int | numberColumns, | ||
const int * | originalColumns | ||
) | [pure virtual] |
Redoes data when sequence numbers change.
Reimplemented from CbcObject.