There are several ways to integrate then inside exisiting PYOMO model: Using the expr argument: model = pyo.ConcreteModel() model.x = pyo.Var(index_set ...
確定! 回上一頁