#include <CglTreeInfo.hpp>
Inheritance diagram for CglTreeProbingInfo:
Public Member Functions | |
CglTreeProbingInfo () | |
Default constructor. | |
CglTreeProbingInfo (const OsiSolverInterface *model) | |
Constructor from model. | |
CglTreeProbingInfo (const CglTreeProbingInfo &) | |
Copy constructor. | |
virtual CglTreeInfo * | clone () const |
Clone. | |
CglTreeProbingInfo & | operator= (const CglTreeProbingInfo &rhs) |
Assignment operator. | |
virtual | ~CglTreeProbingInfo () |
Destructor. | |
virtual void | fixes (int variable, int toValue, int fixedVariable, double fixedToValue) |
Take action if cut generator can fix a variable (toValue -1 for down, +1 for up). | |
virtual bool | initializeFixing () |
Initalizes fixing arrays etc - returns true if we want to save info. | |
fixEntry * | fixEntries () const |
Entries for fixing variables. | |
int * | toZero () const |
Starts of integer variable going to zero. | |
int * | toOne () const |
Starts of integer variable going to one. | |
int * | integerVariable () const |
List of 0-1 integer variables. | |
int * | backward () const |
Backward look up. | |
int | numberVariables () const |
Number of variables. | |
int | numberIntegers () const |
Number of 0-1 variables. | |
Protected Attributes | |
fixEntry * | fixEntry_ |
Entries for fixing variables. | |
int * | toZero_ |
Starts of integer variable going to zero. | |
int * | toOne_ |
Starts of integer variable going to one. | |
int * | integerVariable_ |
List of 0-1 integer variables. | |
int * | backward_ |
Backward look up. | |
int | numberVariables_ |
Number of variables. | |
int | numberIntegers_ |
Number of 0-1 variables. | |
int | maximumEntries_ |
Maximum number in fixEntry_. | |
int | lastInteger_ |
Last integer done in pass. |
Definition at line 64 of file CglTreeInfo.hpp.
CglTreeProbingInfo::CglTreeProbingInfo | ( | ) |
Default constructor.
CglTreeProbingInfo::CglTreeProbingInfo | ( | const OsiSolverInterface * | model | ) |
Constructor from model.
CglTreeProbingInfo::CglTreeProbingInfo | ( | const CglTreeProbingInfo & | ) |
Copy constructor.
virtual CglTreeProbingInfo::~CglTreeProbingInfo | ( | ) | [virtual] |
Destructor.
virtual CglTreeInfo* CglTreeProbingInfo::clone | ( | ) | const [virtual] |
CglTreeProbingInfo& CglTreeProbingInfo::operator= | ( | const CglTreeProbingInfo & | rhs | ) |
Assignment operator.
virtual void CglTreeProbingInfo::fixes | ( | int | variable, | |
int | toValue, | |||
int | fixedVariable, | |||
double | fixedToValue | |||
) | [virtual] |
Take action if cut generator can fix a variable (toValue -1 for down, +1 for up).
Reimplemented from CglTreeInfo.
virtual bool CglTreeProbingInfo::initializeFixing | ( | ) | [virtual] |
Initalizes fixing arrays etc - returns true if we want to save info.
Reimplemented from CglTreeInfo.
fixEntry* CglTreeProbingInfo::fixEntries | ( | ) | const [inline] |
int* CglTreeProbingInfo::toZero | ( | ) | const [inline] |
Starts of integer variable going to zero.
Definition at line 93 of file CglTreeInfo.hpp.
References toZero_.
int* CglTreeProbingInfo::toOne | ( | ) | const [inline] |
Starts of integer variable going to one.
Definition at line 96 of file CglTreeInfo.hpp.
References toOne_.
int* CglTreeProbingInfo::integerVariable | ( | ) | const [inline] |
List of 0-1 integer variables.
Definition at line 99 of file CglTreeInfo.hpp.
References integerVariable_.
int* CglTreeProbingInfo::backward | ( | ) | const [inline] |
int CglTreeProbingInfo::numberVariables | ( | ) | const [inline] |
int CglTreeProbingInfo::numberIntegers | ( | ) | const [inline] |
Number of 0-1 variables.
Definition at line 108 of file CglTreeInfo.hpp.
References numberIntegers_.
fixEntry* CglTreeProbingInfo::fixEntry_ [protected] |
Entries for fixing variables.
Definition at line 112 of file CglTreeInfo.hpp.
Referenced by fixEntries().
int* CglTreeProbingInfo::toZero_ [protected] |
Starts of integer variable going to zero.
Definition at line 114 of file CglTreeInfo.hpp.
Referenced by toZero().
int* CglTreeProbingInfo::toOne_ [protected] |
Starts of integer variable going to one.
Definition at line 116 of file CglTreeInfo.hpp.
Referenced by toOne().
int* CglTreeProbingInfo::integerVariable_ [protected] |
List of 0-1 integer variables.
Definition at line 118 of file CglTreeInfo.hpp.
Referenced by integerVariable().
int* CglTreeProbingInfo::backward_ [protected] |
int CglTreeProbingInfo::numberVariables_ [protected] |
Number of variables.
Definition at line 122 of file CglTreeInfo.hpp.
Referenced by numberVariables().
int CglTreeProbingInfo::numberIntegers_ [protected] |
Number of 0-1 variables.
Definition at line 124 of file CglTreeInfo.hpp.
Referenced by numberIntegers().
int CglTreeProbingInfo::maximumEntries_ [protected] |
int CglTreeProbingInfo::lastInteger_ [protected] |