[Coin-symphony] Time limit function not working?

ZT roosty_z at yahoo.com
Tue Nov 8 05:45:56 EST 2005


Hello,

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. if
i check it by sym_get_dbl_param(Problem, "time_limit",
&i) i get the value 0. i tried setting it as integer
parameter, but it also doesnt change it. but i find it
weird that sym_get_int_param(Problem, "time_limit",
&i) throws out -1, which is the default setting for
time limit. i tried using symphony.exe with reading
the time_limit parameter from a file, but its the
same.
but if i add sym_set_continuous into the code, which
sets all the variables as continuous, solver stops
after it reaches the time limit.

So what seems to be the problem?

thanks, bye


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com



More information about the Symphony mailing list