I am repeatedly getting this error:
“No valid Gurobi license was found” (when entering “cvx_setup cvx_license”)
in spite of having a license and putting it in via the “cvx_grbgetkey xxx…” command.
Can anyone please tell me what’s the issue here?
Now that the license has been retrieved, please run CVX_SETUP to configure
CVX to use the Gurobi solver with the new license.
cvx_setup cvx_license
CVX: Software for Disciplined Convex Programming (c)2014 CVX Research
Version 2.1, Build 1110 (66e9a9c) Wed Jun 10 21:43:38 2015
Installation info:
Path: C:\cvx
MATLAB version: 8.6 (R2015b)
OS: Windows 8 amd64 version 6.2
Java version: 1.7.0_60
Verfying CVX directory contents:
No missing files.
Preferences:
Path: my path…
License host:
Username: graph2
Host ID: my id
Installed license:
Organization: Stony Brook University
Contact: Mahdin Mahboob (mahdin.mahboob@stonybrook.edu)
License type: academic
Named user: graph2
Host ID: //
Expiration: 2017-02-18 (366 days remaining)
Status: verified
Setting CVX paths…already set!
Searching for solvers…5 shims found.
3 solvers initialized (* = default):
Mosek 7.1.0.12 {cvx}\mosek\w64
- SDPT3 4.0 {cvx}\sdpt3
SeDuMi 1.34 {cvx}\sedumi
2 solvers skipped:
GLPK
Could not find a GLPK installation.
Gurobi {cvx}\gurobi\w64
No valid Gurobi license was found. (Please note that this
license is not the same as the CVX license; it must be
obtained directly from Gurobi Optimization.) If you do have
a Gurobi license, the the Gurobi MEX file could not find it.
Please consult the Gurobi documentation for assistance.
Saving updated preferences…done.
Testing with a simple model…done!