Dear All,
Is possible to retrieve MIP optimalilty gap and Solving Time for each solve in to a parameter?
If so, how to do this?
Thank you very much.
Dear All,
Is possible to retrieve MIP optimalilty gap and Solving Time for each solve in to a parameter?
If so, how to do this?
Thank you very much.
You can use the “Incumbent” and “Incumbent” suffix to retrieve the best known solution and the LP bound, then use them to calculate the GAP and assign it to a parameter.
MpGap :=(abs(MathProgram.Incumbent - MathProgram.bestbound)/$abs(MathProgram.Incumbent)) * 100;
Hello
Thank you for the method to calculate the gap. For solving time, is there a way to retrieve it?
Thank you.
Yes, you can use the “SolutionTime” suffix. For other suffix and callback functions, you can refer to the AIMMS Language reference, part “Suffices and Callbacks”.
Hi
Thanks a lot….
Already have an account? Login
Please use your business or academic e-mail address to register
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Didn't find what you were looking for? Try searching on our documentation pages: