> I try to do the following with GLPK 4.9 > > > > 1. Create an instance of LP > > 2. Solve the LP using simplex method > > 3. Add a row to the instance > > 4. Modify the coefficients of the new row > > 5. Resolve it using simplex method > > > > However, the program terminate when it try to modify the > coefficients of the new row. > > > > Can someone please help me on this?
Please provide the message which explains the termination reason, i.e. that one you see on the screen. lpx_set_mat_row can raise an error if: i) the row number is out of range; ii) the row length is invalid; iii) some constraint coefficients are equal to zero. _______________________________________________ Help-glpk mailing list Help-glpk@gnu.org http://lists.gnu.org/mailman/listinfo/help-glpk