Closed svigerske closed 5 years ago
Comment by @tkralphs created at 2013-11-10 23:13:44
This test is asserting something that cannot be guaranteed to happen. It should pass in most cases, but a failure does not necessarily indicate a bug. For now, I changed the assert to a printed warning. Later, we should implement something like what OSI has, with different severities of errors and a mechanism for indicating those that are expected, etc. I will push out to release in the next couple of days.
Comment by @tkralphs created at 2013-11-10 23:13:44
Resolution: fixed
Comment by @mlubin created at 2013-11-11 01:42:10
Ideally the unit test should test more specific features. For example, it could generate cuts for a hard-coded solution vector instead of being dependent on the solution provided by Clp at runtime.
Comment by @tkralphs created at 2013-11-20 04:39:24
Yes, very true. Our unit testing setup is far from ideal for sure in many ways beyond this one :).
Issue created by migration from Trac.
Original creator: @mlubin
Original creation time: 2013-11-03 15:08:07
Assignee: somebody
Cgl-0.58-2 fails to run
make test
on linux 32-bit x86 systems:I did some preliminary digging, and it seems like Clp returns a different optimal solution to the LP, leading to different cuts being generated which fail to improve the objective. It's hard to tell whether this means that there is anything wrong with the cut generator or if the test was just assuming a particular solution to the LP. Interestingly, when built with
--enable-debug
, Clp returns the same solution as on 64-bit machines and the test passes. This doesn't necessarily mean that there's a bug anywhere though; it could just be floating-point noise.This error is blocking updating the Cgl package in Debian.