Branching decision user class.
More...
#include <CbcBranchUser.hpp>
|
| CbcBranchUserDecision () |
|
| CbcBranchUserDecision (const CbcBranchUserDecision &) |
|
virtual | ~CbcBranchUserDecision () |
|
virtual CbcBranchDecision * | clone () const |
| Clone. More...
|
|
virtual void | initialize (CbcModel *model) |
| Initialize i.e. before start of choosing at a node. More...
|
|
virtual int | betterBranch (CbcBranchingObject *thisOne, CbcBranchingObject *bestSoFar, double changeUp, int numberInfeasibilitiesUp, double changeDown, int numberInfeasibilitiesDown) |
| Returns nonzero if branching on first object is "better" than on second (if second NULL first wins). More...
|
|
virtual int | bestBranch (CbcBranchingObject **objects, int numberObjects, int numberUnsatisfied, double *changeUp, int *numberInfeasibilitiesUp, double *changeDown, int *numberInfeasibilitiesDown, double objectiveValue) |
| Compare N branching objects. More...
|
|
Branching decision user class.
Definition at line 11 of file CbcBranchUser.hpp.
◆ CbcBranchUserDecision() [1/2]
CbcBranchUserDecision::CbcBranchUserDecision |
( |
| ) |
|
◆ CbcBranchUserDecision() [2/2]
◆ ~CbcBranchUserDecision()
virtual CbcBranchUserDecision::~CbcBranchUserDecision |
( |
| ) |
|
|
virtual |
◆ bestBranch()
virtual int CbcBranchUserDecision::bestBranch |
( |
CbcBranchingObject ** |
objects, |
|
|
int |
numberObjects, |
|
|
int |
numberUnsatisfied, |
|
|
double * |
changeUp, |
|
|
int * |
numberInfeasibilitiesUp, |
|
|
double * |
changeDown, |
|
|
int * |
numberInfeasibilitiesDown, |
|
|
double |
objectiveValue |
|
) |
| |
|
virtual |
Compare N branching objects.
Return index of best and sets way of branching in chosen object.
This routine is used only after strong branching. This is reccommended version as it can be more sophisticated
◆ betterBranch()
virtual int CbcBranchUserDecision::betterBranch |
( |
CbcBranchingObject * |
thisOne, |
|
|
CbcBranchingObject * |
bestSoFar, |
|
|
double |
changeUp, |
|
|
int |
numberInfeasibilitiesUp, |
|
|
double |
changeDown, |
|
|
int |
numberInfeasibilitiesDown |
|
) |
| |
|
virtual |
Returns nonzero if branching on first object is "better" than on second (if second NULL first wins).
This is only used after strong branching. The initial selection is done by infeasibility() for each CbcObject return code +1 for up branch preferred, -1 for down
◆ clone()
virtual CbcBranchDecision* CbcBranchUserDecision::clone |
( |
| ) |
const |
|
virtual |
◆ initialize()
virtual void CbcBranchUserDecision::initialize |
( |
CbcModel * |
model | ) |
|
|
virtual |
Initialize i.e. before start of choosing at a node.
◆ operator=()
Illegal Assignment operator.
The documentation for this class was generated from the following file: