首页
Programming Q&A
登录
标签
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
11天前
5
0