HiGHS icon indicating copy to clipboard operation
HiGHS copied to clipboard

WARNING: LP matrix packed vector contains 2 |values| in [0, 0] less than or equal to 1e-09: ignore

Open few opened this issue 1 year ago • 1 comments

With the latest branch (not with 1.7.2), I get lots of the following warnings: WARNING: LP matrix packed vector contains 2 |values| in [0, 0] less than or equal to 1e-09: ignore

I guess that's because I'm adding constraints (using highspy) with a coefficient of 0 for some variables. There is some code that computes these coefficients and some end up as 0. Is that a problem? Is there a way to silence these warnings?

few avatar Aug 28 '24 14:08 few

If my memory serves me correctly, this was added because someone wanted to know the reason why they were getting a warning back from methods like addRow.

Since there's no loss of data if explicit zeros are ignored, I could suppress the warning and return HighsStatus::kOk in this case.

jajhall avatar Aug 28 '24 14:08 jajhall

Closed by #1919

jajhall avatar Sep 11 '24 15:09 jajhall