Cbc  2.10.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | List of all members
OsiLinkedBound Class Reference

List of bounds which depend on other bounds. More...

#include <CbcLinked.hpp>

+ Collaboration diagram for OsiLinkedBound:

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...
 
OsiLinkedBoundoperator= (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
OsiSolverInterfacemodel_
 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...
 
boundElementActionaffected_
 Actions. More...
 

Detailed Description

List of bounds which depend on other bounds.

Definition at line 314 of file CbcLinked.hpp.

Constructor & Destructor Documentation

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.

Member Function Documentation

void OsiLinkedBound::updateBounds ( ClpSimplex solver)

Update other bounds.

OsiLinkedBound& OsiLinkedBound::operator= ( const OsiLinkedBound rhs)

Assignment operator.

int OsiLinkedBound::variable ( ) const
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.

Member Data Documentation

OsiSolverInterface* OsiLinkedBound::model_
protected

Pointer back to model.

Definition at line 378 of file CbcLinked.hpp.

int OsiLinkedBound::variable_
protected

Variable.

Definition at line 380 of file CbcLinked.hpp.

int OsiLinkedBound::numberAffected_
protected

Number of variables/elements affected.

Definition at line 382 of file CbcLinked.hpp.

int OsiLinkedBound::maximumAffected_
protected

Maximum number of variables/elements affected.

Definition at line 384 of file CbcLinked.hpp.

boundElementAction* OsiLinkedBound::affected_
protected

Actions.

Definition at line 386 of file CbcLinked.hpp.


The documentation for this class was generated from the following file: