Scippy

SoPlex

Sequential object-oriented simPlex

LPRowSetBase< R > Class Template Reference

Set of LP rows.Class LPRowSetBase implements a set of LPRowBase%s. Unless for memory limitations, any number of LPRowBases may be added to an LPRowSetBase. Single or multiple LPRowBases may be added to an LPRowSetBase, where each method add() comes with two different signatures. One with and one without a parameter, used for returning the Keys assigned to the new LPRowBases by the set. See DataKey for a more detailed description of the concept of keys. For the concept of renumbering LPRowBases within an LPRowSetBase after removal of some LPRows see DataSet. More...

#include <lprowsetbase.h>

Inheritance diagram for LPRowSetBase< R >:

Public Member Functions

Access / modification
int num () const
 Returns the number of LPRowBases in LPRowSetBase.
 
int max () const
 Returns the maximum number of LPRowBases that fit.
 
const VectorBase< R > & lhs () const
 Returns the vector of lhs values.
 
VectorBase< R > & lhs_w ()
 Returns the vector of lhs values.
 
const R & lhs (int i) const
 Returns the lhs of the i 'th LPRowBase.
 
R & lhs_w (int i)
 Returns the lhs of the i 'th LPRowBase.
 
const R & lhs (const DataKey &k) const
 Returns the lhs of the LPRowBase with DataKey k in LPRowSetBase.
 
R & lhs_w (const DataKey &k)
 Returns the lhs of the LPRowBase with DataKey k in LPRowSetBase.
 
const VectorBase< R > & rhs () const
 Returns the vector of rhs values.
 
VectorBase< R > & rhs_w ()
 Returns the vector of rhs values (writeable).
 
const R & rhs (int i) const
 Returns the rhs of the i 'th LPRowBase.
 
R & rhs_w (int i)
 Returns the rhs of the i 'th LPRowBase (writeable).
 
const R & rhs (const DataKey &k) const
 Returns the rhs of the LPRowBase with DataKey k in LPRowSetBase.
 
R & rhs_w (const DataKey &k)
 Returns the rhs of the LPRowBase with DataKey k in LPRowSetBase (writeable).
 
const VectorBase< R > & obj () const
 Returns the vector of objective coefficients.
 
VectorBase< R > & obj_w ()
 Returns the vector of objective coefficients (writeable).
 
const R & obj (int i) const
 Returns the objective coefficient of the i 'th LPRowBase.
 
R & obj_w (int i)
 Returns the objective coefficient of the i 'th LPRowBase (writeable).
 
const R & obj (const DataKey &k) const
 Returns the objective coefficient of the LPRowBase with DataKey k in LPRowSetBase.
 
R & obj_w (const DataKey &k)
 Returns the objective coefficient of the LPRowBase with DataKey k in LPRowSetBase (writeable).
 
SVectorBase< R > & rowVector_w (int i)
 Returns a writable rowVector of the i 'th LPRowBase.
 
const SVectorBase< R > & rowVector (int i) const
 Returns the rowVector of the i 'th LPRowBase.
 
SVectorBase< R > & rowVector_w (const DataKey &k)
 Returns a writable rowVector of the LPRowBase with DataKey k.
 
const SVectorBase< R > & rowVector (const DataKey &k) const
 Returns the rowVector of the LPRowBase with DataKey k.
 
LPRowBase< R >::Type type (int i) const
 Returns the inequalitiy type of the i 'th LPRowBase.
 
LPRowBase< R >::Type type (const DataKey &k) const
 Returns the inequality type of the LPRowBase with DataKey k.
 
void setType (int i, typename LPRowBase< R >::Type t)
 Changes the inequality type of row i to type.
 
const R & value (int i) const
 Returns the value of the i'th LPRowBase.
 
const R & value (const DataKey &k) const
 Returns the value of the LPRowBase with DataKey k.
 
DataKey key (int i) const
 Returns the DataKey of the i 'th LPRowBase in LPRowSetBase.
 
int number (const DataKey &k) const
 Returns the number of the LPRowBase with DataKey k in LPRowSetBase.
 
bool has (const DataKey &k) const
 does DataKey k belong to LPRowSetBase ?
 
Extension

Extension methods come with two signatures, one of them providing a parameter to return the assigned DataKey(s). See DataSet for a more detailed description. All extension methods will automatically rearrange or allocate more memory if required.

void add (const LPRowBase< R > &row)
 
