changeCobraSolver: Solver gurobi is installed but not working properly.

9 vues (au cours des 30 derniers jours)
Ioannis Vourvachakis
Ioannis Vourvachakis le 15 Oct 2021
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 commentaires
S Vijayakumar
S Vijayakumar le 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 le 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by