|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
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_
The lower bound of the column.
std::ostream & operator<<(std::ostream &out, const Active< BaseType, CoType > &rhs)
void obj(double c)
Sets the objective function coefficient of the column to c.
Column(AbacusGlobal *glob, double obj, double lb, double ub, SparVec &vec)
Creates a column initialized by a sparse vector vec.
double obj_
The objective function coefficient of the column.
static void copy(const T &from, T &to)
The parameterized class Array implements dynamic arrays of type E.
Column(AbacusGlobal *glob, int maxNnz)
Creates an uninitialized column.
void lBound(double l)
Sets the lower bound of the column to l.
double uBound() const
Returns the upper bound of the column.
Representation of variables in column format.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
double lBound() const
Returns the lower bound of the column.
double obj() const
Returns the objective function coefficient 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.
double uBound_
The upper bound of the column.
Global data and functions.
void uBound(double u)
Sets the upper bound of the column to u.