How to solve the "Key code invalid format" problem when using "grbgetkey" in MATLAB command

Uncategorized
Apr 30, 2024
L

Hello everyone! I’ve encountered a problem as below.
I downloaded the Gurobi 11.0.1 version first, and it occured the problem as shown in the figure. Then I downloaded the 9.0.0 version, and it occured again. I want to know the exact problem and the solution to solve it.
Thanks for your support in advance!

L

And I’ve asked the Gurobi official members about this problem, their reply was that the 9.0.0 version is already not in the technical support category

E

See

M

Thank you for the assist, @Erling .

His advice is correct—please download the latest open-source release. Note that this release does not include the cvx_grbgetkey package. Instead, follow Gurobi’s own instructions for activating your license and making sure Gurobi is available to MATLAB. Once that is complete, run cvx_setup.

L
Replying to #3

Thank you for your assist!

L
Replying to #4

Thank you for your reply!