[Cbc] testGub example fails

ycollette.nospam at free.fr ycollette.nospam at free.fr
Mon Jan 22 05:27:41 EST 2018


Hello,

The testGub example fails since some recent commits:

Here is the gdb trace:

Coin0001I At line 1 NAME          AFIRO
Coin0001I At line 2 ROWS
Coin0001I At line 31 COLUMNS
Coin0001I At line 78 RHS
Coin0001I At line 83 ENDATA
Coin0002I Problem AFIRO has 27 rows, 32 columns and 83 elements
Clp0027I Model was imported from /home/crystal/repositories/coin/Cbc/Data/Sample/afiro.mps in 0.000293 seconds
Using ClpDynamicExampleMatrix
** 2 gub rows
** Before adding matrix there are 25 rows and 30 columns
** While after adding matrix there are 28 rows and 261 columns
Clp0006I 0  Obj 0 Primal inf 44 (1) Dual inf 6e+10 (10)
Clp0006I 16  Obj -464.75314 Dual inf 1.2191141 (2)
Clp0006I 16  Obj -464.75314 Dual inf 1.2191141 (2)
Clp0006I 16  Obj -464.75314 Dual inf 1.2191141 (2)
Clp0006I 16  Obj -464.75314 Dual inf 1.2191141 (2)
Clp0006I 16  Obj -464.75314 Dual inf 1.2191141 (2)
Clp0006I 16  Obj -464.75314 Dual inf 1.2191141 (2)
Clp0000I Optimal - objective value -464.75314

Program received signal SIGSEGV, Segmentation fault.
ClpDynamicMatrix::initialProblem (this=0x844c90) at /home/crystal/repositories/coin/Cbc/Clp/src/ClpDynamicMatrix.cpp:2365
2365             solution[iSequence] = 0.0;
Missing separate debuginfos, use: dnf debuginfo-install libgcc-7.2.1-2.fc27.x86_64 libstdc++-7.2.1-2.fc27.x86_64
(gdb) where
#0  ClpDynamicMatrix::initialProblem (this=0x844c90) at /home/crystal/repositories/coin/Cbc/Clp/src/ClpDynamicMatrix.cpp:2365
#1  0x00000000004458b5 in ClpDynamicMatrix::refresh (this=0x844c90, model=<optimized out>) at /home/crystal/repositories/coin/Cbc/Clp/src/ClpDynamicMatrix.cpp:1286
#2  0x00000000004e26f3 in ClpSimplexPrimal::primal (this=this at entry=0x7fffffffc710, ifValuesPass=ifValuesPass at entry=0, startFinishOptions=startFinishOptions at entry=0)
    at /home/crystal/repositories/coin/Cbc/Clp/src/ClpSimplexPrimal.cpp:227
#3  0x00000000004a14c1 in ClpSimplex::primal (this=this at entry=0x7fffffffc710, ifValuesPass=ifValuesPass at entry=0, startFinishOptions=startFinishOptions at entry=0) at /home/crystal/repositories/coin/Cbc/Clp/src/ClpSimplex.cpp:5999
#4  0x000000000043bc5f in main (argc=2, argv=<optimized out>) at /home/crystal/repositories/coin/Cbc/Clp/examples/testGub.cpp:265


Best regards,

YC


More information about the Cbc mailing list