Hello Andrew,
glp_add_rows is often used in callback routines. The manual does
not indicate any case in which it is not allowable to call
glp_add_rows. But the coding checks the reason code.
I do not like to look into the source of GLPK to find out what I
made wrong in my Java program.
Please, replace operation not allowed by
xerror("glp_add_rows: operation not allowed");
In glpapi01.c you will find some other checks of the reason code
which are undocumented too (e.g. glp_set_col_name).
Please, describe in doc/glpk.pdf which operations are allowable inside
a callback and which are not.
Best regards
Xypron
--
View this message in context:
http://old.nabble.com/xassert%28tree-%21%3D-tree%29-in-glp_add_rows%28%29-tp27826431p27826431.html
Sent from the Gnu - GLPK - Bugs mailing list archive at Nabble.com.
_______________________________________________
Bug-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-glpk