> lpx_load_matrix(lp,1,ia,ja,ar); You did not load all the matrix, only one non-zero element but you have 4 of them. Try:
lpx_load_matrix(lp, 4,ia,ja,ar); It seems to me you are using an old version of GLPK, try to update to a more recent one. Good luck, Ali _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