void add (DataKey &pkey, const LPRowBase< R > &prow)
 Adds row to LPRowSetBase.
 
void add (const R &plhs, const SVectorBase< R > &prowVector, const R &prhs, const R &pobj=0)
 Adds LPRowBase consisting of left hand side lhs, row vector rowVector, and right hand side rhs to LPRowSetBase.
 
template<class S >
void add (const S *lhsValue, const S *rowValues, const int *rowIndices, int rowSize, const S *rhsValue, const S *objValue=0)
 Adds LPRowBase consisting of left hand side lhs, row vector rowVector, and right hand side rhs to LPRowSetBase.
 
template<class S >
void add (DataKey &newkey, const S *lhsValue, const S *rowValues, const int *rowIndices, int rowSize, const S *rhsValue, const S *objValue=0)
 Adds LPRowBase consisting of left hand side lhs, row vector rowVector, and right hand side rhs to LPRowSetBase, with DataKey key.
 
void add (DataKey &newkey, const R &newlhs, const SVectorBase< R > &newrowVector, const R &newrhs, const R &newobj=0)
 Adds LPRowBase consisting of left hand side lhs, row vector rowVector, and right hand side rhs to LPRowSetBase, with DataKey key.
 
void add (const LPRowSetBase< R > &newset)
 
void add (DataKey keys[], const LPRowSetBase< R > &set)
 Adds all LPRowBases of set to LPRowSetBase.
 
void xtend (int n, int newmax)
 Extends row n to fit newmax nonzeros.
 
void xtend (const DataKey &pkey, int pnewmax)
 Extends row with DataKey key to fit newmax nonzeros.
 
void add2 (const DataKey &k, int n, const int idx[], const R val[])
 Adds n nonzero (idx, val)-pairs to rowVector with DataKey k.
 
void add2 (int i, int n, const int idx[], const R val[])
 Adds n nonzero (idx, val)-pairs to i 'th rowVector.
 
template<class S >
void add2 (int i, int n, const int idx[], const S val[])
 Adds n nonzero (idx, val)-pairs to i 'th rowVector.
 
SVectorBase< R > & create (int pnonzeros=0, const R &plhs=0, const R &prhs=1, const R &pobj=0)
 Creates new LPRowBase with specified parameters and returns a reference to its row vector.
 
SVectorBase< R > & create (DataKey &newkey, int nonzeros=0, const R &newlhs=0, const R &newrhs=1, const R &newobj=0)
 Creates new LPRowBase with specified parameters and returns a reference to its row vector.
 
Shrinking

See DataSet for a description of the renumbering of the remaining LPRowBases in a LPRowSetBase after the call of a removal method.

void remove (int i)
 Removes i 'th LPRowBase.
 
void remove (const DataKey &k)
 Removes LPRowBase with DataKey k.
 
void remove (int perm[])
 Removes multiple LPRowBases.
 
void remove (const int nums[], int n)
 Removes n LPRowBases with row numbers given by nums.
 
void remove (const int nums[], int n, int *perm)
 Removes n LPRowBases with row numbers given by nums, Stores permutation of row indices in perm.
 
void clear ()
 Removes all LPRowBases.
 
Memory Management

For a description of the memory management methods, see the documentation of SVSet, which has been used for implementating LPRowSetBase.

void reMax (int newmax=0)
 Reallocates memory to be able to store newmax LPRowBases.
 
int memSize () const
 Returns number of used nonzero entries.
 
int memMax () const
 Returns length of nonzero memory.
 
void memRemax (int newmax)
 Reallocates memory to be able to store newmax nonzeros.
 
void memPack ()
 Garbage collection in nonzero memory.
 
Consistency check
bool isConsistent () const
 Checks consistency.
 
Construction / Destruction
 LPRowSetBase (int pmax=-1, int pmemmax=-1)
 Default constructor.
 
LPRowSetBase< R > & operator= (const LPRowSetBase< R > &rs)
 Assignment operator.
 
template<class S >
LPRowSetBase< R > & operator= (const LPRowSetBase< S > &rs)
 Assignment operator.
 
 LPRowSetBase (const LPRowSetBase< R > &rs)
 Copy constructor.
 
template<class S >
 LPRowSetBase (const LPRowSetBase< S > &rs)
 Copy constructor.
 
virtual ~LPRowSetBase ()
 Destructor.
 

Protected Member Functions

