How to use callback to save the objvalue output of each iteration of gurobi to an array or txt file When it gets a new feasible solutio in the integer programming
回答済みHello sir, I am a scientific researcher. I have designed a warm_up algorithm for a certain type of problem. I want to get the value and time of each iteration of gurobi. I know that I can output them to the console or log file. But there is too much redundant information, can we just save the objective function value and iteration time of each iteration directly?
0
-
正式なコメント
This post is more than two 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 Bin,
Please see my solution to your other post.
If you only need these values when Gurobi finds a feasible solution, then you only have to query the attributes at the MIPSOL where value. (See Callback Codes for more information.)
Best regards,
Elisabeth
1 -
Thanks!!!
0
投稿コメントは受け付けていません。
コメント
3件のコメント