OsiLinkedBound Class Reference

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

#include <CbcLinked.hpp>

Collaboration diagram for OsiLinkedBound:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Action methods
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.
OsiLinkedBoundoperator= (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.

Private Attributes

Private member data
OsiSolverInterfacemodel_
 Pointer back to model.
int variable_
 Variable.
int numberAffected_
 Number of variables/elements affected.
int maximumAffected_
 Maximum number of variables/elements affected.
boundElementActionaffected_
 Actions.

Classes

struct  boundElementAction

Detailed Description

List of bounds which depend on other bounds.

Definition at line 279 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 313 of file CbcLinked.hpp.

References variable_.

void OsiLinkedBound::addBoundModifier ( bool  upperBoundAffected,
bool  useUpperBound,
int  whichVariable,
double  multiplier = 1.0 
)

Add a bound modifier.


Member Data Documentation

OsiSolverInterface* OsiLinkedBound::model_ [private]

Pointer back to model.

Definition at line 342 of file CbcLinked.hpp.

int OsiLinkedBound::variable_ [private]

Variable.

Definition at line 344 of file CbcLinked.hpp.

Referenced by variable().

int OsiLinkedBound::numberAffected_ [private]

Number of variables/elements affected.

Definition at line 346 of file CbcLinked.hpp.

int OsiLinkedBound::maximumAffected_ [private]

Maximum number of variables/elements affected.

Definition at line 348 of file CbcLinked.hpp.

boundElementAction* OsiLinkedBound::affected_ [private]

Actions.

Definition at line 350 of file CbcLinked.hpp.


The documentation for this class was generated from the following file:
Generated on Sun Nov 14 14:14:21 2010 for Coin-All by  doxygen 1.4.7