Return the solution for each iteration using Primal or Dual Simplex
回答済みHi, would like to ask if it is possible to receive the solution for each iteration using Primal or Dual Simplex.
Kind Regards,
Gregory
-
正式なコメント
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 why not try our AI Gurobot?. -
Hi Greg,
There is no way of getting the solution point of each iteration. You can get the objective value at each iteration via the callback SPX_OBJVAL.
Best regards,
Jaromił1 -
Thank you Jaromił for your prompt reply.
May I ask if it is possible to use the callback SPX_OBJVAL from Matlab? I have not found something similar. Also, I cannot see how I can intervene among the iterations of the solver and use the callback to obtain the objective value. Could you provide some further information on this?
Warm Regards,
Gregory
0 -
Hi Greg,
The MATLAB API does not support callbacks. Thus, you cannot intervene among the iterations of the solver through MATLAB. If you want to have access to callbacks, you would have to use another API like Python, C, C++, Java, or .NET. An example of how to use callbacks can be found in the Python TSP example.
Best regards,
Jaromił1
投稿コメントは受け付けていません。
コメント
4件のコメント