linopy.constraints.Constraints.flat

Contents

linopy.constraints.Constraints.flat#

property Constraints.flat#

Convert all constraint to a single pandas Dataframe.

The resulting dataframe is a long format with columns labels, coeffs, vars, rhs, sign.

Returns:

pd.DataFrame