I am trying to add CPLEX to Julia. I download the latest version of CPLEX, 22.1 And also updated the CPLEX.jl package to the latest version, v0.9.4. When running Pkg.build(“CPLEX”), it seems that the path is wrong, so I correct the path to ENV[“CPLEX_STUDIO_BINARIES”] = “/Applications/CPLEX_Studio221/cplex/bin/x86-64_osx/”, which is the correct path. But it still throws the same error. I have attached the screenshot.
Can you please start a new thread, and include the full text of the error you get when installing CPLEX, as well as the output of versioninfo() and import Pkg; Pkg.status().
If you’re using an M1 or M2 Mac, then you need to make sure you’ve installed the matching builds of Julia and CPLEX. So both builds with arm64 in their name, or both builds with x86_64.