[Couenne] Run file couenne-ampl and option time_limit
Pietro Belotti
petr.7b6 at gmail.com
Sat Feb 4 19:37:23 EST 2017
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>
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
> http://list.coin-or.org/mailman/listinfo/couenne
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/couenne/attachments/20170205/2f56d81f/attachment.html>
More information about the Couenne
mailing list