Cgl  0.60.2
Public Member Functions | Public Attributes | List of all members
LAP::TabRow Struct Reference

#include <CglLandPTabRow.hpp>

+ Inheritance diagram for LAP::TabRow:

Public Member Functions

 TabRow ()
 
 TabRow (const CglLandPSimplex *si)
 
 TabRow (const TabRow &source)
 
TabRowoperator= (const TabRow &r)
 
bool operator== (const TabRow &r) const
 
 ~TabRow ()
 
void modularize (const bool *integerVar)
 
void print (std::ostream &os, int width=9, const int *nonBasics=NULL, int m=0)
 
const double & operator[] (const int &index) const
 
double & operator[] (const int &index)
 
- Public Member Functions inherited from CoinIndexedVector
int getNumElements () const
 
const int * getIndices () const
 
int * getIndices ()
 
double * denseVector () const
 
void setDenseVector (double *array)
 
void setIndexVector (int *array)
 
double & operator[] (int i) const
 
void setNumElements (int value)
 
void clear ()
 
void empty ()
 
void reallyClear ()
 
CoinIndexedVectoroperator= (const CoinIndexedVector &)
 
CoinIndexedVectoroperator= (const CoinPackedVectorBase &rhs)
 
void copy (const CoinIndexedVector &rhs, double multiplier=1.0)
 
void borrowVector (int size, int numberIndices, int *inds, double *elems)
 
void returnVector ()
 
void setVector (int numberIndices, const int *inds, const double *elems)
 
void setVector (int size, int numberIndices, const int *inds, const double *elems)
 
void setConstant (int size, const int *inds, double elems)
 
void setFull (int size, const double *elems)
 
void setElement (int index, double element)
 
void insert (int index, double element)
 
void quickInsert (int index, double element)
 
void add (int index, double element)
 
void quickAdd (int index, double element)
 
void quickAddNonZero (int index, double element)
 
void zero (int index)
 
int clean (double tolerance)
 
int cleanAndPack (double tolerance)
 
int cleanAndPackSafe (double tolerance)
 
void setPacked ()
 
void checkClear ()
 
void checkClean ()
 
int scan ()
 
int scan (int start, int end)
 
int scan (double tolerance)
 
int scan (int start, int end, double tolerance)
 
int scanAndPack ()
 
int scanAndPack (int start, int end)
 
int scanAndPack (double tolerance)
 
int scanAndPack (int start, int end, double tolerance)
 
void createPacked (int number, const int *indices, const double *elements)
 
void createUnpacked (int number, const int *indices, const double *elements)
 
void createOneUnpackedElement (int index, double element)
 
void expand ()
 
void append (const CoinPackedVectorBase &caboose)
 
void append (const CoinIndexedVector &caboose)
 
void append (CoinIndexedVector &other, int adjustIndex, bool zapElements=false)
 
void swap (int i, int j)
 
void truncate (int newSize)
 
void print () const
 
void operator+= (double value)
 
void operator-= (double value)
 
void operator*= (double value)
 
void operator/= (double value)
 
bool operator== (const CoinPackedVectorBase &rhs) const
 
bool operator!= (const CoinPackedVectorBase &rhs) const
 
bool operator== (const CoinIndexedVector &rhs) const
 
bool operator!= (const CoinIndexedVector &rhs) const
 
int isApproximatelyEqual (const CoinIndexedVector &rhs, double tolerance=1.0e-8) const
 
int getMaxIndex () const
 
int getMinIndex () const
 
void sort ()
 
void sortIncrIndex ()
 
void sortDecrIndex ()
 
void sortIncrElement ()
 
void sortDecrElement ()
 
void sortPacked ()
 
CoinIndexedVector operator+ (const CoinIndexedVector &op2)
 
CoinIndexedVector operator- (const CoinIndexedVector &op2)
 
CoinIndexedVector operator* (const CoinIndexedVector &op2)
 
