143 double *x)
const override;
Implements the sets of active constraints and variables which are associated with each subproblem.
const Sub * sub() const
Returns a const pointer to the subproblem associated with the constraint/variable.
bool local() const
Returns true if the constraint/variable is only locally valid, false otherwise.
virtual bool dynamic() const
Return true if the constraint/variable is dynamic.
bool liftable() const
Checks if the constraint is liftable.
CSense * sense()
Returns a pointer to the sense of the constraint.
virtual double rhs() const
Returns the right hand side of the constraint.
The master of the optimization.
Implements constraints stored in the class Row.
Row * row()
Returns a pointer to the object of the class Row representing the constraint.
Row row_
The representation of the constraint.
virtual double coeff(const Variable *v) const override
Computes the coefficient of a variable which must be of type NumVar.
Representation of constraints in the row format.
void copy(const Row &row)
Copies row.
Constraints using row with static variable set.
virtual int genRow(Active< Variable, Constraint > *var, Row &row) const override
Generates the row format of the constraint associated with the variable set var.
virtual double slack(Active< Variable, Constraint > *variables, double *x) const override
Computes the slack of a vector associated with the variable set variables.
virtual ~SRowCon()
The destructor.
SRowCon(Master *master, const Sub *sub, CSense::SENSE sense, int nnz, const Array< int > &support, const Array< double > &coeff, double rhs, bool dynamic, bool local, bool liftable)
Creates a row constraint.
SRowCon(Master *master, const Sub *sub, CSense::SENSE sense, int nnz, int *support, double *coeff, double rhs, bool dynamic, bool local, bool liftable)
Creates a row constraint.
int nnz() const
Returns the number of nonzero elements.
The parameterized class Array implements dynamic arrays of type E.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()