GNOME Bugzilla – Bug 783077
GLPK solver works for continuous variables, but not for integer variables
Last modified: 2017-05-26 23:25:22 UTC
Environment: Fedora 25 Gnome: 3.22 Gnumeric: 1.12.34 Glpk: 4.59 If I set up a problem with continuous variables, glpk works fine. But if there are integer variables there is an error. I tried installing locally the most recent (4.61) version of glpk, and the result is the same. (The lpsolve program works well in both cases.)
This is probably related to the surprise glpk format change. Please attach a sample sheet that shows the problem.
Created attachment 352571 [details] Gnumeric spreadsheet with a linear programming problem I attach a gnumeric spreadsheet with a linear programming problem that happens to have an integer solution. If I tick the box for integer variables, it gives an error. If I don't, it works fine (at least on my system).
This was indeed further fallout from glpk's format change, :-( Workaround for now as you discovered: use lpsolve. This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.