[Cbc] Build problem with COIN_BIG_INDEX

ycollette.nospam at free.fr ycollette.nospam at free.fr
Wed Sep 27 03:30:21 EDT 2017


Hello,

I checked that clp compiled fine with COIN_BIG_INDEX=2.
But there is still a problem with Cbc.
With the current trunk of Cbc, I meet the following error message:

[ 36%] Building CXX object Cgl/CMakeFiles/libCgl.dir/src/CglMixedIntegerRounding/CglMixedIntegerRounding.cpp.o
/home/artelys/repositories/coin/Cbc/Cgl/src/CglMixedIntegerRounding/CglMixedIntegerRounding.cpp: Dans la fonction membre « virtual void CglMixedIntegerRounding::generateCuts(const OsiSolverInterface&, OsiCuts&, CglTreeInfo) »:
/home/artelys/repositories/coin/Cbc/Cgl/src/CglMixedIntegerRounding/CglMixedIntegerRounding.cpp:71:58: error: ne peut convertir « const CoinBigIndex* {aka const long long int*} » en « const int* » dans l'initialisation
   const int* rowStarts     = matrixByRow.getVectorStarts();
                                                          ^
/home/artelys/repositories/coin/Cbc/Cgl/src/CglMixedIntegerRounding/CglMixedIntegerRounding.cpp:78:58: error: ne peut convertir « const CoinBigIndex* {aka const long long int*} » en « const int* » dans l'initialisation
   const int* colStarts     = matrixByCol.getVectorStarts();
                                                          ^
/home/artelys/repositories/coin/Cbc/Cgl/src/CglMixedIntegerRounding/CglMixedIntegerRounding.cpp: Dans la fonction membre « void CglMixedIntegerRounding::mixIntRoundPreprocess(const OsiSolverInterface&) »:
/home/artelys/repositories/coin/Cbc/Cgl/src/CglMixedIntegerRounding/CglMixedIntegerRounding.cpp:320:58: error: ne peut convertir « const CoinBigIndex* {aka const long long int*} » en « const int* » dans l'initialisation
   const int* rowStarts     = matrixByRow.getVectorStarts();
                                                          ^
make[2]: *** [Cgl/CMakeFiles/libCgl.dir/build.make:87: Cgl/CMakeFiles/libCgl.dir/src/CglMixedIntegerRounding/CglMixedIntegerRounding.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1462: Cgl/CMakeFiles/libCgl.dir/all] Error 2

Best regards,

YC



More information about the Cbc mailing list