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. | |
void | updateBounds (ClpSimplex *solver) |
Update other bounds. | |
Constructors and destructors | |
OsiLinkedBound () | |
Default Constructor. | |
OsiLinkedBound (OsiSolverInterface *model, int variable, int numberAffected, const int *positionL, const int *positionU, const double *multiplier) | |
Useful Constructor. | |
OsiLinkedBound (const OsiLinkedBound &) | |
Copy constructor. | |
OsiLinkedBound & | operator= (const OsiLinkedBound &rhs) |
Assignment operator. | |
~OsiLinkedBound () | |
Destructor. | |
OsiLinkedBound () | |
Default Constructor. | |
OsiLinkedBound (OsiSolverInterface *model, int variable, int numberAffected, const int *positionL, const int *positionU, const double *multiplier) | |
Useful Constructor. | |
OsiLinkedBound (const OsiLinkedBound &) | |
Copy constructor. | |
OsiLinkedBound & | operator= (const OsiLinkedBound &rhs) |
Assignment operator. | |
~OsiLinkedBound () | |
Destructor. | |
Sets and Gets | |
int | variable () const |
Get variable. | |
void | addBoundModifier (bool upperBoundAffected, bool useUpperBound, int whichVariable, double multiplier=1.0) |
Add a bound modifier. | |
int | variable () const |
Get variable. | |
void | addBoundModifier (bool upperBoundAffected, bool useUpperBound, int whichVariable, double multiplier=1.0) |
Add a bound modifier. |
Private Attributes | |
Private member data | |
OsiSolverInterface * | model_ |
Pointer back to model. | |
int | variable_ |
Variable. | |
int | numberAffected_ |
Number of variables/elements affected. | |
int | maximumAffected_ |
Maximum number of variables/elements affected. | |
boundElementAction * | affected_ |
Actions. |
List of bounds which depend on other bounds.
Definition at line 298 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.
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 332 of file CbcLinked.hpp.
void OsiLinkedBound::addBoundModifier | ( | bool | upperBoundAffected, |
bool | useUpperBound, | ||
int | whichVariable, | ||
double | multiplier = 1.0 |
||
) |
Add a bound modifier.
void OsiLinkedBound::updateBounds | ( | ClpSimplex * | solver | ) |
Update other bounds.
OsiLinkedBound& OsiLinkedBound::operator= | ( | const OsiLinkedBound & | rhs | ) |
Assignment operator.
|
inline |
Get variable.
Definition at line 332 of file CbcLinked.hpp.
void OsiLinkedBound::addBoundModifier | ( | bool | upperBoundAffected, |
bool | useUpperBound, | ||
int | whichVariable, | ||
double | multiplier = 1.0 |
||
) |
Add a bound modifier.
|
private |
Pointer back to model.
Definition at line 362 of file CbcLinked.hpp.
|
private |
Variable.
Definition at line 364 of file CbcLinked.hpp.
|
private |
Number of variables/elements affected.
Definition at line 366 of file CbcLinked.hpp.
|
private |
Maximum number of variables/elements affected.
Definition at line 368 of file CbcLinked.hpp.
|
private |
Actions.
Definition at line 370 of file CbcLinked.hpp.