help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] small coefficient in glpk?


From: Yao Wu
Subject: [Help-glpk] small coefficient in glpk?
Date: Wed, 8 Oct 2008 12:06:41 -0500

Hi all,

I'm using glpk 4.8 (via Java JNI
http://bjoern.dapnet.de/glpk/index.htm) as a feasibility solver. One
of my constraint is that the sum of structural variables = 1.

When some coefficients are very small, e.g. 1E-6, then the constraint
that the sum of structural variables = 1 is not enforced. I got all of
them with 0. If I ignore those small coefficients (<= 1E-6), the
constraint that the sum of structural variables = 1 is satisfied. But
I'm not sure if this will affect the accuracy of my program.

Does anyone know if glpk has some precision lower bound or this is a bug?

Thank you very much
Yao




reply via email to

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