Hi, I have a large MIP problem that has been modeled in GAMS and I am using CPLEX solver of the GAMS. Because of the big size of my problem, I set time limitation of 3600 seconds just want the execution to be stopped. When reaching this time limitation, still no solution can be found by CPLEX/GAMS, and I want to just the CPLEX/GAMS report me best lower bound and upper bound that have been found up to that time. I know that the CPLEX/GAMS log have a column called "BEST BOUND" that it would be best lower bound but I can not find the best upper bound there. Please help me. Regards Mehdi.T.

asked 27 Jul '16, 01:33

mosahab's gravatar image

accept rate: 0%

edited 27 Jul '16, 01:35


It looks that cplex's heuristics are unable to find a solution. I suggest you write one yourself and let cplex use it as an incumbent callback (you will need to run it with java or c++ I guess, I am not sure it is possible to do it with GAMS). Since you know the problem, you should be able to do it better than cplex's heuristics which are generic.

What is the problem you are working on by the way?


answered 23 Aug '16, 11:28

V%20A's gravatar image

accept rate: 0%

Supposing your GAMS model is named MyModel, you can use the following commands:

Display MyModel.ObjEst; * lower bound of objective function in a minizminzation problem
Display MyModel.ObjVal; * upper bound of objective function in a minizminzation problem

answered 29 Aug '16, 06:19

Ehsan's gravatar image

Ehsan ♦
accept rate: 16%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 27 Jul '16, 01:33

Seen: 1,723 times

Last updated: 29 Aug '16, 06:19

OR-Exchange! Your site for questions, answers, and announcements about operations research.