Cbc
2.10.10
|
#include <string>
#include <vector>
#include "OsiBranchingObject.hpp"
#include "CbcObject.hpp"
#include "CbcBranchingObject.hpp"
#include "CbcBranchDecision.hpp"
#include "CbcConsequence.hpp"
#include "CbcObjectUpdateData.hpp"
Go to the source code of this file.
Enumerations | |
enum | CbcRangeCompare { CbcRangeSame, CbcRangeDisjoint, CbcRangeSubset, CbcRangeSuperset, CbcRangeOverlap } |
Functions | |
static CbcRangeCompare | CbcCompareRanges (double *thisBd, const double *otherBd, const bool replaceIfOverlap) |
Compare two ranges. More... | |
enum CbcRangeCompare |
Enumerator | |
---|---|
CbcRangeSame | |
CbcRangeDisjoint | |
CbcRangeSubset | |
CbcRangeSuperset | |
CbcRangeOverlap |
Definition at line 13 of file CbcBranchBase.hpp.
|
inlinestatic |
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 36 of file CbcBranchBase.hpp.