I use CPLEX 12.8 and c++ to code a benders decomposition algorithm. When I use clang++ compiler there is no error. However, when I use g++ the following error occurs:
In file included from /opt/ibm/ILOG/CPLEX_Studio128/cplex/include/ilcplex/ilocplexi.h:1053:0, from /opt/ibm/ILOG/CPLEX_Studio128/cplex/include/ilcplex/ilocplex.h:29,
from PARAM.h:12, from MAIN.cpp:1: /opt/ibm/ILOG/CPLEX_Studio128/cplex/include/ilcplex/iloparam.h:83:12: warning: ‘IloCplex::Param::MIP::Limits::SubMIPNodeLim’ is deprecated [-Wdeprecated-declarations] struct Limits { ^ /opt/ibm/ILOG/CPLEX_Studio128/cplex/include/ilcplex/iloparam.h:103:40: note: declared here static const IloCplex::LongParam SubMIPNodeLim = LongParam(CPX_PARAM_SUBM
I do not use SubMIPNodeLim
in my code, so I don't understand why I am receiving this warning. Although g++ produces this kind of warning, it also compiles the code and I can see the results. However, when I use gcc it does not show any results and terminates with a long list of errors. Could you please let me know what is wrong here?