#include <CglTreeInfo.hpp>
|
| | 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.
|
| OsiSolverInterface * | analyze (const OsiSolverInterface &si, int createSolver=0, int numberExtraCliques=0, const CoinBigIndex *starts=NULL, const CliqueEntry *entries=NULL, const char *type=NULL) |
| virtual bool | fixes (int variable, int toValue, int fixedVariable, bool fixedToLower) |
| | Take action if cut generator can fix a variable (toValue -1 for down, +1 for up) Returns true if still room, false if not.
|
| virtual int | initializeFixing (const OsiSolverInterface *model) |
| | Initalizes fixing arrays etc - returns >0 if we want to save info 0 if we don't and -1 if is to be used.
|
| int | fixColumns (OsiSolverInterface &si) const |
| | Fix entries in a solver using implications.
|
| int | fixColumns (int iColumn, int value, OsiSolverInterface &si) const |
| | Fix entries in a solver using implications for one variable.
|
| int | packDown () |
| | Packs down entries.
|
| void | generateCuts (const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info) const |
| | Generate cuts from implications.
|
| CliqueEntry * | fixEntries () |
| | Entries for fixing variables.
|
| int * | toZero () |
| | Starts of integer variable going to zero.
|
| int * | toOne () |
| | 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.
|
| | CglTreeInfo () |
| | Default constructor.
|
| | CglTreeInfo (const CglTreeInfo &) |
| | Copy constructor.
|
| CglTreeInfo & | operator= (const CglTreeInfo &rhs) |
| | Assignment operator.
|
| virtual | ~CglTreeInfo () |
| | Destructor.
|
|
| void | convert () |
| | Converts to ordered.
|
|
| int | level |
| | The level of the search tree node.
|
| int | pass |
| | How many times the cut generator was already invoked in this search tree node.
|
| int | formulation_rows |
| | The number of rows in the original formulation.
|
| int | options |
| | Options 1 - treat costed integers as important 2 - switch off some stuff as variables semi-integer 4 - set global cut flag if at root node 8 - set global cut flag if at root node and first pass 16 - set global cut flag and make cuts globally valid 32 - last round of cuts did nothing - maybe be more aggressive 64 - in preprocessing stage 128 - looks like solution 256 - want alternate cuts 512 - in sub tree (i.e.
|
| bool | inTree |
| | Set true if in tree (to avoid ambiguity at first branch).
|
| int | hasParent |
| | nonzero if called from child of main model 1 if heuristic run 2 if doing full search
|
| OsiSolverInterface * | parentSolver |
| | parent solver
|
| int * | originalColumns |
| | Original columns (if preprocessed).
|
| OsiRowCut ** | strengthenRow |
| | Replacement array.
|
| CoinThreadRandom * | randomNumberGenerator |
| | Optional pointer to thread specific random number generator.
|
Definition at line 92 of file CglTreeInfo.hpp.
◆ CglTreeProbingInfo() [1/3]
| CglTreeProbingInfo::CglTreeProbingInfo |
( |
| ) |
|
◆ CglTreeProbingInfo() [2/3]
| CglTreeProbingInfo::CglTreeProbingInfo |
( |
const OsiSolverInterface * | model | ) |
|
◆ CglTreeProbingInfo() [3/3]
◆ ~CglTreeProbingInfo()
| virtual CglTreeProbingInfo::~CglTreeProbingInfo |
( |
| ) |
|
|
virtual |
◆ clone()
| virtual CglTreeInfo * CglTreeProbingInfo::clone |
( |
| ) |
const |
|
virtual |
◆ operator=()
◆ analyze()
| OsiSolverInterface * CglTreeProbingInfo::analyze |
( |
const OsiSolverInterface & | si, |
|
|
int | createSolver = 0, |
|
|
int | numberExtraCliques = 0, |
|
|
const CoinBigIndex * | starts = NULL, |
|
|
const CliqueEntry * | entries = NULL, |
|
|
const char * | type = NULL ) |
◆ fixes()
| virtual bool CglTreeProbingInfo::fixes |
( |
int | variable, |
|
|
int | toValue, |
|
|
int | fixedVariable, |
|
|
bool | fixedToLower ) |
|
virtual |
Take action if cut generator can fix a variable (toValue -1 for down, +1 for up) Returns true if still room, false if not.
Reimplemented from CglTreeInfo.
◆ initializeFixing()
| virtual int CglTreeProbingInfo::initializeFixing |
( |
const OsiSolverInterface * | model | ) |
|
|
virtual |
Initalizes fixing arrays etc - returns >0 if we want to save info 0 if we don't and -1 if is to be used.
Reimplemented from CglTreeInfo.
◆ fixColumns() [1/2]
| int CglTreeProbingInfo::fixColumns |
( |
OsiSolverInterface & | si | ) |
const |
Fix entries in a solver using implications.
◆ fixColumns() [2/2]
| int CglTreeProbingInfo::fixColumns |
( |
int | iColumn, |
|
|
int | value, |
|
|
OsiSolverInterface & | si ) const |
Fix entries in a solver using implications for one variable.
◆ packDown()
| int CglTreeProbingInfo::packDown |
( |
| ) |
|
◆ generateCuts()
| void CglTreeProbingInfo::generateCuts |
( |
const OsiSolverInterface & | si, |
|
|
OsiCuts & | cs, |
|
|
const CglTreeInfo | info ) const |
Generate cuts from implications.
◆ fixEntries()
◆ toZero()
| int * CglTreeProbingInfo::toZero |
( |
| ) |
|
|
inline |
◆ toOne()
| int * CglTreeProbingInfo::toOne |
( |
| ) |
|
|
inline |
◆ integerVariable()
| int * CglTreeProbingInfo::integerVariable |
( |
| ) |
const |
|
inline |
◆ backward()
| int * CglTreeProbingInfo::backward |
( |
| ) |
const |
|
inline |
◆ numberVariables()
| int CglTreeProbingInfo::numberVariables |
( |
| ) |
const |
|
inline |
◆ numberIntegers()
| int CglTreeProbingInfo::numberIntegers |
( |
| ) |
const |
|
inline |
◆ convert()
| void CglTreeProbingInfo::convert |
( |
| ) |
|
|
private |
◆ fixEntry_
◆ toZero_
| int* CglTreeProbingInfo::toZero_ |
|
protected |
◆ toOne_
| int* CglTreeProbingInfo::toOne_ |
|
protected |
◆ integerVariable_
| int* CglTreeProbingInfo::integerVariable_ |
|
protected |
◆ backward_
| int* CglTreeProbingInfo::backward_ |
|
protected |
◆ fixingEntry_
| int* CglTreeProbingInfo::fixingEntry_ |
|
protected |
Entries for fixing variable when collecting.
Definition at line 186 of file CglTreeInfo.hpp.
◆ numberVariables_
| int CglTreeProbingInfo::numberVariables_ |
|
protected |
◆ numberIntegers_
| int CglTreeProbingInfo::numberIntegers_ |
|
protected |
◆ maximumEntries_
| int CglTreeProbingInfo::maximumEntries_ |
|
protected |
◆ numberEntries_
| int CglTreeProbingInfo::numberEntries_ |
|
protected |
Number entries in fixingEntry_ (and fixEntry_) or -2 if correct style.
Definition at line 194 of file CglTreeInfo.hpp.
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/coin-or-Cgl-0.60.10-build/Cgl-releases-0.60.10/Cgl/src/CglTreeInfo.hpp