aos_utils

Functions

get_active_objective(model)

Finds and returns the active objective function for a model.

get_model_variables(model[, components, ...])

Gathers and returns all variables or a subset of variables from a Pyomo model.

logcontext(level)

This context manager is used to dynamically set the specified logging level and then execute a block of code using that logging level.