> 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

You may call glp_write_lp to write your lp to a text file and then
inspect it. For details please see the glpk manual (glpk.pdf).



_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to