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_; }
Global data and functions.
Representation of variables in column format.
void uBound(double u)
Sets the upper bound of the column to u.
void lBound(double l)
Sets the lower bound of the column to l.
double obj_
The objective function coefficient of the column.
double lBound_
The lower bound of the column.
Column(AbacusGlobal *glob, double obj, double lb, double ub, SparVec &vec)
Creates a column initialized by a sparse vector vec.
double lBound() const
Returns the lower bound of the column.
void copy(const Column &col)
Copies column col.
void obj(double c)
Sets the objective function coefficient of the column to c.
double uBound() const
Returns the upper bound of the column.
Column(AbacusGlobal *glob, int maxNnz)
Creates an uninitialized column.
double obj() const
Returns the objective function coefficient of the column.
friend std::ostream & operator<<(std::ostream &out, const Column &rhs)
The output operator.
double uBound_
The upper bound of the column.
Column(AbacusGlobal *glob, double obj, double lb, double ub, int nnz, Array< int > &s, Array< double > &c)
Creates and initializes a column.
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.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()