On Wed, 2018-04-04 at 11:51 -0400, marky1991 . wrote:
> In that case, how am I supposed to know whether that means the
> solution's value was 217.351 or 217.3512 (or 217.3511, etc)? Is there
> no way to configure this?
>
Even if you print the solution with more places, please note that the
In src/api/prmip.c the output is limited to 6 digits of precision
(%13.6g). So this is only an output issue.
If you use the GMPL language to specify your problem you can indicate
the output precision in the printf statement.
Best Regards
Heinrich
var P, integer >= 0, <=33;
var x0, integer, >=
In that case, how am I supposed to know whether that means the solution's
value was 217.351 or 217.3512 (or 217.3511, etc)? Is there no way to
configure this?
___
Help-glpk mailing list
Help-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-glpk
On Wed, 2018-04-04 at 10:41 -0400, marky1991 . wrote:
> I'm trying to solve a problem that has noninteger bounds for its
> variables, the problem and the outputted solution attached. I'm
> invoking glpsol with the command "glpsol --lp
> parents_allocated-pulp.lp -o parents_allocated-pulp.sol