Alps 1.5.11
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
AbcNodeDesc Class Reference

#include <AbcNodeDesc.h>

+ Inheritance diagram for AbcNodeDesc:
+ Collaboration diagram for AbcNodeDesc:

Public Member Functions

 AbcNodeDesc ()
 
 AbcNodeDesc (AbcModel *m)
 
 AbcNodeDesc (AbcModel *m, const double *lb, const double *ub)
 
virtual ~AbcNodeDesc ()
 
double * lowerBounds ()
 
void setLowerBounds (const double *lb, const int size)
 
void setLowerBound (const int index, const double lb)
 
double * upperBounds ()
 
void setUpperBounds (const double *ub, const int size)
 
void setUpperBound (const int index, const double ub)
 
void setBranchedOn (int b)
 
void setBranchedDir (int d)
 
void setBranchedOnValue (double b)
 
int getBranchedOn () const
 
int getBranchedDir () const
 
double getBranchedOnValue () const
 
 AbcNodeDesc ()
 
 AbcNodeDesc (AbcModel *m)
 
 AbcNodeDesc (AbcModel *m, const double *lb, const double *ub)
 
virtual ~AbcNodeDesc ()
 
double * lowerBounds ()
 
void setLowerBounds (const double *lb, const int size)
 
void setLowerBound (const int index, const double lb)
 
double * upperBounds ()
 
void setUpperBounds (const double *ub, const int size)
 
void setUpperBound (const int index, const double ub)
 
void setBranchedOn (int b)
 
void setBranchedDir (int d)
 
void setBranchedOnValue (double b)
 
int getBranchedOn () const
 
int getBranchedDir () const
 
double getBranchedOnValue () const
 
- Public Member Functions inherited from AlpsNodeDesc
 AlpsNodeDesc ()
 
 AlpsNodeDesc (AlpsModel *m)
 
virtual ~AlpsNodeDesc ()
 
AlpsModelgetModel () const
 
void setModel (AlpsModel *m)
 
virtual AlpsReturnStatus encode (AlpsEncoded *encoded) const
 Pack node description into an encoded.
 
virtual AlpsReturnStatus decode (AlpsEncoded &encoded)
 Unpack a node description from an encoded.
 

Private Attributes

double * lowerBounds_
 
double * upperBounds_
 
int numberRows_
 Number of rows in problem (before these cuts).
 
int numberCols_
 
int branchedOn_
 The index of the branching variable.
 
double branchedOnVal_
 The solution value (non-integral) of the branching variable.
 
int branchedDir_
 Branching direction.
 

Additional Inherited Members

- Protected Attributes inherited from AlpsNodeDesc
AlpsModelmodel_
 A pointer to model.
 

Detailed Description

Definition at line 48 of file AbcNodeDesc.h.

Constructor & Destructor Documentation

◆ AbcNodeDesc() [1/6]

AbcNodeDesc::AbcNodeDesc ( )
inline

Definition at line 78 of file AbcNodeDesc.h.

◆ AbcNodeDesc() [2/6]

AbcNodeDesc::AbcNodeDesc ( AbcModel * m)
inline

Definition at line 91 of file AbcNodeDesc.h.

◆ AbcNodeDesc() [3/6]

AbcNodeDesc::AbcNodeDesc ( AbcModel * m,
const double * lb,
const double * ub )
inline

Definition at line 104 of file AbcNodeDesc.h.

◆ ~AbcNodeDesc() [1/2]

virtual AbcNodeDesc::~AbcNodeDesc ( )
inlinevirtual

Definition at line 120 of file AbcNodeDesc.h.

◆ AbcNodeDesc() [4/6]

AbcNodeDesc::AbcNodeDesc ( )
inline

Definition at line 78 of file AbcNodeDesc.h.

◆ AbcNodeDesc() [5/6]

AbcNodeDesc::AbcNodeDesc ( AbcModel * m)
inline

Definition at line 91 of file AbcNodeDesc.h.

◆ AbcNodeDesc() [6/6]

AbcNodeDesc::AbcNodeDesc ( AbcModel * m,
const double * lb,
const double * ub )
inline

Definition at line 104 of file AbcNodeDesc.h.

◆ ~AbcNodeDesc() [2/2]

virtual AbcNodeDesc::~AbcNodeDesc ( )
inlinevirtual

Definition at line 120 of file AbcNodeDesc.h.

Member Function Documentation

◆ lowerBounds() [1/2]

double * AbcNodeDesc::lowerBounds ( )
inline

Definition at line 131 of file AbcNodeDesc.h.

◆ setLowerBounds() [1/2]

void AbcNodeDesc::setLowerBounds ( const double * lb,
const int size )
inline

Definition at line 146 of file AbcNodeDesc.h.

◆ setLowerBound() [1/2]

void AbcNodeDesc::setLowerBound ( const int index,
const double lb )
inline