Helpers
const SVSetBase< R > * rowSet () const
 Returns the complete SVSet.
 
- Protected Member Functions inherited from SVSetBase< R >
void add (const SVectorBase< R > &svec)
 Adds svec to the set.
 
void add (DataKey &nkey, const SVectorBase< R > &svec)
 Adds svec to SVSetBase.
 
template<class S >
void add (DataKey &nkey, const S *rowValues, const int *rowIndices, int rowSize)
 Adds svec to SVSetBase.
 
void add (const SVectorBase< R > svec[], int n)
 Adds all n SVectorBases in the array svec to the set.
 
void add (DataKey nkey[], const SVectorBase< R > svec[], int n)
 Adds n SVectorBases to SVSetBase.
 
template<class S >
void add (const SVSetBase< S > &pset)
 Adds all SVectorBases in pset to SVSetBase.
 
template<class S >
void add (DataKey nkey[], const SVSetBase< S > &pset)
 Adds all SVectorBases of pset to SVSetBase.
 
SVectorBase< R > * create (int idxmax=0)
 Creates new SVectorBase in set.
 
SVectorBase< R > * create (DataKey &nkey, int idxmax=-1)
 Creates new SVectorBase in set.
 
void xtend (SVectorBase< R > &svec, int newmax)
 Extends svec to fit newmax nonzeros.
 
void add2 (SVectorBase< R > &svec, int idx, R val)
 Adds nonzero (idx, val) to svec of this SVSetBase.
 
void add2 (SVectorBase< R > &svec, int n, const int idx[], const R val[])
 Adds n nonzeros to svec of this SVSetBase.
 
template<class S >
void add2 (SVectorBase< R > &svec, int n, const int idx[], const S val[])
 Adds n nonzeros to svec of this SVSetBase.
 
void remove (const DataKey &removekey)
 Removes the vector with key removekey from the set.
 
void remove (int removenum)
 Removes the vector with number removenum from the set.
 
void remove (const SVectorBase< R > *svec)
 Removes one SVectorBase from set.
 
void remove (int perm[])
 Removes multiple elements.
 
void remove (const DataKey keys[], int n)
 Removes n SVectorBases from set.
 
void remove (const int nums[], int n)
 Removes n SVectorBases from set.
 
void remove (const DataKey keys[], int n, int *perm)
 
void remove (const int nums[], int n, int *perm)
 
void clear (int minNewSize=-1)
 Removes all SVectorBases from set.
 
SVectorBase< R > & operator[] (int n)
 Gets SVectorBase by number, writeable.
 
const SVectorBase< R > & operator[] (int n) const
 Gets SVectorBase by number.
 
SVectorBase< R > & operator[] (const DataKey &k)
 Gets SVectorBase by DataKey, writeable.
 
const SVectorBase< R > & operator[] (const DataKey &k) const
 Gets SVectorBase by DataKey.
 
int num () const
 Current number of SVectorBases.
 
int max () const
 Current maximum number of SVectorBases.
 
DataKey key (int n) const
 Gets DataKey of vector number.
 
DataKey key (const SVectorBase< R > *svec) const
 Gets DataKey of SVectorBase.
 
int number (const DataKey &k) const
 Gets vector number of DataKey.
 
int number (const SVectorBase< R > *svec) const
 Gets vector number of SVectorBase.
 
bool has (const DataKey &k) const
 True iff SVSetBase contains a SVectorBase for DataKey k.
 
bool has (int n) const
 True iff SVSetBase contains a SVectorBase for vector number n.
 
bool has (const SVectorBase< R > *svec) const
 Is an SVectorBase in the set?
 
int memSize () const
 Used nonzero memory.
 
int memMax () const
 Length of nonzero memory.
 
void memRemax (int newmax)
 Reset length of nonzero memory.
 
void memPack ()
 Garbage collection in nonzero memory.
 
void reMax (int newmax=0)
 Resets maximum number of SVectorBases.
 
bool isConsistent () const
 Consistency check.
 
 SVSetBase (int pmax=-1, int pmemmax=-1, double pfac=1.1, double pmemFac=1.2)
 Default constructor.
 
virtual ~SVSetBase ()
 Destructor.
 
SVSetBase< R > & operator= (const SVSetBase< R > &rhs)
 Assignment operator.
 
template<class S >
SVSetBase< R > & operator= (const SVSetBase< S > &rhs)
 Assignment operator.
 
 SVSetBase (const SVSetBase< R > &old)
 Copy constructor.
 
