help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] solution rounding support


From: Andrew Makhorin
Subject: Re: [Help-glpk] solution rounding support
Date: Wed, 04 May 2011 00:20:57 +0400

> Just wondered it the following "solution rounding" call
> still work (it still compiles)?
> 
>   lpx_set_int_parm(lp, LPX_K_ROUND, 1);   // enable output rounding
>   lpx_set_int_parm(lp, LPX_K_ROUND, 0);   // disable output rounding
> 
> As far as I could tell, all the relevant source code has been disabled.

This feature was only intended to control output performed by the
routines lpx_print_sol/ipt/mip in order to print results in a more
readable format, i.e. to print 0.0 rather than something like
1.234567e-17. Please note that now global control parameters (stored in
glp_prob) are not used, so the routines lpx_set/get_parm are provided
only for downward compatibility.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]