var_aggregator

Transformation to aggregate equal variables.

Classes

VariableAggregator(**kwds)

Aggregate model variables that are linked by equality constraints.

Functions

max_if_not_None(iterable)

Returns the maximum among non-None elements.

min_if_not_None(iterable)

Returns the minimum among non-None elements.