Hi guys,
I`m trying to learn how to use glpk api.
I`m sitting couple hours on it and can not figure our where is a problem.
I attached 2 files. One is .lp file and second sample.c
Both are trying to solve same problem. With glpsol i have no problem to solve it, but when I try to modify sample.c so it solve the same problem it just write back:
GLPK Simplex Optimizer, v4.55
26 rows, 9 columns, 90 non-zeros
0: obj = 0.000000000e+00 infeas = 7.963e+02 (0)
LP HAS NO PRIMAL FEASIBLE SOLUTION
z = 0; x1 = 0; x2 = 0; x3 = 0; x4 = 0
Any ideas?
Thanks
--
S pozdravom Dušan Plavák