BasisStatus Class Reference

a data structure to represent an LP basis on both input and output More...

#include <OSGeneral.h>

Collaboration diagram for BasisStatus:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BasisStatus ()
 ~BasisStatus ()
bool IsEqual (BasisStatus *that)
bool setBasisStatusIntVector (int status, int *i, int ni)
 Set the indices for a particular status.

Public Attributes

IntVectorbasic
IntVectoratLower
IntVectoratUpper
IntVectorisFree
IntVectorsuperbasic
IntVectorunknown

Detailed Description

a data structure to represent an LP basis on both input and output

Definition at line 423 of file OSGeneral.h.


Constructor & Destructor Documentation

BasisStatus::BasisStatus (  ) 

Definition at line 478 of file OSGeneral.cpp.

BasisStatus::~BasisStatus (  ) 

Definition at line 492 of file OSGeneral.cpp.

References atLower, atUpper, basic, isFree, superbasic, and unknown.


Member Function Documentation

bool BasisStatus::IsEqual ( BasisStatus that  ) 

Definition at line 593 of file OSGeneral.cpp.

References atLower, atUpper, basic, isFree, superbasic, and unknown.

bool BasisStatus::setBasisStatusIntVector ( int  status,
int *  i,
int  ni 
)

Set the indices for a particular status.

Parameters:
status is a string representing the allowed statuses (at present "basic", "atLower", "atUpper", "isFree", "superbasic", "unknown")
i contains the array of indices
ni contains the number of elements in i

Definition at line 530 of file OSGeneral.cpp.

References atLower, atUpper, basic, ENUM_BASIS_STATUS_atLower, ENUM_BASIS_STATUS_atUpper, ENUM_BASIS_STATUS_basic, ENUM_BASIS_STATUS_isFree, ENUM_BASIS_STATUS_superbasic, ENUM_BASIS_STATUS_unknown, isFree, IntVector::numberOfEl, superbasic, and unknown.

Referenced by OSResult::setBasisStatus().


Member Data Documentation

IntVector* BasisStatus::basic

Definition at line 428 of file OSGeneral.h.

Referenced by IsEqual(), setBasisStatusIntVector(), writeBasisStatus(), and ~BasisStatus().

IntVector* BasisStatus::atLower

Definition at line 429 of file OSGeneral.h.

Referenced by IsEqual(), setBasisStatusIntVector(), writeBasisStatus(), and ~BasisStatus().

IntVector* BasisStatus::atUpper

Definition at line 430 of file OSGeneral.h.

Referenced by IsEqual(), setBasisStatusIntVector(), writeBasisStatus(), and ~BasisStatus().

IntVector* BasisStatus::isFree

Definition at line 431 of file OSGeneral.h.

Referenced by IsEqual(), setBasisStatusIntVector(), writeBasisStatus(), and ~BasisStatus().

IntVector* BasisStatus::superbasic

Definition at line 432 of file OSGeneral.h.

Referenced by IsEqual(), setBasisStatusIntVector(), writeBasisStatus(), and ~BasisStatus().

IntVector* BasisStatus::unknown

Definition at line 433 of file OSGeneral.h.

Referenced by IsEqual(), setBasisStatusIntVector(), writeBasisStatus(), and ~BasisStatus().


The documentation for this class was generated from the following files:
Generated on Sun Jan 2 03:06:12 2011 by  doxygen 1.4.7