bug-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-glpk] xassert(tree != tree) in glp_add_rows()


From: xypron
Subject: [Bug-glpk] xassert(tree != tree) in glp_add_rows()
Date: Mon, 8 Mar 2010 11:38:24 -0800 (PST)

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]