Setting up Gurobi on Mac with Apple chips and MATLAB R2023B

35 visualizzazioni (ultimi 30 giorni)
Hi,
I am trying to install Gurobi into MATLAB R2023B. I am using Macbook with Apple chips and faced some issues installing Gurobi. I have downloaded and placed Gurobi into the same folder as MATLAB. I also added the path to MATLAB. Here is the issues from the command window:
>> gurobi_setup
Error using gurobi_setup
Unsupported MATLAB architecture MACA64
How do I fix this and sucessfully install Gurobi into MATLAB?
Thank you in advance,
Hieu

Risposte (1)

Rishi
Rishi il 23 Ott 2023
Hi Hieu,
I understand from your query that you are not able to install Gurobi for MATLAB on a Mac with Apple chip.
This is because Gurobi does not have mex functions which are compatible with MATLAB for Apple Silicon. More information about this can be found here at Gurobi’s help center:
To use Gurobi for MATLAB on a Mac with Silicon chip, the following can be done:
  • Install Rosetta, which allows applications compiled for Intel-based Macs to run on Apple Silicon based Macs.
  • Install Gurobi for Intel-based Macs.
  • Use this on MATALB for Intel-based Macs.
Hope this helps.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by