check_variables_continuous

(function from pyomo.contrib.pyros.util)

pyomo.contrib.pyros.util.check_variables_continuous(model, vars, config)[source]

Check that all DOF and state variables of the model are continuous.

Parameters:
Raises:

ValueError – If at least one variable is found to not be continuous.

Note

A variable is considered continuous if the is_continuous() method returns True.