template<class S >
 SVSetBase (const SVSetBase< S > &old)
 Copy constructor.
 

Private Attributes

Data
DVectorBase< R > left
 vector of left hand sides (lower bounds) of LPRowBases.
 
DVectorBase< R > right
 vector of right hand sides (upper bounds) of LPRowBases.
 
DVectorBase< R > object
 vector of objective coefficients.
 

Friends

template<class S >
class LPRowSetBase
 

Additional Inherited Members

Detailed Description

template<class R>
class soplex::LPRowSetBase< R >

Set of LP rows.

Class LPRowSetBase implements a set of LPRowBase%s. Unless for memory limitations, any number of LPRowBases may be added to an LPRowSetBase. Single or multiple LPRowBases may be added to an LPRowSetBase, where each method add() comes with two different signatures. One with and one without a parameter, used for returning the Keys assigned to the new LPRowBases by the set. See DataKey for a more detailed description of the concept of keys. For the concept of renumbering LPRowBases within an LPRowSetBase after removal of some LPRows see DataSet.

See Also
DataSet, DataKey

Definition at line 44 of file lprowsetbase.h.

Constructor & Destructor Documentation

LPRowSetBase ( int  pmax = -1,
int  pmemmax = -1 
)
explicit

Default constructor.

The user can specify the initial maximum number of rows max and the initial maximum number of nonzero entries memmax. If these parameters are omitted, a default size is used. However, one can add an arbitrary number of rows to the LPRowSetBase, which may result in automated memory realllocation.

Definition at line 652 of file lprowsetbase.h.

LPRowSetBase ( const LPRowSetBase< R > &  rs)

Copy constructor.

Definition at line 692 of file lprowsetbase.h.

LPRowSetBase ( const LPRowSetBase< S > &  rs)

Copy constructor.

Definition at line 703 of file lprowsetbase.h.

virtual ~LPRowSetBase ( )
virtual

Destructor.

Definition at line 713 of file lprowsetbase.h.

Member Function Documentation

void add ( DataKey pkey,
const LPRowBase< R > &  prow 
)

Adds row to LPRowSetBase.

Definition at line 326 of file lprowsetbase.h.

void add ( const R &  plhs,
const SVectorBase< R > &  prowVector,
const R &  prhs,
const R &  pobj = 0 
)

Adds LPRowBase consisting of left hand side lhs, row vector rowVector, and right hand side rhs to LPRowSetBase.

Definition at line 332 of file lprowsetbase.h.

void add ( const S *  lhsValue,
const S *  rowValues,
const int *  rowIndices,
int  rowSize,
const S *  rhsValue,
const S *  objValue = 0 
)

Adds LPRowBase consisting of left hand side lhs, row vector rowVector, and right hand side rhs to LPRowSetBase.

Definition at line 340 of file lprowsetbase.h.

void add ( DataKey newkey,
const S *  lhsValue,
const S *  rowValues,
const int *  rowIndices,
int  rowSize,
const S *  rhsValue,
const S *  objValue = 0 
)

Adds LPRowBase consisting of left hand side lhs, row vector rowVector, and right hand side rhs to LPRowSetBase, with DataKey key.

Definition at line 354 of file lprowsetbase.h.

void add ( DataKey newkey,
const R &  newlhs,
const SVectorBase< R > &  newrowVector,
const R &  newrhs,
const R &  newobj = 0 
)

Adds LPRowBase consisting of left hand side lhs, row vector rowVector, and right hand side rhs to LPRowSetBase, with DataKey key.

Definition at line 380 of file lprowsetbase.h.

void add ( const LPRowSetBase< R > &  newset)

Definition at line 397 of file lprowsetbase.h.

void add ( DataKey  keys[],
const LPRowSetBase< R > &  set 
)

Adds all LPRowBases of set to LPRowSetBase.

Definition at line 419 of file lprowsetbase.h.

void add2 ( const DataKey k,
int  n,
const int  idx[],
const R  val[] 
)
void add2 ( int  i,
int  n,
const int  idx[],
const R  val[] 
)

Adds n nonzero (idx, val)-pairs to i 'th rowVector.

Definition at line 448 of file lprowsetbase.h.

void add2 ( int  i,
int  n,
const int  idx[],
const S  val[] 
)

Adds n nonzero (idx, val)-pairs to i 'th rowVector.

