tupledict copy
I am trying to create a shallow copy of a tupledict d. d.copy() returns it as a regular dictionary, whereas I would like the copy to be a tupledict as well. The best way I found to do this is to write gp.tupledict(d.copy()). Is there a better way? Thank you.
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.
投稿コメントは受け付けていません。
コメント
1件のコメント