In many cases, however, it is convenient for the user not to have to check whether a matrix element is zero before calling GLPK, and it seems to me that this error is unnecessary. In particular, inside lpx_set_mat_row etcetera you could simply check for zero matrix elements and skip them.
I've attached a patch to accomplish this. Cordially, Steven G. Johnson
diff.out
Description: Binary data
_______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
