sasoptpy.Model._is_linear

Model._is_linear(self)[source]

Checks whether the model can be written as a linear model (in MPS format)

Returns
is_linearboolean

True if model does not have any nonlinear components or abstract operations, False otherwise