Dip
0.92.4
|
Class to deal with symmetry. More...
#include <CbcSymmetry.hpp>
Classes | |
struct | less_than_str |
struct | myclass |
struct | myclass0 |
class | Node |
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 (CbcModel *model) |
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 |
Private Attributes | |
std::vector< Node > | node_info_ |
CbcNauty * | nauty_info_ |
int | numberColumns_ |
int | numberUsefulOrbits_ |
int | numberUsefulObjects_ |
int * | whichOrbit_ |
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 66 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 145 of file CbcSymmetry.hpp.
References numberUsefulOrbits_, and whichOrbit_.
|
inline |
Definition at line 149 of file CbcSymmetry.hpp.
References numberUsefulOrbits_.
|
inline |
Definition at line 153 of file CbcSymmetry.hpp.
References numberUsefulObjects_.
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 |
Definition at line 161 of file CbcSymmetry.hpp.
References nauty_info_.
void CbcSymmetry::setupSymmetry | ( | CbcModel * | model | ) |
empty if no NTY, symmetry data structure setup otherwise
myclass0 CbcSymmetry::node_sort |
Definition at line 135 of file CbcSymmetry.hpp.
myclass CbcSymmetry::index_sort |
Definition at line 136 of file CbcSymmetry.hpp.
|
mutableprivate |
Definition at line 170 of file CbcSymmetry.hpp.
|
mutableprivate |
Definition at line 171 of file CbcSymmetry.hpp.
Referenced by getNtyInfo().
|
private |
Definition at line 172 of file CbcSymmetry.hpp.
|
private |
Definition at line 173 of file CbcSymmetry.hpp.
Referenced by numberUsefulOrbits(), and whichOrbit().
|
private |
Definition at line 174 of file CbcSymmetry.hpp.
Referenced by numberUsefulObjects().
|
private |
Definition at line 175 of file CbcSymmetry.hpp.
Referenced by whichOrbit().