class LPColSet : protected SVSet Set of LP columns
| | Key |
| | isConsistent () |
| | Extension
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| | Inquiry
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| | Memory Management
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| | Shrinking
|
Access
Control Parameters
Extension
Memory Management
Miscellaneous
Shrinking
Set of LP columns. Class LPColSet implements a set of LPCols. Unless for memory limitations, any number of LPCols may be added to an LPColSet. Single or multiple LPCols may be added to an LPColSet, where each method add() comes with two different signatures. One with an one without a parameter, used for returning the Keys assigned to the new LPCols by the set. See Key for a more detailed description of the concept of Keys. For the concept of renumbering LPCols within an LPColSet after removal of some LPCols see DataSet.
Inquiry
int num()
int max()
const Vector& obj()
Vector& obj()
double obj( int i )
double& obj( int i )
double obj( Key k )
double& obj( Key k )
const Vector& lower()
Vector& lower()
double lower( int i )
double& lower( int i )
double lower( Key k )
double& lower( Key k )
const Vector& upper()
Vector& upper()
double upper( int i )
double& upper( int i )
double upper( Key k )
double& upper( Key k )
SVector& colVector( int i )
const SVector& colVector( int i )
const SVector& colVector( Key k )
SVector& colVector( Key k )
Key key( int i )
int number( Key k )
Extension
void add(const LPCol& col)
void add(Key& key, const LPCol& col)
void add(double obj, double lower, const SVector& colVector, double upper)
void add(Key& key, double obj, double lower, const SVector& colVector, double upper )
void add( const LPColSet& set )
void add(Key key[], const LPColSet& set )
void add2(Key k, int n, int idx[], double val[])
void add2(int i, int n, int idx[], double val[])
SVector& create(int nonzeros=0, double obj=1, double lw=0, double upp=1)
SVector& create(Key& nkey, int nonzeros=0, double obj=1, double low=0, double up=1)
Shrinking
void remove(int i)
void remove(Key k)
void remove(int perm[])
void remove(Key keys[], int n)
void remove(int nums[], int n)
void remove(Key keys[], int n, int* perm)
void remove(int nums[], int n, int* perm)
Memory Management
void reMax(int newmax = 0)
int memSize()
int memMax()
void memRemax(int newmax)
void memPack()
int isConsistent()
generated by doc++