help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] small coefficient in glpk?


From: Andrew Makhorin
Subject: Re: [Help-glpk] small coefficient in glpk?
Date: Thu, 9 Oct 2008 13:29:38 +0400

> 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?

Your question is unclear. Could you give an example of the constraint
and explain what is wrong?

(Note that the most recent version of glpk is 4.32.)





reply via email to

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