CoinIndexedVector operator/ (const CoinIndexedVector &op2)
 
void operator+= (const CoinIndexedVector &op2)
 
void operator-= (const CoinIndexedVector &op2)
 
void operator*= (const CoinIndexedVector &op2)
 
void operator/= (const CoinIndexedVector &op2)
 
void reserve (int n)
 
int capacity () const
 
void setCapacity (int value)
 
void setPackedMode (bool yesNo)
 
bool packedMode () const
 
 CoinIndexedVector ()
 
 CoinIndexedVector (int size, const int *inds, const double *elems)
 
 CoinIndexedVector (int size, const int *inds, double element)
 
 CoinIndexedVector (int size, const double *elements)
 
 CoinIndexedVector (int size)
 
 CoinIndexedVector (const CoinIndexedVector &)
 
 CoinIndexedVector (const CoinIndexedVector *)
 
 CoinIndexedVector (const CoinPackedVectorBase &rhs)
 
 ~CoinIndexedVector ()
 
int getNumElements () const
 
const int * getIndices () const
 
int * getIndices ()
 
double * denseVector () const
 
void setDenseVector (double *array)
 
void setIndexVector (int *array)
 
double & operator[] (int i) const
 
void setNumElements (int value)
 
void clear ()
 
void empty ()
 
void reallyClear ()
 
CoinIndexedVectoroperator= (const CoinIndexedVector &)
 
CoinIndexedVectoroperator= (const CoinPackedVectorBase &rhs)
 
void copy (const CoinIndexedVector &rhs, double multiplier=1.0)
 
void borrowVector (int size, int numberIndices, int *inds, double *elems)
 
void returnVector ()
 
void setVector (int numberIndices, const int *inds, const double *elems)
 
void setVector (int size, int numberIndices, const int *inds, const double *elems)
 
void setConstant (int size, const int *inds, double elems)
 
void setFull (int size, const double *elems)
 
void setElement (int index, double element)
 
void insert (int index, double element)
 
void quickInsert (int index, double element)
 
void add (int index, double element)
 
void quickAdd (int index, double element)
 
void quickAddNonZero (int index, double element)
 
void zero (int index)
 
int clean (double tolerance)
 
int cleanAndPack (double tolerance)
 
int cleanAndPackSafe (double tolerance)
 
void setPacked ()
 
void checkClear ()
 
void checkClean ()
 
int scan ()
 
int scan (int start, int end)
 
int scan (double tolerance)
 
int scan (int start, int end, double tolerance)
 
int scanAndPack ()
 
int scanAndPack (int start, int end)
 
int scanAndPack (double tolerance)
 
int scanAndPack (int start, int end, double tolerance)
 
void createPacked (int number, const int *indices, const double *elements)
 
void createUnpacked (int number, const int *indices, const double *elements)
 
void createOneUnpackedElement (int index, double element)
 
void expand ()
 
void append (const CoinPackedVectorBase &caboose)
 
void append (const CoinIndexedVector &caboose)
 
void append (CoinIndexedVector &other, int adjustIndex, bool zapElements=false)
 
void swap (int i, int j)
 
void truncate (int newSize)
 
void print () const
 
void operator+= (double value)
 
void operator-= (double value)
 
void operator*= (double value)
 
void operator/= (double value)
 
bool operator== (const CoinPackedVectorBase &rhs) const
 
bool operator!= (const CoinPackedVectorBase &rhs) const
 
bool operator== (const CoinIndexedVector &rhs) const
 
bool operator!= (const CoinIndexedVector &rhs) const
 
int isApproximatelyEqual (const CoinIndexedVector &rhs, double tolerance=1.0e-8) const
 
int getMaxIndex () const
 
int getMinIndex () const
 
void sort ()
 
void sortIncrIndex ()
 
void sortDecrIndex ()
 
void sortIncrElement ()
 
void sortDecrElement ()
 
void sortPacked ()
 
