[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-glpk] xassert(tree != tree) in glp_add_rows()
From: |
Andrew Makhorin |
Subject: |
Re: [Bug-glpk] xassert(tree != tree) in glp_add_rows() |
Date: |
Mon, 8 Mar 2010 23:02:49 +0300 |
> 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.
Yes, of course. I plan to rewrite some api routines (in glpapi01.c)
and improve the documentation. I also think that it is reasonable to
describe all errors detected by particular api routines.