Originally posted by: Zhiyuan6600
Installation of CPLEX for mac os
1.download an academic version in form of .bin file.
2.open a terminal, go to the subdirectories of the file by the command such as "cd /user/your name/download" 3.execute "cplex*.bin" command
4.then follow the instructions of installer step by step
5.install the Xcode from apple store for free.
6.in preferences->downloads->components of Xcode , install the command line tools
7.then it works in the terminal by command lines
8.if you want to use CPLEX in the Xcode IDE, set up a new c++ project, and do something as following:
8.1 add *.h and *.lib path in the "searching path" and "library path"
8.2 add -DIL_STL "in other c flags"
8.3 add -lilocplex -lconcert -lcplex in "other linker flags"
Note Mac book air with mac os is a 64 bit system. Don't assign the library to 32bit path, or more link errors will appear .
#CPLEXOptimizers#DecisionOptimization