67 :
SparVec(glob, nnz, s, c), obj_(obj), lBound_(lb), uBound_(ub) { }
89 :
SparVec(vec), obj_(obj), lBound_(lb), uBound_(ub) { }
103 double obj()
const {
return obj_; }
110 void obj(
double c) { obj_ = c; }
114 double lBound()
const {
return lBound_; }
125 double uBound()
const {
return uBound_; }
double lBound() const
Returns the lower bound of the column.
double obj_
The objective function coefficient of the column.
Global data and functions.
The parameterized class Array implements dynamic arrays of type E.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
void obj(double c)
Sets the objective function coefficient of the column to c.
Column(AbacusGlobal *glob, double obj, double lb, double ub, int nnz, Array< int > &s, Array< double > &c)
Creates and initializes a column.
Representation of variables in column format.
void uBound(double u)
Sets the upper bound of the column to u.
Column(AbacusGlobal *glob, double obj, double lb, double ub, SparVec &vec)
Creates a column initialized by a sparse vector vec.
double obj() const
Returns the objective function coefficient of the column.
double uBound() const
Returns the upper bound of the column.
static void copy(const T &from, T &to)
Column(AbacusGlobal *glob, int maxNnz)
Creates an uninitialized column.
double uBound_
The upper bound of the column.
double lBound_
The lower bound of the column.
void lBound(double l)
Sets the lower bound of the column to l.
std::ostream & operator<<(std::ostream &out, const Active< BaseType, CoType > &rhs)