How do I use Gurobi with Raspberry Pi OS?
回答済みHello!
I am trying to use Gurobi with my Raspberry PI Zero 2W. I downloaded the armlinux64 version from the downloads topic and I want to compile the examples using C++. But I am getting the following error: "../../libgurobi95.so: file not recognized: file format not recognized". I tried with the 11 version and got the same message, but with the corresponding .so file.
The version of g++ is 10.2.1 20210110 (Raspbian 10.2.1-6+rpi1).
Thanks in advance!
0
-
正式なコメント
This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support. -
Hi Matheus,
Which OS are you running? Is it 32 or 64 bit? (running `uname -m` in the terminal will probably tell you).- Riley
1 -
The Pi Zero 2W supports both armv7l (32-bit) and aarch64 (64-bit) operating systems, but Gurobi only supports 64-bit Linux. So you will need to ensure that you install 64-bit Raspberry Pi OS.
Also note that the Pi Zero 2W is very slow. The Raspberry Pi 4 or 5 is much faster, and they also support more RAM. I would only use the Pi Zero 2W if your application requires the smaller form factor or the lower power consumption.
0 -
I realized that I had installed the 32-bit version. After installing the 64-bit version, I managed to do it.
Thanks for your help!
1
投稿コメントは受け付けていません。
コメント
4件のコメント