Hi,
I coded a MIP model in GAMS and solved it for a lot of instances by CPLEX. I obtained wrong results for a couple of them. Then I used ILOG Cplex and It solved the model for these instances correctly. However, when I used BARON solver in GAMS, it solved, too. So, is it a bug in GAMS or I missed something?
I have attached GAMS file consisting of the instance.
Bests.
Attachments-56/3d.gms
Hakan Kutocu:
The default optimality tolerances in GAMS are optcr = 0.1 (relative optimality tolerance) and optca = 0.0 (absolute optimality tolerance). If you change optcr to 0.0 you will probably get the correct results.
Regards
Arne
\
Arne Stolbjerg Drud
ARKI Consulting & Development A/S
Bagsvaerdvej 246A, DK-2880 Bagsvaerd, Denmark
Phone: (+45) 44 49 03 23, Fax: (+45) 44 49 03 33, email: adrud@arki.dk
From: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] On Behalf Of Hakan Kutucu
Sent: Monday, July 16, 2012 12:21 PM
To: gamsworld@googlegroups.com
Subject: Gams Cplex vs ILOG Cplex
Hi,
I coded a MIP model in GAMS and solved it for a lot of instances by CPLEX. I obtained wrong results for a couple of them. Then I used ILOG Cplex and It solved the model for these instances correctly. However, when I used BARON solver in GAMS, it solved, too. So, is it a bug in GAMS or I missed something?
I have attached GAMS file consisting of the instance.
Bests.
–
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.
–
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.
Thank you so much Arne.
I got the correct results.
From: adrud@arki.dk
To: gamsworld@googlegroups.com
Subject: RE: Gams Cplex vs ILOG Cplex
Date: Mon, 16 Jul 2012 12:54:03 +0200
Hakan Kutocu:
The default optimality tolerances in GAMS are optcr = 0.1 (relative optimality tolerance) and optca = 0.0 (absolute optimality tolerance). If you change optcr to 0.0 you will probably get the correct results.
Regards
Arne
\
Arne Stolbjerg Drud
ARKI Consulting & Development A/S
Bagsvaerdvej 246A, DK-2880 Bagsvaerd, Denmark
Phone: (+45) 44 49 03 23, Fax: (+45) 44 49 03 33, email: adrud@arki.dk
From: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] On Behalf Of Hakan Kutucu
Sent: Monday, July 16, 2012 12:21 PM
To: gamsworld@googlegroups.com
Subject: Gams Cplex vs ILOG Cplex
Hi,
I coded a MIP model in GAMS and solved it for a lot of instances by CPLEX. I obtained wrong results for a couple of them. Then I used ILOG Cplex and It solved the model for these instances correctly. However, when I used BARON solver in GAMS, it solved, too. So, is it a bug in GAMS or I missed something?
I have attached GAMS file consisting of the instance.
Bests.
–
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.
–
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.
–
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.