Cbc
2.10.10
|
List of bounds which depend on other bounds. More...
#include <CbcLinked.hpp>
Classes | |
struct | boundElementAction |
Public Member Functions | |
Action methods | |
void | updateBounds (ClpSimplex *solver) |
Update other bounds. More... | |
Constructors and destructors | |
OsiLinkedBound () | |
Default Constructor. More... | |
OsiLinkedBound (OsiSolverInterface *model, int variable, int numberAffected, const int *positionL, const int *positionU, const double *multiplier) | |
Useful Constructor. More... | |
OsiLinkedBound (const OsiLinkedBound &) | |
Copy constructor. More... | |
OsiLinkedBound & | operator= (const OsiLinkedBound &rhs) |
Assignment operator. More... | |
~OsiLinkedBound () | |
Destructor. More... | |
Sets and Gets | |
int | variable () const |
Get variable. More... | |
void | addBoundModifier (bool upperBoundAffected, bool useUpperBound, int whichVariable, double multiplier=1.0) |
Add a bound modifier. More... | |
Protected Attributes | |
Private member data | |
OsiSolverInterface * | model_ |
Pointer back to model. More... | |
int | variable_ |
Variable. More... | |
int | numberAffected_ |
Number of variables/elements affected. More... | |
int | maximumAffected_ |
Maximum number of variables/elements affected. More... | |
boundElementAction * | affected_ |
Actions. More... | |
List of bounds which depend on other bounds.
Definition at line 314 of file CbcLinked.hpp.
OsiLinkedBound::OsiLinkedBound | ( | ) |
Default Constructor.
OsiLinkedBound::OsiLinkedBound | ( | OsiSolverInterface * | model, |
int | variable, | ||
int | numberAffected, | ||
const int * | positionL, | ||
const int * | positionU, | ||
const double * | multiplier | ||
) |
Useful Constructor.
OsiLinkedBound::OsiLinkedBound | ( | const OsiLinkedBound & | ) |
Copy constructor.
OsiLinkedBound::~OsiLinkedBound | ( | ) |
Destructor.
void OsiLinkedBound::updateBounds | ( | ClpSimplex * | solver | ) |
Update other bounds.
OsiLinkedBound& OsiLinkedBound::operator= | ( | const OsiLinkedBound & | rhs | ) |
Assignment operator.
|
inline |
Get variable.
Definition at line 347 of file CbcLinked.hpp.
void OsiLinkedBound::addBoundModifier | ( | bool | upperBoundAffected, |
bool | useUpperBound, | ||
int | whichVariable, | ||
double | multiplier = 1.0 |
||
) |
Add a bound modifier.
|
protected |
Pointer back to model.
Definition at line 378 of file CbcLinked.hpp.
|
protected |
Variable.
Definition at line 380 of file CbcLinked.hpp.
|
protected |
Number of variables/elements affected.
Definition at line 382 of file CbcLinked.hpp.
|
protected |
Maximum number of variables/elements affected.
Definition at line 384 of file CbcLinked.hpp.
|
protected |
Actions.
Definition at line 386 of file CbcLinked.hpp.