[Coin-symphony] Time limit function not working?

Menal Guzelsoy megb at lehigh.edu
Wed Nov 9 04:38:48 EST 2005


ZT,

As Michael mentioned, to ensure the ability to warm-start later, SYMPHONY may
exceed the time limit with an amount that varies over the status of the
solution procedure when time limit is reached. This, in return, depends on the
structure of your problem. Nevertheless, we will work on this issue to utilize
SYMPHONY to be more accurate.

To see the assigned value of time limit, you can check the value of 'i' after
calling sym_get_dbl_param(Problem, "time_limit", &i). The return value of this
function is obviously 0 since SYMPHONY could identify the parameter
'time_limit'.

Menal.

Quoting ZT <roosty_z at yahoo.com>:

> Hello Michael,
>
> well, i left symphony for about 10 mins, but it didnt
> stop solving. the return value of
> sym_get_int_param(Problem, "time_limit", &i) is -1,
> and of sym_get_dbl_param(Problem, "time_limit", &i)
> its 0.
>
> ZT
>
>
>
> --- Michael Müller-Bungart
> <michael.mueller-bungart at bwl.tu-freiberg.de> wrote:
>
>> ZT wrote:
>> > im solving an integer problem and im having
>> problems
>> > setting the time limit for symphony solver.Im
>> using
>> > documented function for setting the parameters:
>> > sym_set_dbl_param(Problem, "time_limit", 10.0);
>> > but solver doesnt stop after the limit is reached.
>> According to my experience, SYMPHONY sometimes works
>> a little longer
>> than "time_limit". For instance, in some cases I set
>> "time_limit" to ten
>> seconds, but SYMPHONY worked as long as 60 seconds
>> (then
>> "sym_get_status" indeed returned
>> "TM_TIME_LIMIT_EXCEEDED").
>>
>> Another hint: I would suggest checking the return
>> values of
>> "sym_set_dbl_param", "sym_get_dbl_param",
>> "sym_set_int_param",
>> "sym_get_int_param" etc.
>>
>> For instance:
>>  > sym_get_int_param(Problem, "time_limit", &i)
>> should return "FUNCTION_TERMINATED_ABNORMALLY"
>> (because there is no
>> *int* param with the name "time_limit").
>>
>> Regards,
>> Michael
>>
>> --
>> Dipl.-Wirt.-Inf. Michael Mueller-Bungart
>> Lehrstuhl fuer Allgemeine Betriebswirtschaftslehre,
>> insbesondere
>>     Industriebetriebslehre/Produktionswirtschaft und
>> Logistik
>> Fakultaet fuer Wirtschaftswissenschaften
>> Technical University Bergakademie Freiberg
>> Lessingstrasse 45
>> 09596 Freiberg
>> Germany
>>
>
>
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
> _______________________________________________
> Coin-symphony mailing list
> Coin-symphony at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-symphony
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





More information about the Symphony mailing list