Originally posted by: bluecoder
Hi,
I am having trouble with those two functions mentioned in the topic. When I try to use them, I get a linker error stating that these functions do not exist. I am using g++ 4.6.1 in c++0x mode and the detailed error message is the following:
somefile.cpp:(.text+0xa29): undefined reference to `IloCplex::addMIPStart(IloNumVarArray, IloNumArray, IloCplex::MIPStartEffort, char const*)'
somefile.cpp:(.text+0xf82): undefined reference to `IloCplex::use(IloCplex::Aborter)'
I link against libconcert.a, libilocplex.a and libcplex.a from these paths:
http://.../concert/lib/x86-64_sles10_4.1/static_pic/libconcert.a
http://.../cplex/lib/x86-64_sles10_4.1/static_pic/libcplex.a
http://.../cplex/lib/x86-64_sles10_4.1/static_pic/libilocplex.a
I do not have any linker trouble with any of the other functions I use (so building & solving ILPs works just fine). The license I have is the following, in case it is some license issue:
IBM ILOG License Manager: "IBM ILOG Optimization Suite for Academic Initiative" is accessing CPLEX 12 with option(s): "e m b q ".
The Cplex version is 12.3. I am not really sure what additional information could be usefull to solve this problem... so please feel free to ask.
Best regards,
Jörg
#CPLEXOptimizers#DecisionOptimization