#include <CbcCompareBase.hpp>
Public Member Functions | |
CbcChooseVariable () | |
virtual | ~CbcChooseVariable () |
virtual int | chosen (const CbcModel *model, int numberToLookAt, const int *which, const double *downMovement, const double *upMovement, const double *solution, int &way, double &value)=0 |
If strong branching, then only those passed in (and movement is that length) |
Definition at line 129 of file CbcCompareBase.hpp.
CbcChooseVariable::CbcChooseVariable | ( | ) | [inline] |
Definition at line 132 of file CbcCompareBase.hpp.
virtual CbcChooseVariable::~CbcChooseVariable | ( | ) | [inline, virtual] |
Definition at line 134 of file CbcCompareBase.hpp.
virtual int CbcChooseVariable::chosen | ( | const CbcModel * | model, | |
int | numberToLookAt, | |||
const int * | which, | |||
const double * | downMovement, | |||
const double * | upMovement, | |||
const double * | solution, | |||
int & | way, | |||
double & | value | |||
) | [pure virtual] |
If strong branching, then only those passed in (and movement is that length)
If not strong branching then all passed in and ignore movement. Returns which one chosen (or -1 if none). way should be +1 if branching up, -1 if down