Definition at line 154 of file AbcNodeDesc.h.

◆ upperBounds() [1/2]

double * AbcNodeDesc::upperBounds ( )
inline

Definition at line 166 of file AbcNodeDesc.h.

◆ setUpperBounds() [1/2]

void AbcNodeDesc::setUpperBounds ( const double * ub,
const int size )
inline

Definition at line 179 of file AbcNodeDesc.h.

◆ setUpperBound() [1/2]

void AbcNodeDesc::setUpperBound ( const int index,
const double ub )
inline

Definition at line 187 of file AbcNodeDesc.h.

◆ setBranchedOn() [1/2]

void AbcNodeDesc::setBranchedOn ( int b)
inline

Definition at line 199 of file AbcNodeDesc.h.

◆ setBranchedDir() [1/2]

void AbcNodeDesc::setBranchedDir ( int d)
inline

Definition at line 201 of file AbcNodeDesc.h.

◆ setBranchedOnValue() [1/2]

void AbcNodeDesc::setBranchedOnValue ( double b)
inline

Definition at line 203 of file AbcNodeDesc.h.

◆ getBranchedOn() [1/2]

int AbcNodeDesc::getBranchedOn ( ) const
inline

Definition at line 205 of file AbcNodeDesc.h.

◆ getBranchedDir() [1/2]

int AbcNodeDesc::getBranchedDir ( ) const
inline

Definition at line 207 of file AbcNodeDesc.h.

◆ getBranchedOnValue() [1/2]

double AbcNodeDesc::getBranchedOnValue ( ) const
inline

Definition at line 209 of file AbcNodeDesc.h.

◆ lowerBounds() [2/2]

double * AbcNodeDesc::lowerBounds ( )
inline

Definition at line 131 of file AbcNodeDesc.h.

◆ setLowerBounds() [2/2]

void AbcNodeDesc::setLowerBounds ( const double * lb,
const int size )
inline

Definition at line 146 of file AbcNodeDesc.h.

◆ setLowerBound() [2/2]

void AbcNodeDesc::setLowerBound ( const int index,
const double lb )
inline

Definition at line 154 of file AbcNodeDesc.h.

◆ upperBounds() [2/2]

double * AbcNodeDesc::upperBounds ( )
inline

Definition at line 166 of file AbcNodeDesc.h.

◆ setUpperBounds() [2/2]

void AbcNodeDesc::setUpperBounds ( const double * ub,
const int size )
inline

Definition at line 179 of file AbcNodeDesc.h.

◆ setUpperBound() [2/2]

void AbcNodeDesc::setUpperBound ( const int index,
const double ub )
inline

Definition at line 187 of file AbcNodeDesc.h.

◆ setBranchedOn() [2/2]

void AbcNodeDesc::setBranchedOn ( int b)
inline

Definition at line 199 of file AbcNodeDesc.h.

◆ setBranchedDir() [2/2]

void AbcNodeDesc::setBranchedDir ( int d)
inline

Definition at line 201 of file AbcNodeDesc.h.

◆ setBranchedOnValue() [2/2]

void AbcNodeDesc::setBranchedOnValue ( double b)
inline

Definition at line 203 of file AbcNodeDesc.h.

◆ getBranchedOn() [2/2]

int AbcNodeDesc::getBranchedOn ( ) const
inline

Definition at line 205 of file AbcNodeDesc.h.

◆ getBranchedDir() [2/2]

int AbcNodeDesc::getBranchedDir ( ) const
inline

Definition at line 207 of file AbcNodeDesc.h.

◆ getBranchedOnValue() [2/2]

double AbcNodeDesc::getBranchedOnValue ( ) const
inline

Definition at line 209 of file AbcNodeDesc.h.

Member Data Documentation

◆ lowerBounds_

double * AbcNodeDesc::lowerBounds_
private

Definition at line 59 of file AbcNodeDesc.h.

◆ upperBounds_

double * AbcNodeDesc::upperBounds_
private

Definition at line 61 of file AbcNodeDesc.h.

◆ numberRows_

int AbcNodeDesc::numberRows_
private

Number of rows in problem (before these cuts).

This means that for top of chain it must be rows at continuous

Definition at line 65 of file AbcNodeDesc.h.

◆ numberCols_

int AbcNodeDesc::numberCols_
private

Definition at line 67 of file AbcNodeDesc.h.

◆ branchedOn_

int AbcNodeDesc::branchedOn_
private

The index of the branching variable.

Definition at line 70 of file AbcNodeDesc.h.

◆ branchedOnVal_

double AbcNodeDesc::branchedOnVal_
private

The solution value (non-integral) of the branching variable.

Definition at line 73 of file AbcNodeDesc.h.

◆ branchedDir_

int AbcNodeDesc::branchedDir_
private

Branching direction.

Definition at line 76 of file AbcNodeDesc.h.


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