GUROBI not found (but definitely installed) OS X

1,526 views
Skip to first unread message

Spyros Maniatopoulos

unread,
Nov 8, 2014, 7:02:45 PM11/8/14
to yal...@googlegroups.com
Dear Johan, all,

I just installed MPT, YALMIP, and GUROBI 5.6.3 in OS X Yosemite. Running yalmiptest results in:
| GUROBI|           GUROBI|   not found|
| GUROBI|              MEX|   not found|

However, GUROBI is definitely installed, since gurobi.sh, gurobi_cl, etc. work in the terminal. Specifically, the gurobi files are in "/usr/local/bin". The default was supposed to be "/Library/gurobi560/mac64"; not sure why the installer put it in "/usr/local/bin". I also have the "gurobi.lic" file in my user home folder.

How do I get YALMIP to "see" GUROBI? Do I need to move the gurobi files to the default directory? Should I then add that to MATLAB's path?

Thank you very much for your time!

Johan Löfberg

unread,
Nov 9, 2014, 5:37:58 AM11/9/14
to yal...@googlegroups.com
the matlab interface must be in the matlab path, as always

Spyros Maniatopoulos

unread,
Nov 9, 2014, 11:31:34 AM11/9/14
to yal...@googlegroups.com
Thanks, I got it working! 

For future reference, I added "/Library/gurobi563/mac64/matlab" to MATLAB's path. Before, I was incorrectly looking for the gurobi folder in "/Users/username/Library", aka "~/Library".

Peter Pfrommer

unread,
Oct 13, 2016, 6:28:49 AM10/13/16
to YALMIP
Hello Spyros, 

I just read your thread.

Did you find the problem why the path is so different to the windows machines and know how to change it ? 

Johan Löfberg

unread,
Oct 13, 2016, 6:31:10 AM10/13/16
to YALMIP
Why would you expect it to be anything similar to the windows path?

Peter Pfrommer

unread,
Oct 13, 2016, 1:56:19 PM10/13/16
to YALMIP
haha, I bet you thought long whether put a question or a exclamation mark behind that sentence of yours :) Joking aside, I can not find the "/Library/gurobi560/mac64" path. Can you help me Johan?

Peter Pfrommer

unread,
Oct 13, 2016, 2:03:10 PM10/13/16
to YALMIP
done.

Johan Löfberg

unread,
Oct 13, 2016, 2:32:54 PM10/13/16
to YALMIP
Good to hear.

Marko

unread,
Apr 4, 2019, 5:52:30 AM4/4/19
to YALMIP
Hi Peter, I can't find the "/Library/gurobi560/mac64" also, how did you solve this?

Johan Löfberg

unread,
Apr 4, 2019, 6:06:53 AM4/4/19
to YALMIP
Not answering the question, but 5.6 refers to a very old version

Marko

unread,
Apr 4, 2019, 6:14:25 AM4/4/19
to YALMIP
Solved: "gurobi560/mac64" doesn't show in Finder but it does show when viewing the Library in the terminal or in the File Explorer of Matlab 
Reply all
Reply to author
Forward
0 new messages