首页
Programming Q&A
Digital
登录
标签
pythonValueError Invalid constra
python - ValueError: Invalid constraint expression. The constraint expression resolved to a trivial Boolean (True) instead of a
My code is as follows:import pyomo.environ as pyomodel = pyo.ConcreteModel()model.x = pyo.Var(range(2
admin
7月前
53
0