Definition at line 455 of file lprowsetbase.h.

void clear ( )

Removes all LPRowBases.

Definition at line 565 of file lprowsetbase.h.

Referenced by SPxLPBase< Real >::clear().

SVectorBase<R>& create ( int  pnonzeros = 0,
const R &  plhs = 0,
const R &  prhs = 1,
const R &  pobj = 0 
)

Creates new LPRowBase with specified parameters and returns a reference to its row vector.

Definition at line 461 of file lprowsetbase.h.

Referenced by LPRowSetBase< Real >::create().

SVectorBase<R>& create ( DataKey newkey,
int  nonzeros = 0,
const R &  newlhs = 0,
const R &  newrhs = 1,
const R &  newobj = 0 
)

Creates new LPRowBase with specified parameters and returns a reference to its row vector.

Definition at line 468 of file lprowsetbase.h.

bool has ( const DataKey k) const

does DataKey k belong to LPRowSetBase ?

Definition at line 302 of file lprowsetbase.h.

bool isConsistent ( ) const
DataKey key ( int  i) const

Returns the DataKey of the i 'th LPRowBase in LPRowSetBase.

Definition at line 290 of file lprowsetbase.h.

Referenced by LPRowSetBase< Real >::add().

const R& lhs ( int  i) const

Returns the lhs of the i 'th LPRowBase.

Definition at line 105 of file lprowsetbase.h.

const R& lhs ( const DataKey k) const

Returns the lhs of the LPRowBase with DataKey k in LPRowSetBase.

Definition at line 117 of file lprowsetbase.h.

R& lhs_w ( int  i)

Returns the lhs of the i 'th LPRowBase.

Definition at line 111 of file lprowsetbase.h.

R& lhs_w ( const DataKey k)

Returns the lhs of the LPRowBase with DataKey k in LPRowSetBase.

Definition at line 123 of file lprowsetbase.h.

int max ( ) const

Returns the maximum number of LPRowBases that fit.

Definition at line 87 of file lprowsetbase.h.

Referenced by LPRowSetBase< Real >::reMax().

int memMax ( ) const

Returns length of nonzero memory.

Definition at line 599 of file lprowsetbase.h.

void memPack ( )

Garbage collection in nonzero memory.

Definition at line 611 of file lprowsetbase.h.

void memRemax ( int  newmax)

Reallocates memory to be able to store newmax nonzeros.

Definition at line 605 of file lprowsetbase.h.

Referenced by SPxLPBase< Real >::addRows().

int memSize ( ) const

Returns number of used nonzero entries.

Definition at line 593 of file lprowsetbase.h.

const VectorBase<R>& obj ( ) const
const R& obj ( int  i) const

Returns the objective coefficient of the i 'th LPRowBase.

Definition at line 177 of file lprowsetbase.h.

const R& obj ( const DataKey k) const

Returns the objective coefficient of the LPRowBase with DataKey k in LPRowSetBase.

Definition at line 189 of file lprowsetbase.h.

VectorBase<R>& obj_w ( )

Returns the vector of objective coefficients (writeable).

Definition at line 171 of file lprowsetbase.h.

Referenced by SPxLPBase< Real >::changeRowObj(), SPxLPBase< Real >::changeSense(), SPxLPBase< Real >::clearRowObjs(), and SPxLPBase< Real >::maxRowObj_w().

R& obj_w ( int  i)

Returns the objective coefficient of the i 'th LPRowBase (writeable).

Definition at line 183 of file lprowsetbase.h.

R& obj_w ( const DataKey k)

Returns the objective coefficient of the LPRowBase with DataKey k in LPRowSetBase (writeable).

Definition at line 195 of file lprowsetbase.h.

LPRowSetBase<R>& operator= ( const LPRowSetBase< R > &  rs)

Assignment operator.

Definition at line 659 of file lprowsetbase.h.

Referenced by SPxLPBase< Real >::operator=().

LPRowSetBase<R>& operator= ( const LPRowSetBase< S > &  rs)

Assignment operator.

Definition at line 676 of file lprowsetbase.h.

void reMax ( int  newmax = 0)

Reallocates memory to be able to store newmax LPRowBases.

Definition at line 584 of file lprowsetbase.h.

void remove ( int  i)

Removes i 'th LPRowBase.

Definition at line 495 of file lprowsetbase.h.

Referenced by SPxLPBase< Real >::doRemoveRow(), and SPxLPBase< Real >::doRemoveRows().

