#include <string>
#include <vector>
#include "OsiBranchingObject.hpp"
Go to the source code of this file.
Classes | |
struct | CbcStrongInfo |
Abstract base class for `objects'. More... | |
class | CbcObject |
class | CbcBranchingObject |
Abstract branching object base class Now just difference with OsiBranchingObject. More... | |
class | CbcBranchDecision |
Abstract branching decision base class. More... | |
class | CbcConsequence |
Abstract base class for consequent bounds. More... | |
class | CbcObjectUpdateData |
Enumerations | |
enum | CbcRangeCompare { CbcRangeSame, CbcRangeDisjoint, CbcRangeSubset, CbcRangeSuperset, CbcRangeOverlap } |
Functions | |
static CbcRangeCompare | CbcCompareRanges (double *thisBd, const double *otherBd, const bool replaceIfOverlap) |
Compare two ranges. |
enum CbcRangeCompare |
Definition at line 21 of file CbcBranchBase.hpp.
static CbcRangeCompare CbcCompareRanges | ( | double * | thisBd, | |
const double * | otherBd, | |||
const bool | replaceIfOverlap | |||
) | [inline, static] |
Compare two ranges.
The two bounds arrays are both of size two and describe closed intervals. Return the appropriate CbcRangeCompare value (first argument being the sub/superset if that's the case). In case of overlap (and if replaceIfOverlap
is true) replace the content of thisBd with the intersection of the ranges.
Definition at line 614 of file CbcBranchBase.hpp.