#include <CbcBranchActual.hpp>
Inheritance diagram for CbcClique:


Public Member Functions | |
| CbcClique () | |
| CbcClique (CbcModel *model, int cliqueType, int numberMembers, const int *which, const char *type, int identifier, int slack=-1) | |
| Useful constructor (which are integer indices) slack can denote a slack in set. | |
| CbcClique (const CbcClique &) | |
| virtual CbcObject * | clone () const |
| Clone. | |
| CbcClique & | operator= (const CbcClique &rhs) |
| ~CbcClique () | |
| virtual double | infeasibility (int &preferredWay) const |
| Infeasibility - large is 0.5. | |
| virtual void | feasibleRegion () |
| This looks at solution and sets bounds to contain solution. | |
| virtual CbcBranchingObject * | createBranch (int way) |
| Creates a branching object. | |
| int | numberMembers () const |
| Number of members. | |
| int | numberNonSOSMembers () const |
| Number of Non SOS members i.e. fixing to zero is strong. | |
| const int * | members () const |
| Members (indices in range 0 ... numberIntegers_-1). | |
| char | type (int index) const |
| Type of each member i.e. | |
| int | cliqueType () const |
| Clique type - 0 <=, 1 ==. | |
| virtual void | redoSequenceEtc (CbcModel *model, int numberColumns, const int *originalColumns) |
| Redoes data when sequence numbers change. | |
Protected Attributes | |
| int | numberMembers_ |
| data Number of members | |
| int | numberNonSOSMembers_ |
| Number of Non SOS members i.e. fixing to zero is strong. | |
| int * | members_ |
| Members (indices in range 0 ... numberIntegers_-1). | |
| char * | type_ |
| Type of each member 0=SOS, 1 =clique. | |
| int | cliqueType_ |
| Clique type - 0 <=, 1 ==. | |
| int | slack_ |
| Which one is slack (if any) sequence within this set. | |
Definition at line 12 of file CbcBranchActual.hpp.
| CbcClique::CbcClique | ( | ) |
| CbcClique::CbcClique | ( | CbcModel * | model, | |
| int | cliqueType, | |||
| int | numberMembers, | |||
| const int * | which, | |||
| const char * | type, | |||
| int | identifier, | |||
| int | slack = -1 | |||
| ) |
Useful constructor (which are integer indices) slack can denote a slack in set.
If type == NULL then as if 1
| CbcClique::CbcClique | ( | const CbcClique & | ) |
| CbcClique::~CbcClique | ( | ) |
| virtual double CbcClique::infeasibility | ( | int & | preferredWay | ) | const [virtual] |
| virtual void CbcClique::feasibleRegion | ( | ) | [virtual] |
| virtual CbcBranchingObject* CbcClique::createBranch | ( | int | way | ) | [virtual] |
| int CbcClique::numberMembers | ( | ) | const [inline] |
| int CbcClique::numberNonSOSMembers | ( | ) | const [inline] |
Number of Non SOS members i.e. fixing to zero is strong.
Definition at line 55 of file CbcBranchActual.hpp.
References numberNonSOSMembers_.
| const int* CbcClique::members | ( | ) | const [inline] |
Members (indices in range 0 ... numberIntegers_-1).
Definition at line 59 of file CbcBranchActual.hpp.
References members_.
| char CbcClique::type | ( | int | index | ) | const [inline] |
Type of each member i.e.
which way is strong 0=non SOS, 1 =SOS, index is 0 ... numberMembers_-1
Definition at line 64 of file CbcBranchActual.hpp.
References type_.
| int CbcClique::cliqueType | ( | ) | const [inline] |
Clique type - 0 <=, 1 ==.
Definition at line 68 of file CbcBranchActual.hpp.
References cliqueType_.
| virtual void CbcClique::redoSequenceEtc | ( | CbcModel * | model, | |
| int | numberColumns, | |||
| const int * | originalColumns | |||
| ) | [virtual] |
int CbcClique::numberMembers_ [protected] |
data Number of members
Definition at line 76 of file CbcBranchActual.hpp.
Referenced by numberMembers().
int CbcClique::numberNonSOSMembers_ [protected] |
Number of Non SOS members i.e. fixing to zero is strong.
Definition at line 79 of file CbcBranchActual.hpp.
Referenced by numberNonSOSMembers().
int* CbcClique::members_ [protected] |
Members (indices in range 0 ... numberIntegers_-1).
Definition at line 82 of file CbcBranchActual.hpp.
Referenced by members().
char* CbcClique::type_ [protected] |
Type of each member 0=SOS, 1 =clique.
Definition at line 85 of file CbcBranchActual.hpp.
Referenced by type().
int CbcClique::cliqueType_ [protected] |
Clique type - 0 <=, 1 ==.
Definition at line 88 of file CbcBranchActual.hpp.
Referenced by cliqueType().
int CbcClique::slack_ [protected] |
Which one is slack (if any) sequence within this set.
Definition at line 91 of file CbcBranchActual.hpp.
1.4.7