model.con2 = Constraint(expr=2*model.x_1 + 5*model.x_2 >= 2). The first line is a standard Python import statement that initializes the Pyomo envi-.
確定! 回上一頁