> I spent long time to fix this error, but still failed.

> spx_invert: the basis matrix is singular
> spx_simplex: numerical problems with basis matrix
> spx_simplex: sorry, basis recovery procedure not implemented yet
> bfd_ftran: the factorization is not valid

> Part of the code is shown as followed. The purpose is to find out
> the projection of the solution space of the problem on two dimensional
> space. The method is optimize the linear function of these two
> variable. Thus, the coefficients of the objective function changed
> every loop.

Could you please include the following two statements:

   lpx_write_cpxlp(lp, "foo.lp");
   lpx_print_sol(lp, "foo.sol");

immediately before a call to lpx_simplex that fails. This would allow
inspecting the instance and the current basis and possibly might explain
the cause of failure.




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

Reply via email to