Does model.update() remove all assigned values ?
回答済みHi,
For my project, im using callbacks to stop optimization, add some variables and constraints and then start optimizing again. After extending variables , if I call model.update() does this remove the previous assignment of values to the old variables?
Thanks in advance,
Kind regards,
Gert Lek.
0
-
正式なコメント
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support. -
Hi Gert,
No, the update method does not remove any previous assignments. On your local machine, you usually don't have to call the update method explicitly, because it is called by the optimize method anyway.
Best regards,
Jaromił0
投稿コメントは受け付けていません。
コメント
2件のコメント