extract_constraints: Extract the constraint matrix, the right hand side and the sense from a model
Description
Extract the constraint matrix, the right hand side and the sense from a model
Usage
extract_constraints(model)
Value
a list with three named elements.
'matrix' the (sparse) constraint matrix from the Matrix package.
'rhs' is the right hand side vector in the order of the matrix.
'sense' is a vector of the constraint senses