#include <CbcBranchActual.hpp>
Inheritance diagram for CbcSOS:
Public Member Functions | |
CbcSOS () | |
CbcSOS (CbcModel *model, int numberMembers, const int *which, const double *weights, int identifier, int type=1) | |
Useful constructor - which are indices and weights are also given. | |
CbcSOS (const CbcSOS &) | |
virtual CbcObject * | clone () const |
Clone. | |
CbcSOS & | operator= (const CbcSOS &rhs) |
~CbcSOS () | |
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. | |
virtual OsiSolverBranch * | solverBranch () const |
Create an OsiSolverBranch object. | |
virtual void | redoSequenceEtc (CbcModel *model, int numberColumns, const int *originalColumns) |
Redoes data when sequence numbers change. | |
int | numberMembers () const |
Number of members. | |
const int * | members () const |
Members (indices in range 0 ... numberColumns-1). | |
int | sosType () const |
SOS type. | |
const double * | weights () const |
Array of weights. | |
Private Attributes | |
int * | members_ |
data Members (indices in range 0 ... numberColumns-1) | |
double * | weights_ |
Weights. | |
int | numberMembers_ |
Number of members. | |
int | sosType_ |
SOS type. |
These do not have to be integer - so do not appear in lists of integers.
which_ points directly to columns of matrix
Definition at line 97 of file CbcBranchActual.hpp.
|
|
|
Useful constructor - which are indices and weights are also given. If null then 0,1,2.. type is SOS type |
|
|
|
|
|
Clone.
Implements CbcObject. |
|
|
|
Infeasibility - large is 0.5.
Implements CbcObject. |
|
This looks at solution and sets bounds to contain solution.
Implements CbcObject. |
|
Creates a branching object.
Implements CbcObject. |
|
Create an OsiSolverBranch object. This returns NULL if branch not represented by bound changes Reimplemented from CbcObject. |
|
Redoes data when sequence numbers change.
Reimplemented from CbcObject. |
|
Number of members.
Definition at line 141 of file CbcBranchActual.hpp. |
|
Members (indices in range 0 ... numberColumns-1).
Definition at line 145 of file CbcBranchActual.hpp. |
|
SOS type.
Definition at line 149 of file CbcBranchActual.hpp. |
|
Array of weights.
Definition at line 153 of file CbcBranchActual.hpp. |
|
data Members (indices in range 0 ... numberColumns-1)
Definition at line 160 of file CbcBranchActual.hpp. |
|
Weights.
Definition at line 162 of file CbcBranchActual.hpp. |
|
Number of members.
Definition at line 165 of file CbcBranchActual.hpp. |
|
SOS type.
Definition at line 167 of file CbcBranchActual.hpp. |