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 CenterFile Exchange에서 Introduction 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