[Couenne] Run file couenne-ampl and option time_limit
Mamadou KONE
mamadou1.kone at ucad.edu.sn
Thu Feb 9 11:43:50 EST 2017
Dear Pietro,
Thank you infiment, your help allowed me to unlock the situation.
Your reply has been simple and understandable
Best wishes, KONE
________________________________
De : Pietro Belotti <petr.7b6 at gmail.com>
Envoyé : dimanche 5 février 2017 02:37:23
À : Mamadou KONE
Cc : couenne at list.coin-or.org
Objet : Re: [Couenne] Run file couenne-ampl and option time_limit
Hello,
unfortunately Couenne doesn't accept options via the AMPL interface. The only way to set a time limit is to create a file called couenne.opt with a line such as
time_limit 400
for a 400-second limit. The file must be in the same directory as where the command (AMPL, in this case) is launched from.
Hope this helps.
Pietro
On Sat, Feb 4, 2017 at 8:46 PM, Mamadou KONE <mamadou1.kone at ucad.edu.sn<mailto:mamadou1.kone at ucad.edu.sn>> wrote:
Hello,
I have pretty big MINLP problem that I solve on Couenne using AMPL
The problem is that the problem runs for number of hours.
I wonder if it is possible to do either of the following:
1. After the problem breaks, have results displayed (run the command file), that might not be optimal, but seeing current primal value, it is good enough for me.
2. Have solver to stop and have the results displayed after primal value had reached certain desired value
3. Have a solver to display intermediate (current) variable values every x minutes (that one would be a perfect solution for me)
4. Have a time limit after which the solver stops and current solution
is displayed.
5. well I used:
option couenne_options "time_limit =x";
However, this manner don´t work.
Thanks for you.
_______________________________________________
Couenne mailing list
Couenne at list.coin-or.org<mailto:Couenne at list.coin-or.org>
http://list.coin-or.org/mailman/listinfo/couenne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/couenne/attachments/20170209/e16e074a/attachment.html>
More information about the Couenne
mailing list