Skip to main content

Timeline for Pyomo can't find Gurobi solver

Current License: CC BY-SA 4.0

8 events
when toggle format what by license comment
May 7, 2021 at 14:53 comment added mattmilten There is no gurobi.exe. Gurobi ships a command-line tool called gurobi_cl that is used to perform an optimization right from the command-line. And there is a gurobi.bat or gurobi.sh (depending on your OS) that starts the included Python interactive shell and auto-imports the Gurobi Python interface; this is the interactive command-line shell.
Mar 1, 2021 at 9:55 vote accept PeterBe
Mar 1, 2021 at 9:55 comment added PeterBe Thanks Oguz. Now basically it works as intended (I think I just had to restart my laptop to apply all the changes). I really appreciate your great help. I have upvoted and accepted your answer.
Mar 1, 2021 at 9:08 comment added PeterBe Thanks for your comments and answers. Do you have any idea why Python/Pyomo still can't find the Gurobi solver (see my last update comment)? I'd appreciate any further comments from you.
Feb 26, 2021 at 8:06 comment added PeterBe Any idea why this problem occurs and what I can do? I'd appreciate every further comment
Feb 25, 2021 at 9:49 comment added PeterBe Update: I just adjusted the path variables to the correct Gurobi folder (however, I still can't find any gurobi.exe file). Now when I use your suggested code I get the error message: "ApplicationError: No executable found for solver 'gurobi'"
Feb 25, 2021 at 9:43 comment added PeterBe Thanks Oguz for your comment. Unfortunately, I can't find the gurobi.exe file altough Gurobi has been installed and there is a folder that contains several subfolders
Feb 24, 2021 at 11:47 history answered Oguz Toragay CC BY-SA 4.0