void remove ( const DataKey k)

Removes LPRowBase with DataKey k.

Definition at line 507 of file lprowsetbase.h.

void remove ( int  perm[])

Removes multiple LPRowBases.

Definition at line 513 of file lprowsetbase.h.

void remove ( const int  nums[],
int  n 
)

Removes n LPRowBases with row numbers given by nums.

Definition at line 535 of file lprowsetbase.h.

void remove ( const int  nums[],
int  n,
int *  perm 
)

Removes n LPRowBases with row numbers given by nums, Stores permutation of row indices in perm.

Definition at line 543 of file lprowsetbase.h.

const R& rhs ( int  i) const

Returns the rhs of the i 'th LPRowBase.

Definition at line 141 of file lprowsetbase.h.

const R& rhs ( const DataKey k) const

Returns the rhs of the LPRowBase with DataKey k in LPRowSetBase.

Definition at line 153 of file lprowsetbase.h.

R& rhs_w ( int  i)

Returns the rhs of the i 'th LPRowBase (writeable).

Definition at line 147 of file lprowsetbase.h.

R& rhs_w ( const DataKey k)

Returns the rhs of the LPRowBase with DataKey k in LPRowSetBase (writeable).

Definition at line 159 of file lprowsetbase.h.

const SVSetBase<R>* rowSet ( ) const
protected

Returns the complete SVSet.

Definition at line 67 of file lprowsetbase.h.

Referenced by SPxEquiliSC::scale(), and SPxGeometSC::scale().

const SVectorBase<R>& rowVector ( int  i) const

Returns the rowVector of the i 'th LPRowBase.

Definition at line 207 of file lprowsetbase.h.

Referenced by SPxLPBase< Real >::rowVector().

const SVectorBase<R>& rowVector ( const DataKey k) const

Returns the rowVector of the LPRowBase with DataKey k.

Definition at line 219 of file lprowsetbase.h.

SVectorBase<R>& rowVector_w ( int  i)

Returns a writable rowVector of the i 'th LPRowBase.

Definition at line 201 of file lprowsetbase.h.

Referenced by LPRowSetBase< Real >::add2(), SPxLPBase< Real >::rowVector_w(), and LPRowSetBase< Real >::xtend().

SVectorBase<R>& rowVector_w ( const DataKey k)

Returns a writable rowVector of the LPRowBase with DataKey k.

Definition at line 213 of file lprowsetbase.h.

void setType ( int  i,
typename LPRowBase< R >::Type  t 
)

Changes the inequality type of row i to type.

Definition at line 244 of file lprowsetbase.h.

LPRowBase<R>::Type type ( int  i) const

Returns the inequalitiy type of the i 'th LPRowBase.

Definition at line 225 of file lprowsetbase.h.

Referenced by SPxLPBase< Real >::number(), SPxLPBase< Real >::rowType(), and LPRowSetBase< Real >::type().

LPRowBase<R>::Type type ( const DataKey k) const

Returns the inequality type of the LPRowBase with DataKey k.

Definition at line 238 of file lprowsetbase.h.

const R& value ( int  i) const

Returns the value of the i'th LPRowBase.

Definition at line 269 of file lprowsetbase.h.

Referenced by LPRowSetBase< Real >::value().

const R& value ( const DataKey k) const

Returns the value of the LPRowBase with DataKey k.

The value of a row depends on its type: if the inequality is of type "greater or equal", the value is the lhs of the row. Otherwise, the value is the rhs.

Definition at line 284 of file lprowsetbase.h.

void xtend ( int  n,
int  newmax 
)

Extends row n to fit newmax nonzeros.

Definition at line 430 of file lprowsetbase.h.

Referenced by SPxLPBase< Real >::addCols(), and SPxLPBase< Real >::doAddCols().

void xtend ( const DataKey pkey,
int  pnewmax 
)

Extends row with DataKey key to fit newmax nonzeros.

Definition at line 436 of file lprowsetbase.h.

Friends And Related Function Documentation

friend class LPRowSetBase
friend

Definition at line 46 of file lprowsetbase.h.

Member Data Documentation

DVectorBase<R> object
private

vector of objective coefficients.

Definition at line 56 of file lprowsetbase.h.

Referenced by LPRowSetBase< Real >::obj(), LPRowSetBase< Real >::obj_w(), and LPRowSetBase< Real >::operator=().