How to print objective values, runtime of each iteration?
AnsweredHello, I need to print values of objective for each iteration (not just two iterations as shown below). I think callback function could be useful. But, cant find the correct syntax.
Note: it's a MIP (multiobjective optimization)

-
Official comment
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 Tanmoy,
This isn't possible unfortunately. You can get information related to the simplex method via callback, but not at every iteration. Can I ask what interests you in having this information?
- Riley
0 -
I want to draw the linechart of iteration vs runtime & iteration vs % gap kinda similar to the below figure
0 -
Hi Tanmoy,
I'm not aware of any solver that will give you the data that you're wanting unfortunately, but perhaps the most likely candidate is SoPlex. I don't think this would be easy task though.
- Riley
0 -
Hi Tanmoy,
Just to follow up, it has been suggested by a colleague that you may be confusing simplex iteration with node processing. Can you explain in detail what you are referring to?
- Riley
0
Post is closed for comments.
Comments
5 comments