changeCobraSolver: Solver gurobi is installed but not working properly.

8 views (last 30 days)
When I am changing cobrasolver to gurobi, this message is appeared:
changeCobraSolver: Solver gurobi is installed but not working properly.
ans =
logical
0
What does it mean?
I use matlab R2019a and i have installed gurobi solver.
  2 Comments
S Vijayakumar
S Vijayakumar on 20 Oct 2021
Hello Ioannis,
Are you using the Cobra Toolbox in MATLAB?
I was experiencing a similar issue recently and it turned out that my Gurobi license had expired.
  • Do you have a currently active gurobi license stored in a directory accessible to MATLAB?
  • What happens when you run changeCobraSolver('gurobi','LP',1,1)?
Supreeta
Ioannis Vourvachakis
Ioannis Vourvachakis on 21 Oct 2021
Yes, that was the problem. My license had expired so I renew it. I got a little bit late till understand that but ok. Thank you.

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!