[Coin-discuss] OsiXpr unitTest failed

Hamish Waterer h.waterer at auckland.ac.nz
Mon Jul 5 19:13:53 EDT 2004


The Osi I downloaded via cvs (6 Jul) fails the unit test using the Xpress 
solver. I'm using g++ 3.3.2 under Linux and Xpress 15.20.05. Am I doing 
something wrong?

?420 Error: Too many saved matrices in savmat
unitTest: OsiXprSolverInterface.cpp:2718: void 
OsiXprSolverInterface::activateMe() const: Assertion `iret == 0' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread -1084952448 (LWP 12406)]
0x0023fc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) bt
#0  0x0023fc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x0027c989 in raise () from /lib/tls/libc.so.6
#2  0x0027e342 in abort () from /lib/tls/libc.so.6
#3  0x00276338 in __assert_fail () from /lib/tls/libc.so.6
#4  0x0086963c in OsiXprSolverInterface::activateMe() const ()
    from /home/hwat006/COIN/lib/libOsiXpr.so
#5  0x00863c65 in OsiXprSolverInterface::getColLower() const ()
    from /home/hwat006/COIN/lib/libOsiXpr.so
#6  0x08056a7a in OsiXprSolverInterfaceUnitTest(std::string const&, 
std::string const&) (mpsDir=@0xbfe9c830, netlibDir=@0xbfe9c790)
     at OsiXprSolverInterfaceTest.cpp:763
#7  0x0808993d in main (argc=1, argv=0xbfe9c904) at unitTest.cpp:348

I noticed the CVS log for COIN/Osi/OsiXpr/OsiXprSolverInterface.cpp, 
revision 1.1.2.4 (we're up to 1.9 now), has the comment "This still 
doesn't pass the unit test, and won't, due to broken multiple problem 
management in XPRESS v12 and brain-damaged fix in the legacy API in XPRESS 
v13. It should work, though, if the number of problem saves and restores 
is not too large."

Is this related? Has it been fixed (in Xpress?)? How will this impact my 
use of the Osi with Xpress as the solver?

Thanks in advance for any help.
Hamish

--
Hamish Waterer <h.waterer at auckland.ac.nz>
Tel +64 9 3737 599 x83014, Fax +64 9 3737 468
Department of Engineering Science
The University of Auckland



More information about the Coin-discuss mailing list