Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.

 View Only
  • 1.  CPLEX on M1 chip.

    Posted Wed February 16, 2022 11:08 AM
    Hi! 
      I want to solve one of the examples of CPLEX for C++ but after writing this in the terminal (which is open in the same folder as the .cpp file):

      g++ -I/.../cplex/include -I/.../concert/include -L/.../cplex/lib/x86-64_osx/static_pic -L/.../concert/lib/x86-64_osx/static_pic ilodiet.cpp -lilocplex -lconcert

      
      I get the following error: 

      ld: symbol(s) not found for architecture arm64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)

    Hope someone can help me. 
    Thank you beforehand!

    ------------------------------
    N.
    ------------------------------

    #DecisionOptimization


  • 2.  RE: CPLEX on M1 chip.

    Posted Wed February 16, 2022 11:25 AM
    We support only intel chip on Mac, not the M1 arm64 chip.
    So to make CPLEX work on your machine, you have to ask it to use the emulated intel mode via "arch -x86_64 make", "arch -x86_64 gcc" ...

    ------------------------------
    Vincent Beraudier
    ------------------------------