Hello,

I am currently using GLPK with the Java interface developped and made
available in the following website: http://bjoern.dapnet.de/glpk/
When I solve a LP and I want to retrieve the values of the solution (using
getColPrim() and getColDual(), for example), these values (they are of type
double) are always rounded to the lower integer. Yet, the routine
printSol(), that prints the solution into a file, doesn´t approximate these
values. The objective value (accessed by getObjVal()) isn´t approximated
either.

Is there some parameter to customize this rounding? Or do I have to contact
the designer of the Java interface to solve my problem?
I am sorry I cannot provide a piece of code quickly (mine is rather
complex), but I hope you won´t need it to answer my question.

Sylvain
_______________________________________________
Help-glpk mailing list
Help-glpk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to