linopy.expressions.Expressions

linopy.expressions.Expressions#

class linopy.expressions.Expressions(data, model)#

An expressions container used for storing multiple expression arrays.

__init__(data, model)#

Methods

__init__(data, model)

add(expression)

Add an expression to the expressions container.

items()

remove(name)

Remove variable name from the variables.

Attributes

dataset_attrs

solution

Get the solution of variables.

data

model