changeCobraSolver: Solver gurobi is installed but not working properly.

9 Ansichten (letzte 30 Tage)
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 Kommentare
S Vijayakumar
S Vijayakumar am 20 Okt. 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 am 21 Okt. 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by