Hi everyone, first time posting, I have a problem I need help with, hope someone can help me.
What I’m trying to do is to run an optimization problem using a RaspberryPi 4. To accomplish this I’m using JuMP and GLPK solver. Everything is running fine on my PC, but the problem is that the default GLPK solver included in the package imported through Julia is not compatible with ARM processors. Here is where it gets tricky, at least for me. I can download and install a version of GLPK compatible with ARM processors and works just fine on its own or through python (already tested it on the Raspberry) but when trying to do a custom installation of GLPK following these instructions, nothing happens. I think there is a way to point the GLPK installation to the one that is working with the Raspbaerry ARM processor but I can’t quite make it work, so if anyone could help me I would be forever grateful.
On a different topic I also tried using CBC solver, which works with ARM processors but I have inconsistencies solving problems. Its says ome problems are not feasible when iI know for fact that they are.
PS: These are the steps I followed to install everything GLPK related:
- sudo apt-get install glpk-utils libglpk-dev glpk-doc
- import Pkg
- Use “dpkg -L libglpk-dev” to locate lib path.
- ENV[“JULIA_GLPK_LIBRARY_PATH”] = “/opt/lib” (replace with GLPK lib path)