> Hello, is possible that glpsol return time result in miliseconds for > example: > > INTEGER OPTIMAL SOLUTION FOUND > Time used: 0.0 secs > Memory used: 0.1M (91936 bytes) > > Time used: 0.005 secs > > or > > Time used: 5 miliseconds > > How to increase precision time?.
For portability reason by default glpsol uses a portable version of lib_get_time which being based on gmtime provides only 1-sec precision. You can replace the file glplib1b.c before compiling glpk by appropriate platform-specific version; see the subdirectory sysdep where two versions are provided: for GNU/Linux and for W32 API. If none of them fits for your needs, you can provide your own version. _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
