#include <CbcBranchActual.hpp>
Inheritance diagram for CbcNWay:
Public Member Functions | |
CbcNWay () | |
CbcNWay (CbcModel *model, int numberMembers, const int *which, int identifier) | |
Useful constructor (which are matrix indices). | |
CbcNWay (const CbcNWay &) | |
virtual CbcObject * | clone () const |
Clone. | |
CbcNWay & | operator= (const CbcNWay &rhs) |
Assignment operator. | |
~CbcNWay () | |
Destructor. | |
void | setConsequence (int iColumn, const CbcConsequence &consequence) |
Set up a consequence for a single member. | |
void | applyConsequence (int iSequence, int state) const |
Applies a consequence for a single member. | |
virtual double | infeasibility (int &preferredWay) const |
Infeasibility - large is 0.5 (and 0.5 will give this). | |
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. | |
const int * | members () const |
Members (indices in range 0 ... numberColumns-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 * | members_ |
Members (indices in range 0 ... numberColumns-1). | |
CbcConsequence ** | consequence_ |
Consequences (normally NULL). |
Only valid value is one at UB others at LB Normally 0-1
Definition at line 307 of file CbcBranchActual.hpp.
|
|
|
Useful constructor (which are matrix indices).
|
|
|
|
Destructor.
|
|
Clone.
Implements CbcObject. |
|
Assignment operator.
|
|
Set up a consequence for a single member.
|
|
Applies a consequence for a single member.
|
|
Infeasibility - large is 0.5 (and 0.5 will give this).
Implements CbcObject. |
|
This looks at solution and sets bounds to contain solution.
Implements CbcObject. |
|
Creates a branching object.
Implements CbcObject. |
|
Number of members.
Definition at line 345 of file CbcBranchActual.hpp. |
|
Members (indices in range 0 ... numberColumns-1).
Definition at line 349 of file CbcBranchActual.hpp. |
|
Redoes data when sequence numbers change.
Reimplemented from CbcObject. |
|
data Number of members
Definition at line 357 of file CbcBranchActual.hpp. |
|
Members (indices in range 0 ... numberColumns-1).
Definition at line 360 of file CbcBranchActual.hpp. |
|
Consequences (normally NULL).
Definition at line 362 of file CbcBranchActual.hpp. |