linopy.constraints Module

Linopy constraints module. This module contains implementations for the Constraint{s} class.

Classes

Constraint(*args, **kwargs)

Constraint container for storing constraint labels.

Constraints(labels, coeffs, vars, sign, rhs, ...)

A constraint container used for storing multiple constraint arrays.