[Scip] printsol problem

James Cussens james.cussens at york.ac.uk
Fri May 3 13:58:38 MEST 2013


I'm calling SCIPprintSol like this:
SCIP_CALL( SCIPprintSol(scip,NULL,NULL,FALSE) );

while in stage:
SCIP_STAGE_SOLVING

which is apparently legitimate. But I'm getting an assert error (in debug mode):
The following gdb backtrace excerpt might be useful:

STARTS
gobnilp: src/scip/sol.c:438: SCIPsolCreateLPSol: Assertion
`SCIPlpIsSolved(lp)' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff64cba25 in raise () from /lib64/libc.so.6
(gdb) backtrace
#0  0x00007ffff64cba25 in raise () from /lib64/libc.so.6
#1  0x00007ffff64cd1d8 in abort () from /lib64/libc.so.6
#2  0x00007ffff64c47b2 in __assert_fail_base () from /lib64/libc.so.6
#3  0x00007ffff64c4862 in __assert_fail () from /lib64/libc.so.6
#4  0x00000000006aaf94 in SCIPsolCreateLPSol (sol=0x7fffffffcb90,
blkmem=0x1e2cfa0, set=0x1e2efc0, stat=0x1fc4550, prob=0x2129d10,
primal=0x32857c0, tree=0x2cf1880, lp=0x25bb5b0, heur=0x0) at
src/scip/sol.c:438
#5  0x00000000006ab40b in SCIPsolCreateCurrentSol (sol=0x7fffffffcb90,
blkmem=0x1e2cfa0, set=0x1e2efc0, stat=0x1fc4550, prob=0x2129d10,
primal=0x32857c0, tree=0x2cf1880, lp=0x25bb5b0, heur=0x0)
    at src/scip/sol.c:527
#6  0x0000000000678946 in SCIPprintSol (scip=0x1e2a010, sol=0x0,
file=0x0, printzeros=0) at src/scip/scip.c:29114
ENDS

--
James Cussens
Dept of Computer Science &
York Centre for Complex Systems Analysis
Room 326, The Hub, Deramore Lane            Tel    +44 (0)1904 325371
University of York                                        Fax  +44
(0)1904 500159
York YO10 5GE, UK                               http://www.cs.york.ac.uk/~jc
http://www.york.ac.uk/docs/disclaimer/email.htm


More information about the Scip mailing list