This article will show you how to apply different stop criteria to a 'solve' statement in AIMMS.
Read More...
Something to add to the article is that the MIP absolute optimality tolerance and MIP relative optimality tolerance can be found in:
Settings -> Project options.. -> Solvers general -> MIP options
I have have tried these methods and change the gap to 0.5%, 1.0%, 5.0% and 10.0% to analyse whether the solving time can be reduce by changing the gap:
- Mathematical Program Identifier is set to MIP
- changing the MIP Relative Optimality Tolerance in the Options Tree
-
OptionSetValue('MIP Relative Optimality Tolerance', 0.10)
and
solve MathProg where MIP_Relative_Optimality_Tolerance := 0.1;
However, the CPLEX stop at 0.00%. Is there any way to stop the CPLEX at 10% of gap?
Hi,
Also,
I wasn’t able to find the solvers that these options are applicable:
Thanks!
Hi
The options in Solvers General apply to all suitable solvers unless specified otherwise. The 'Time Limit’ option applies to all solvers (while an option like 'MIP Relative Optimality Tolerance’ only applies to MIP solvers).
Hi
The options in Solvers General apply to all suitable solvers unless specified otherwise. The 'Time Limit’ option applies to all solvers (while an option like 'MIP Relative Optimality Tolerance’ only applies to MIP solvers).
Thanks,
Reply
Sign up
Already have an account? Login
Please use your business or academic e-mail address to register
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.