Public Member Functions | Public Attributes | List of all members
OSNode Class Reference

#include <OSNode.h>

Public Member Functions

 OSNode ()
 Default Constructor. More...
 
 OSNode (int rowIdxNumNonz_, int thetaNumNonz_)
 Constructor for allocating arrays. More...
 
 ~OSNode ()
 Default destructor. More...
 

Public Attributes

int parentID
 parentID is the node ID of the parent More...
 
int nodeID
 nodeID is the node ID More...
 
int rowIdxNumNonz
 rowIdxNumNonz is the number of non-zero elements in rowIndex More...
 
introwIdx
 rowIdx is a vector of row indexes for which we are setting the upper and lower bounds More...
 
double * rowUB
 rowUB is a vector of row upper bounds More...
 
double * rowLB
 rowLB is a vector of row lower bounds More...
 
double lpValue
 lpValue is the LP relaxation for the node More...
 
int thetaNumNonz
 thetaNumNonz is the number of non-zero elements in the theta variable solution at this node More...
 
intthetaIdx
 theta is an array of primal solution variable indexes More...
 
double * theta
 theta is an array of primal positive values this is used for branching and creating new children nodes More...
 
std::vector< std::pair< int,
int > > 
colBasisStatus
 colBasisStatus is vector of integer pairs, for each element of the vector we store the pair (index, status) where status is: basis code: More...
 
std::vector< std::pair< int,
int > > 
rowBasisStatus
 rowBasisStatus is the vector of pairs for rows More...
 
std::set< intreducedCostIdx
 reducedCostVec will hold variables within a tolerance on their reduced costs. More...
 

Detailed Description

Definition at line 28 of file OSNode.h.

Constructor & Destructor Documentation

OSNode::OSNode ( )

Default Constructor.

Definition at line 18 of file OSNode.cpp.

OSNode::OSNode ( int  rowIdxNumNonz_,
int  thetaNumNonz_ 
)

Constructor for allocating arrays.

Definition at line 26 of file OSNode.cpp.

OSNode::~OSNode ( )

Default destructor.

Definition at line 46 of file OSNode.cpp.

Member Data Documentation

int OSNode::parentID

parentID is the node ID of the parent

Definition at line 34 of file OSNode.h.

int OSNode::nodeID

nodeID is the node ID

Definition at line 39 of file OSNode.h.

int OSNode::rowIdxNumNonz

rowIdxNumNonz is the number of non-zero elements in rowIndex

Definition at line 42 of file OSNode.h.

int* OSNode::rowIdx

rowIdx is a vector of row indexes for which we are setting the upper and lower bounds

Definition at line 47 of file OSNode.h.

double* OSNode::rowUB

rowUB is a vector of row upper bounds

Definition at line 50 of file OSNode.h.

double* OSNode::rowLB

rowLB is a vector of row lower bounds

Definition at line 53 of file OSNode.h.

double OSNode::lpValue

lpValue is the LP relaxation for the node

Definition at line 56 of file OSNode.h.

int OSNode::thetaNumNonz

thetaNumNonz is the number of non-zero elements in the theta variable solution at this node

Definition at line 60 of file OSNode.h.

int* OSNode::thetaIdx

theta is an array of primal solution variable indexes

Definition at line 65 of file OSNode.h.

double* OSNode::theta

theta is an array of primal positive values this is used for branching and creating new children nodes

Definition at line 71 of file OSNode.h.

std::vector<std::pair<int, int> > OSNode::colBasisStatus

colBasisStatus is vector of integer pairs, for each element of the vector we store the pair (index, status) where status is: basis code:

  • 0: free
  • 1: basic
  • 2: nonbasic at upper bound
  • 3: nonbasic at lower bound

Definition at line 84 of file OSNode.h.

std::vector<std::pair<int, int> > OSNode::rowBasisStatus

rowBasisStatus is the vector of pairs for rows

Definition at line 88 of file OSNode.h.

std::set<int> OSNode::reducedCostIdx

reducedCostVec will hold variables within a tolerance on their reduced costs.

Definition at line 93 of file OSNode.h.


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