OSNode Class Reference

#include <OSNode.h>

List of all members.

Public Member Functions

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

Public Attributes

int parentID
 parentID is the node ID of the parent
int nodeID
 nodeID is the node ID
int rowIdxNumNonz
 rowIdxNumNonz is the number of non-zero elements in rowIndex
int * rowIdx
 rowIdx is a vector of row indexes for which we are setting the upper and lower bounds
double * rowUB
 rowUB is a vector of row upper bounds
double * rowLB
 rowLB is a vector of row lower bounds
double lpValue
 lpValue is the LP relaxation for the node
int thetaNumNonz
 thetaNumNonz is the number of non-zero elements in the theta variable solution at this node
int * thetaIdx
 theta is an array of primal solution variable indexes
double * theta
 theta is an array of primal positive values this is used for branching and creating new children nodes
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:
std::vector< std::pair< int,
int > > 
rowBasisStatus
 rowBasisStatus is the vector of pairs for rows
std::set< int > reducedCostIdx
 reducedCostVec will hold variables within a tolerance on their reduced costs.

Detailed Description

Definition at line 27 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

parentID is the node ID of the parent

Definition at line 33 of file OSNode.h.

nodeID is the node ID

Definition at line 38 of file OSNode.h.

rowIdxNumNonz is the number of non-zero elements in rowIndex

Definition at line 41 of file OSNode.h.

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

Definition at line 46 of file OSNode.h.

double* OSNode::rowUB

rowUB is a vector of row upper bounds

Definition at line 49 of file OSNode.h.

double* OSNode::rowLB

rowLB is a vector of row lower bounds

Definition at line 52 of file OSNode.h.

lpValue is the LP relaxation for the node

Definition at line 55 of file OSNode.h.

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

Definition at line 59 of file OSNode.h.

theta is an array of primal solution variable indexes

Definition at line 64 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 70 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 83 of file OSNode.h.

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

rowBasisStatus is the vector of pairs for rows

Definition at line 87 of file OSNode.h.

std::set<int> OSNode::reducedCostIdx

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

Definition at line 92 of file OSNode.h.


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

Generated on 16 Feb 2012 by  doxygen 1.6.1