Every solver has its own conventions for setting its time limits and communicating additional solver information such as the gap. In the case of Couenne, you can consult
https://projects.coin-or.org/svn/Couenne/trunk/Couenne/doc/couenne-user-manual.pdf
and in particular Section 6 on options. (There is a time_limit option defined at the end of the section.) If you do not see all the information you need, you may want to contact the Couenne project as described at https://projects.coin-or.org/Couenne.
Bob Fourer
From: am...@googlegroups.com [mailto:am...@googlegroups.com]
On Behalf Of Orkun S.
Sent: Thursday, November 22, 2012 1:17 PM
To: am...@googlegroups.com
Subject: [AMPL 6336] Set time limit on AMPL for calling solver couenne(Urgent!!!)
Hi All,
I am studying with AMPL and I have my code on a .txt file. I downloaded couenne at http://www.coin-or.org/Binaries/Couenne/. In order to call solver couenne, I wrote "option solver couenne;" before "solve;" command. By using AMPL command window, I solve my problem. My question is that how can I set a time limit to solve my problem. The following is my commands to solve on my .txt file:
option solver couenne;
solve;
display x,y;
Where should I write my time limit commands? Also, is it possible to see the gap after solving?
Many thanks..
--
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ampl+uns...@googlegroups.com.
To post to this group, send email to am...@googlegroups.com.
Visit this group at http://groups.google.com/group/ampl.
For more options, visit https://groups.google.com/groups/opt_out.