Bug#521076: lp-solve: crash when creating columns with C API

2009-08-07 Thread Carl Worth
On Fri, 2009-08-07 at 22:59 +0200, fonsinchen wrote: > Most of the columns I added in my actual program were rather simple statements > which could be eliminated easily. So, the number is large, but the problem is > not necessarily hard. I just didn't want to eliminate them beforehand as > lpsolve

Bug#521076: lp-solve: crash when creating columns with C API

2009-08-07 Thread fonsinchen
Hi Carl, Carl Worth wrote: > [...] >> The behaviour can be reproduced with the following >> example code. Remove the add_columnex line and it works fine. Keep it >> and watch the crash on add_constraint. > > A key thing to notice in your example program is that you are trying to > add 1 colum

Bug#521076: lp-solve: crash when creating columns with C API

2009-08-07 Thread Carl Worth
Hi Fonso, Thanks for the bug report. I just noticed this bug while taking a look through the output of rc-alert, so I thought I'd look a little more closely at this one. On Tue, 24 Mar 2009 19:27:27 +0100 Fonso wrote: > Severity: grave > Justification: renders package unusable I don't think the

Bug#521076: lp-solve: crash when creating columns with C API

2009-03-24 Thread Fonso
Package: lp-solve Version: 5.5.0.10-10 Severity: grave Justification: renders package unusable The lp-solve documentation states: "For add_columnex, column and rowno can both be NULL. In that case an empty column is added." This means the following call should be valid: add_columnex(lp, 0, NULL,