Commit 8e24001e authored by Sebastian Schwarz's avatar Sebastian Schwarz
Browse files

Removed two assert statements that were added by mistake.

parent 436a2986
Pipeline #492703 failed with stages
in 240 minutes and 17 seconds
......@@ -214,8 +214,6 @@ def extract_pyomo_value(variable, var_type=None):
value = variable.value
value = var_type(value)
assert is None or <= value or np.isclose(, value)
assert variable.ub is None or value <= variable.ub or np.isclose(variable.ub, value)
return value
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment