I plan to use MOSEK under CVX to solve optimization problems more efficiently.
I’ve installed the CVX academic license and I think I installed it sucessfully.
However, the CVX can’t find the MOSEK solver.
I was wondering what’s wrong with it? I currently use MATLABr2016a.
Below are the output when I simply run
cvx_setup ‘D:\cvx-w64\cvx\licenses\cvx_license.dat’
You will see, checking for MOSEK solver is skipped…
Really confused me…
I also installed MOSEK successfully.
CVX: Software for Disciplined Convex Programming ©2014 CVX Research
Version 2.1, Build 1110 (66e9a9c) Wed Jun 10 21:43:38 2015
Installation info:
Path: D:\cvx-w64\cvx
MATLAB version: 9.0 (R2016a)
OS: Windows 7 amd64 version 6.1
Java version: 1.7.0_60
Verfying CVX directory contents:
WARNING: The following extra files/directories were found:
D:\cvx-w64\cvx\licenses\ + 1 files, 0 subdirectories
These files may alter the behavior of CVX in unsupported ways.
Preferences:
Path: D:\cc459\Application Data\MathWorks\MATLAB\cvx_prefs.mat
License host:
Username: cc459
Host ID: f48e38958417 (eth3)
Installed license:
No license installed.
Other license found:
File: D:\cvx-w64\cvx\licenses\cvx_license.dat
Organization: DUKE UNIVERSITY
Contact: CHEN CHEN (cc459@duke.edu)
License type: academic
Named user: cc459
Host ID: 18037330b910
Expiration: 2017-02-24 (192 days remaining)
Status: invalid:hostid
No valid licenses found.
Click here to fill out an academic license request
for the username and first hostid listed above.
Setting CVX paths…already set!
Searching for solvers…5 shims found.
2 solvers initialized (* = default):
- SDPT3 4.0 {cvx}\sdpt3
SeDuMi 1.34 {cvx}\sedumi
4 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.
Mosek unknown {cvx}\mosek\w64
A CVX Professional license is required.
Mosek_2 unknown c:\Program Files\mosek\7\toolbox\r2013a
A CVX Professional license is required.
Saving updated preferences…done.
Testing with a simple model…Warning: NARGCHK will be removed in a future release. Use NARGINCHK or NARGOUTCHK instead.
In cvxprob/newvar (line 2)
In variable (line 170)
In cvx_setup (line 211)
Warning: NARGCHK will be removed in a future release. Use NARGINCHK or NARGOUTCHK instead.
In cvx_isconstant (line 2)
In * (line 51)
In cvx_setup (line 212)