#include “/opt/ILOG/CPLEX_Studio122/cplex/include/ilcplex/cplex.h”Ī typical Makefile snippet which includes Cplex and COIN/Osi might then look like: If you are using COIN-OR‘s Osi class OsiCpxSolverInterface you will also need the following at the top of your OsiCpxSolverInterface.cpp file: Try ls /opt/ILOG/CPLEX_Studio122 and see if there are permission denied messages – the installation seems to screw up some permissions on this folder, however this is easily fixed with chmod +r /opt/ILOG/CPLEX_Studio122. The 32 bit libraries seem to be required only for the installer (at least, they are not needed for programs that just link with the static Cplex libs).Īfter installing, you may get a build error (running as a non-root user) that it can’t find the cplex header files. (You may also need to set the path with LD_LIBRARY_PATH=/usr/lib32). If you get an error like “jre/bin/java: not found” then you need the “32 bit libs” package: On my machine I’m installing to /opt/ILOG/CPLEX_Studio122. ![]() There are a few small hiccups I encountered. I’ve been trying to install ILOG’s Cplex product on a 64 bit Ubuntu machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |