Define a class to add a bit of complexity to OsiObject This assumes 2 way branching. More...
#include <OsiBranchingObject.hpp>
Public Member Functions | |
OsiObject2 () | |
Default Constructor. | |
OsiObject2 (const OsiObject2 &) | |
Copy constructor. | |
OsiObject2 & | operator= (const OsiObject2 &rhs) |
Assignment operator. | |
virtual | ~OsiObject2 () |
Destructor. | |
void | setPreferredWay (int value) |
Set preferred way of branching - -1 off, 0 down, 1 up (for 2-way). | |
virtual int | preferredWay () const |
Get preferred way of branching - -1 off, 0 down, 1 up (for 2-way). | |
Protected Attributes | |
int | preferredWay_ |
Preferred way of branching - -1 off, 0 down, 1 up (for 2-way). | |
double | otherInfeasibility_ |
"Infeasibility" on other way |
Define a class to add a bit of complexity to OsiObject This assumes 2 way branching.
Definition at line 199 of file OsiBranchingObject.hpp.
OsiObject2::OsiObject2 | ( | ) |
Default Constructor.
OsiObject2::OsiObject2 | ( | const OsiObject2 & | ) |
Copy constructor.
virtual OsiObject2::~OsiObject2 | ( | ) | [virtual] |
Destructor.
OsiObject2& OsiObject2::operator= | ( | const OsiObject2 & | rhs | ) |
Assignment operator.
Reimplemented from OsiObject.
Reimplemented in OsiOldLink, OsiLink, OsiBiLinear, OsiBiLinearEquality, OsiSimpleFixedInteger, OsiUsesBiLinear, OsiSimpleInteger, OsiSOS, and OsiLotsize.
void OsiObject2::setPreferredWay | ( | int | value | ) | [inline] |
Set preferred way of branching - -1 off, 0 down, 1 up (for 2-way).
Definition at line 216 of file OsiBranchingObject.hpp.
virtual int OsiObject2::preferredWay | ( | ) | const [inline, virtual] |
Get preferred way of branching - -1 off, 0 down, 1 up (for 2-way).
Reimplemented from OsiObject.
Definition at line 220 of file OsiBranchingObject.hpp.
int OsiObject2::preferredWay_ [protected] |
Preferred way of branching - -1 off, 0 down, 1 up (for 2-way).
Definition at line 224 of file OsiBranchingObject.hpp.
double OsiObject2::otherInfeasibility_ [mutable, protected] |
"Infeasibility" on other way
Definition at line 226 of file OsiBranchingObject.hpp.