Ok, I made some progress on this. It looks like IBM is making you use Rosetta which can be headachey but at least is possible. I personally encounter other, non-IBM, problems using Rosetta and thus have a strong preference for providers (Gurobi or Xpress) that don't force you to use it. That said, my anti-Rosetta bias is arguably just one mans opinion.
At any rate, here are my notes. Hopefully they help someone.
------------------------------
Peter Cacioppi
------------------------------
Original Message:
Sent: Sun December 17, 2023 03:23 PM
From: Peter Cacioppi
Subject: CPLEX Optimization Studio 22.1.1 is available
I'm still not seeing a solution for Apple Silicon developers.
Here is what I see on pypi for three files section of three different packages.
- The gurobipy package has a "universal" whl file that can install on Apple Silcon.
- The xpress package has two whl files for macs. One is arm64 and one is x86.
- The cplex package has just one whl file for macs, but it is x86 and not universal.
The problem is thus, one can't install the cplex package on an M2 machine the way you can for xpress and gurobipy. The docplex package can be installed, but not the cplex package, and thus you can't run cplex on a modern MacBook.
Is there someplace you go other than pypi to get an arm64 compatible whl file for cplex?
------------------------------
Peter Cacioppi
Original Message:
Sent: Mon January 09, 2023 12:26 PM
From: Laurent Houssin
Subject: CPLEX Optimization Studio 22.1.1 is available
Thank you Christophe, but the the problem still remains.
Actually, someone has the same problem here:
https://community.ibm.com/community/user/datascience/discussion/cplex-python-package-not-working-on-arm64-architecture?ReturnUrl=%2fcommunity%2fuser%2fdatascience%2fcommunities%2fcommunity-home%2fdigestviewer%3fcommunitykey%3dab7de0fd-6f43-47a9-8261-33578a231bb7
I tried to use the arch command but it yields no results.
------------------------------
Laurent Houssin
Original Message:
Sent: Wed January 04, 2023 11:57 AM
From: Christophe Gefflot
Subject: CPLEX Optimization Studio 22.1.1 is available
Hello ,
Using the cplex_studio2211.osx.arm64.zip (or COSCE2211_MACOS.ARM64.zip for the Community Edition), you can run CPLEX on a M1 chip.
Regards,
------------------------------
Christophe Gefflot
Original Message:
Sent: Tue January 03, 2023 11:37 AM
From: Laurent Houssin
Subject: CPLEX Optimization Studio 22.1.1 is available
With respect to platforms, this release introduces support for Windows Server 2022 and MacOS Ventura. It also adds an ARM64 port for MacOS, allowing users to run CPLEX Optimization Studio natively on this architecture.
Unfortunately, I still have this compatibility problem with my M1 chip from Apple (MacBook). Even with this new version of Cplex. Am I alone with this problem? Is there a way to use Cplex on a M1 chip?
Laurent Houssin
------------------------------
LAURENT HOUSSIN
Original Message:
Sent: Tue December 13, 2022 08:35 AM
From: Rory Keeley
Subject: CPLEX Optimization Studio 22.1.1 is available
We are pleased to announce the availability of IBM ILOG CPLEX Optimization Studio 22.1.1.
This release includes a new heuristic in CPLEX for cardinality-constrained problems.
It also introduces a feature in CP Optimizer to identify certain variables as having their values inferred by the values of other variables. CP Optimizer also adds a new constraint - subCircuit - to ensure that successor variables form at most one cycle.
Equivalent features have been added to the OPL IDE to match these additions. It's also now possible for a subscription user to log in to the IDE to access their IBM Cloud subscription details.
With respect to platforms, this release introduces support for Windows Server 2022 and MacOS Ventura. It also adds an ARM64 port for MacOS, allowing users to run CPLEX Optimization Studio natively on this architecture.
You can read the release notes here:
Introducing IBM ILOG CPLEX Optimization Studio 22.1.1
Passport Advantage customers can find details about the installer images here: Downloading IBM ILOG CPLEX Optimization Studio 22.1.1
IBM SkillsBuild and Academic Initiative users can find the installers via the SkillsBuild website, by searching for the installer image for their platform.
The images are listed in this support page: Downloading IBM ILOG CPLEX Optimization Studio 22.1.1
------------------------------
Rory Keeley
------------------------------
#DecisionOptimization