CoinIndexedVector operator+ (const CoinIndexedVector &op2)
 
CoinIndexedVector operator- (const CoinIndexedVector &op2)
 
CoinIndexedVector operator* (const CoinIndexedVector &op2)
 
CoinIndexedVector operator/ (const CoinIndexedVector &op2)
 
void operator+= (const CoinIndexedVector &op2)
 
void operator-= (const CoinIndexedVector &op2)
 
void operator*= (const CoinIndexedVector &op2)
 
void operator/= (const CoinIndexedVector &op2)
 
void reserve (int n)
 
int capacity () const
 
void setCapacity (int value)
 
void setPackedMode (bool yesNo)
 
bool packedMode () const
 
 CoinIndexedVector ()
 
 CoinIndexedVector (int size, const int *inds, const double *elems)
 
 CoinIndexedVector (int size, const int *inds, double element)
 
 CoinIndexedVector (int size, const double *elements)
 
 CoinIndexedVector (int size)
 
 CoinIndexedVector (const CoinIndexedVector &)
 
 CoinIndexedVector (const CoinIndexedVector *)
 
 CoinIndexedVector (const CoinPackedVectorBase &rhs)
 
 ~CoinIndexedVector ()
 

Public Attributes

int num
 Row number. More...
 
double rhs
 Row right-hand-side. More...
 
const CglLandPSimplexsi_
 Row of what? More...
 
bool modularized_
 Flag to say if row is modularized. More...
 

Additional Inherited Members

- Protected Attributes inherited from CoinIndexedVector
int * indices_
 
double * elements_
 
int nElements_
 
int capacity_
 
int offset_
 
bool packedMode_
 

Detailed Description

Definition at line 21 of file CglLandPTabRow.hpp.

Constructor & Destructor Documentation

◆ TabRow() [1/3]

LAP::TabRow::TabRow ( )
inline

Definition at line 33 of file CglLandPTabRow.hpp.

◆ TabRow() [2/3]

LAP::TabRow::TabRow ( const CglLandPSimplex si)
inline

Definition at line 36 of file CglLandPTabRow.hpp.

◆ TabRow() [3/3]

LAP::TabRow::TabRow ( const TabRow source)
inline

Definition at line 39 of file CglLandPTabRow.hpp.

◆ ~TabRow()

LAP::TabRow::~TabRow ( )
inline

Definition at line 57 of file CglLandPTabRow.hpp.

Member Function Documentation

◆ operator=()

TabRow& LAP::TabRow::operator= ( const TabRow r)
inline

Definition at line 44 of file CglLandPTabRow.hpp.

◆ operator==()

bool LAP::TabRow::operator== ( const TabRow r) const

◆ modularize()

void LAP::TabRow::modularize ( const bool *  integerVar)

◆ print()

void LAP::TabRow::print ( std::ostream &  os,
int  width = 9,
const int *  nonBasics = NULL,
int  m = 0 
)

◆ operator[]() [1/2]

const double& LAP::TabRow::operator[] ( const int &  index) const
inline

Definition at line 66 of file CglLandPTabRow.hpp.

◆ operator[]() [2/2]

double& LAP::TabRow::operator[] ( const int &  index)
inline

Definition at line 72 of file CglLandPTabRow.hpp.

Member Data Documentation

◆ num

int LAP::TabRow::num

Row number.

Definition at line 24 of file CglLandPTabRow.hpp.

◆ rhs

double LAP::TabRow::rhs

Row right-hand-side.

Definition at line 26 of file CglLandPTabRow.hpp.

◆ si_

const CglLandPSimplex* LAP::TabRow::si_

Row of what?

Definition at line 28 of file CglLandPTabRow.hpp.

◆ modularized_

bool LAP::TabRow::modularized_

Flag to say if row is modularized.

Definition at line 31 of file CglLandPTabRow.hpp.


The documentation for this struct was generated from the following file: