CglTreeProbingInfo Class Reference

#include <CglTreeInfo.hpp>

Inheritance diagram for CglTreeProbingInfo:
Inheritance graph
[legend]
Collaboration diagram for CglTreeProbingInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CglTreeProbingInfo ()
 Default constructor.
 CglTreeProbingInfo (const OsiSolverInterface *model)
 Constructor from model.
 CglTreeProbingInfo (const CglTreeProbingInfo &)
 Copy constructor.
virtual CglTreeInfoclone () const
 Clone.
CglTreeProbingInfooperator= (const CglTreeProbingInfo &rhs)
 Assignment operator.
virtual ~CglTreeProbingInfo ()
 Destructor.
OsiSolverInterfaceanalyze (const OsiSolverInterface &si, int createSolver=0)
virtual void 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).
virtual bool initializeFixing (const OsiSolverInterface *model)
 Initalizes fixing arrays etc - returns true if we want to save info.
fixEntryfixEntries () 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

fixEntryfixEntry_
 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 * fixingEntry_
 Entries for fixing variable when collecting.
int numberVariables_
 Number of variables.
int numberIntegers_
 Number of 0-1 variables.
int maximumEntries_
 Maximum number in fixEntry_.
int numberEntries_
 Number entries in fixingEntry_ (and fixEntry_) or -1 if correct style.

Private Member Functions

void convert () const
 Converts to ordered.

Detailed Description

Definition at line 67 of file CglTreeInfo.hpp.


Constructor & Destructor Documentation

CglTreeProbingInfo::CglTreeProbingInfo (  ) 

Default constructor.

CglTreeProbingInfo::CglTreeProbingInfo ( const OsiSolverInterface model  ) 

Constructor from model.

CglTreeProbingInfo::CglTreeProbingInfo ( const CglTreeProbingInfo  ) 

Copy constructor.

virtual CglTreeProbingInfo::~CglTreeProbingInfo (  )  [virtual]

Destructor.


Member Function Documentation

virtual CglTreeInfo* CglTreeProbingInfo::clone (  )  const [virtual]

Clone.

Reimplemented from CglTreeInfo.

CglTreeProbingInfo& CglTreeProbingInfo::operator= ( const CglTreeProbingInfo rhs  ) 

Assignment operator.

Reimplemented from CglTreeInfo.

OsiSolverInterface* CglTreeProbingInfo::analyze ( const OsiSolverInterface si,
int  createSolver = 0 
)
virtual void 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).

Reimplemented from CglTreeInfo.

virtual bool CglTreeProbingInfo::initializeFixing ( const OsiSolverInterface model  )  [virtual]

Initalizes fixing arrays etc - returns true if we want to save info.

Reimplemented from CglTreeInfo.

fixEntry* CglTreeProbingInfo::fixEntries (  )  const [inline]

Entries for fixing variables.

Definition at line 94 of file CglTreeInfo.hpp.

int* CglTreeProbingInfo::toZero (  )  const [inline]

Starts of integer variable going to zero.

Definition at line 97 of file CglTreeInfo.hpp.

int* CglTreeProbingInfo::toOne (  )  const [inline]

Starts of integer variable going to one.

Definition at line 100 of file CglTreeInfo.hpp.

int* CglTreeProbingInfo::integerVariable (  )  const [inline]

List of 0-1 integer variables.

Definition at line 103 of file CglTreeInfo.hpp.

int* CglTreeProbingInfo::backward (  )  const [inline]

Backward look up.

Definition at line 106 of file CglTreeInfo.hpp.

int CglTreeProbingInfo::numberVariables (  )  const [inline]

Number of variables.

Definition at line 109 of file CglTreeInfo.hpp.

int CglTreeProbingInfo::numberIntegers (  )  const [inline]

Number of 0-1 variables.

Definition at line 112 of file CglTreeInfo.hpp.

void CglTreeProbingInfo::convert (  )  const [private]

Converts to ordered.


Member Data Documentation

fixEntry* CglTreeProbingInfo::fixEntry_ [mutable, protected]

Entries for fixing variables.

Definition at line 119 of file CglTreeInfo.hpp.

int* CglTreeProbingInfo::toZero_ [mutable, protected]

Starts of integer variable going to zero.

Definition at line 121 of file CglTreeInfo.hpp.

int* CglTreeProbingInfo::toOne_ [mutable, protected]

Starts of integer variable going to one.

Definition at line 123 of file CglTreeInfo.hpp.

List of 0-1 integer variables.

Definition at line 125 of file CglTreeInfo.hpp.

Backward look up.

Definition at line 127 of file CglTreeInfo.hpp.

int* CglTreeProbingInfo::fixingEntry_ [mutable, protected]

Entries for fixing variable when collecting.

Definition at line 129 of file CglTreeInfo.hpp.

Number of variables.

Definition at line 131 of file CglTreeInfo.hpp.

Number of 0-1 variables.

Definition at line 133 of file CglTreeInfo.hpp.

Maximum number in fixEntry_.

Definition at line 135 of file CglTreeInfo.hpp.

int CglTreeProbingInfo::numberEntries_ [mutable, protected]

Number entries in fixingEntry_ (and fixEntry_) or -1 if correct style.

Definition at line 137 of file CglTreeInfo.hpp.


The documentation for this class was generated from the following file:

Generated on 15 Mar 2015 for Coin-All by  doxygen 1.6.1