changeCobraSolver: Solver gurobi is installed but not working properly.

9 ビュー (過去 30 日間)
Ioannis Vourvachakis
Ioannis Vourvachakis 2021 年 10 月 15 日
コメント済み: Ioannis Vourvachakis 2021 年 10 月 21 日
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 件のコメント
S Vijayakumar
S Vijayakumar 2021 年 10 月 20 日
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 2021 年 10 月 21 日
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.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by