Cbc
2.9.8
|
Class to deal with symmetry. More...
#include <CbcSymmetry.hpp>
Public Member Functions | |
std::vector< int > * | Find_Orbit (int) const |
void | Compute_Symmetry () const |
int | statsOrbits (CbcModel *model, int type) const |
void | Print_Orbits () const |
void | fillOrbits () |
int | orbitalFixing (OsiSolverInterface *solver) |
Fixes variables using orbits (returns number fixed) More... | |
int * | whichOrbit () |
int | numberUsefulOrbits () const |
int | numberUsefulObjects () const |
int | largestOrbit (const double *lower, const double *upper) const |
void | ChangeBounds (const double *lower, const double *upper, int numberColumns, bool justFixedAtOne) const |
bool | compare (register Node &a, register Node &b) const |
CbcNauty * | getNtyInfo () |
void | setupSymmetry (const OsiSolverInterface &solver) |
empty if no NTY, symmetry data structure setup otherwise More... | |
Constructors and destructors | |
CbcSymmetry () | |
Default constructor. More... | |
CbcSymmetry (const CbcSymmetry &) | |
Copy constructor. More... | |
CbcSymmetry & | operator= (const CbcSymmetry &rhs) |
Assignment operator. More... | |
~CbcSymmetry () | |
Destructor. More... | |
Public Attributes | |
myclass0 | node_sort |
myclass | index_sort |
Class to deal with symmetry.
Hacked from Couenne Thanks, but it had been nice to make sure that there are no symbol collisions when building Couenne with this Cbc.
Definition at line 69 of file CbcSymmetry.hpp.
CbcSymmetry::CbcSymmetry | ( | ) |
Default constructor.
CbcSymmetry::CbcSymmetry | ( | const CbcSymmetry & | ) |
Copy constructor.
CbcSymmetry::~CbcSymmetry | ( | ) |
Destructor.
CbcSymmetry& CbcSymmetry::operator= | ( | const CbcSymmetry & | rhs | ) |
Assignment operator.
std::vector<int>* CbcSymmetry::Find_Orbit | ( | int | ) | const |
void CbcSymmetry::Compute_Symmetry | ( | ) | const |
int CbcSymmetry::statsOrbits | ( | CbcModel * | model, |
int | type | ||
) | const |
void CbcSymmetry::Print_Orbits | ( | ) | const |
void CbcSymmetry::fillOrbits | ( | ) |
int CbcSymmetry::orbitalFixing | ( | OsiSolverInterface * | solver | ) |
Fixes variables using orbits (returns number fixed)
|
inline |
Definition at line 150 of file CbcSymmetry.hpp.
|
inline |
Definition at line 152 of file CbcSymmetry.hpp.
|
inline |
Definition at line 154 of file CbcSymmetry.hpp.
int CbcSymmetry::largestOrbit | ( | const double * | lower, |
const double * | upper | ||
) | const |
void CbcSymmetry::ChangeBounds | ( | const double * | lower, |
const double * | upper, | ||
int | numberColumns, | ||
bool | justFixedAtOne | ||
) | const |
|
inline |
|
inline |
Definition at line 160 of file CbcSymmetry.hpp.
void CbcSymmetry::setupSymmetry | ( | const OsiSolverInterface & | solver | ) |
empty if no NTY, symmetry data structure setup otherwise
myclass0 CbcSymmetry::node_sort |
Definition at line 140 of file CbcSymmetry.hpp.
myclass CbcSymmetry::index_sort |
Definition at line 141 of file CbcSymmetry.hpp.