213 SPX_MSG_ERROR(std::cerr <<
"ELPROW01 RANGE not supported in LPRow::setType()"
290#ifdef ENABLE_CONSISTENCY_CHECKS
291 return vec.isConsistent();
Collection of dense, sparse, and semi-sparse vectors.
LPRowBase(int defDim=0)
Constructs LPRowBase with a vector ready to hold defDim nonzeros.
LPRowBase(const R &p_lhs, const SVectorBase< R > &p_rowVector, const R &p_rhs, const R &p_obj=0)
Constructs LPRowBase with the given left-hand side, right-hand side and rowVector.
R left
left-hand side of the constraint
const SVectorBase< R > & rowVector() const
Constraint row vector.
Type
(In)Equality type of an LP row.
bool isConsistent() const
Checks consistency.
void setType(Type p_type)
Sets type of (in)equality.
LPRowBase(const LPRowBase< S > &row)
Copy constructor.
DSVectorBase< R > vec
the row vector
void setLhs(const R &p_left)
Sets left-hand side value.
R right
right-hand side of the constraint
R object
objective coefficient of corresponding slack variable s = vec times primal
void setRhs(const R &p_right)
Sets right-hand side value.
LPRowBase(const SVectorBase< R > &p_rowVector, Type p_type, const R &p_value, const R &p_obj=0)
Constructs LPRowBase from passed rowVector, type and value.
R rhs() const
Right-hand side value.
R value() const
Right hand side value of (in)equality.
LPRowBase(const LPRowBase< R > &row)
Copy constructor.
LPRowBase< R > & operator=(const LPRowBase< R > &row)
Assignment operator.
void setObj(const R &p_obj)
Sets objective coefficient value.
R lhs() const
Left-hand side value.
Type type() const
Gets type of row.
R obj() const
Objective coefficient value.
void setRowVector(const DSVectorBase< R > &p_vec)
access constraint row vector.
Exception class for things that should NEVER happen.
Everything should be within this namespace.
SOPLEX_THREADLOCAL const Real infinity
Debugging, floating point type and parameter definitions.
#define SPX_MSG_ERROR(x)
Prints out message x if the verbosity level is at least SPxOut::ERROR.