[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] Display precision in solution files
From: |
Jean-Sebastien Roy |
Subject: |
[Help-glpk] Display precision in solution files |
Date: |
Thu, 10 Apr 2003 19:15:48 +0200 |
I tend to use glpsol instead of using the C API. Therefore, I read
the values returned by glpsol through the '-o' option, and recently
observed that many of my constraints were violated by the returned
solution. The problem turned out to be the precision (or lack of
thererof) of the values printed by lpx_mip_print.
This function uses the "%13.6g" format for printing.
Could it be possible to get a better precision through glpsol (like
"%22.15g") ?
(See attached patch)
Regards,
Jean-Sebastien
%patch-precision
Description: application/applefile
patch-precision
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-glpk] Display precision in solution files,
Jean-Sebastien Roy <=