linopy.eval Module

Created on Wed Oct 27 18:15:50 2021

@author: fabian

Functions

separate_coeff_and_var(term)

Subdivide a Exprs that can be interpreted as a mathematical term into a coefficient-variable tuple.

separate_terms(expr)

Subdivide expression that can be interpreted as a linear expression into separate terms.

Classes

Expr(expr)

Subclass of string to extract mathematical relations for the linopy model.