Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我查看了 JuMP 的文档,但没有找到:
如何仅修改现有模型变量的起点?
您可以使用
setvalue(x[i],1.0)
为将在下次调用x[i]时传递给求解器的变量提供一个起点。solve()这可以随时完成。
x[i]
solve()