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.

References nodeID, and rowIdxNumNonz.

OSNode::OSNode ( int  rowIdxNumNonz_,
int  thetaNumNonz_ 
)

Constructor for allocating arrays.

Definition at line 26 of file OSNode.cpp.

References nodeID, rowIdx, rowIdxNumNonz, rowLB, rowUB, theta, thetaIdx, and thetaNumNonz.

OSNode::~OSNode (  ) 

Default destructor.

Definition at line 46 of file OSNode.cpp.

References rowIdx, rowLB, rowUB, theta, and thetaIdx.


Member Data Documentation

int OSNode::parentID

parentID is the node ID of the parent

Definition at line 33 of file OSNode.h.

Referenced by OSColGenApp::branchAndBound().

int OSNode::nodeID

nodeID is the node ID

Definition at line 38 of file OSNode.h.

Referenced by OSColGenApp::branchAndBound(), and OSNode().

int OSNode::rowIdxNumNonz

rowIdxNumNonz is the number of non-zero elements in rowIndex

Definition at line 41 of file OSNode.h.

Referenced by OSColGenApp::checkNodeConsistency(), OSColGenApp::createChild(), and OSNode().

int* OSNode::rowIdx

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.

Referenced by OSColGenApp::checkNodeConsistency(), OSColGenApp::createChild(), OSNode(), and ~OSNode().

double* OSNode::rowUB

rowUB is a vector of row upper bounds

Definition at line 49 of file OSNode.h.

Referenced by OSColGenApp::checkNodeConsistency(), OSColGenApp::createChild(), OSNode(), and ~OSNode().

double* OSNode::rowLB

rowLB is a vector of row lower bounds

Definition at line 52 of file OSNode.h.

Referenced by OSColGenApp::checkNodeConsistency(), OSColGenApp::createChild(), OSNode(), and ~OSNode().

double OSNode::lpValue

lpValue is the LP relaxation for the node

Definition at line 55 of file OSNode.h.

Referenced by OSColGenApp::branchAndBound(), and OSColGenApp::createChild().

int OSNode::thetaNumNonz

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

Definition at line 59 of file OSNode.h.

Referenced by OSColGenApp::branchAndBound(), OSColGenApp::checkNodeConsistency(), and OSNode().

int* OSNode::thetaIdx

theta is an array of primal solution variable indexes

Definition at line 64 of file OSNode.h.

Referenced by OSColGenApp::branchAndBound(), OSColGenApp::checkNodeConsistency(), OSColGenApp::createChild(), OSNode(), and ~OSNode().

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.

Referenced by OSColGenApp::branchAndBound(), OSColGenApp::checkNodeConsistency(), OSColGenApp::createChild(), OSNode(), and ~OSNode().

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:

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.

Referenced by OSColGenApp::createChild().


The documentation for this class was generated from the following files:
Generated on Thu Sep 22 03:13:51 2011 by  doxygen 1.4.7