Problem with mosek installation

(prasad) #1

I am trying to install mosek with Academic liscence in MATALB R2014a version. But it is giving following information and mosek solver is not there when I checked cvx_solvers. only SDPT3 and SeDuMi are there.

Matlab version: (R2014a)
Architecture : PCWIN64
The mosek optimizer executed successfully from the command line:

MOSEK Version (Build date: 2017-5-31 00:30:45)
Copyright © MOSEK ApS, Denmark. WWW:
Platform: Windows/64-X86

Version : 11.14
Hostname : DESKTOP-RG9P59L
Host ID : "901b0eac8338 901b0ea62256 20e61601159a 20e616011598"
Search path : C:\Users\Admin\mosek\mosek.lic

Operating system variables

*** No input file specfied. No optimization is performed.

Return code - 0 [MSK_RES_OK]

mosekopt: C:\Users\Admin\Documents\MATLAB\mosek\7\toolbox\r2013aom\mosekopt.mexw64
Invalid MEX-file ‘C:\Users\Admin\Documents\MATLAB\mosek\7\toolbox\r2013aom\mosekopt.mexw64’: The specified module
could not be found.

Error in mosekdiag (line 54)
[r,res] = mosekopt(‘minimize echo(0)’,prob);

Please help.

Thank you.

(Mark L. Stone) #2

If you are using CVX 3.0beta, try CVX 2.1. No guarantees on whether that will help.

(prasad) #3

Same error I am getting after installation of CVX 2.1.

(adnan saeed) #4

Hi, hope you are fine. I am facing the same problem as u mentioned above, so do you know now how to tackle this problem

(Michal Adamaszek) #5

The usual answer is that you must have the folder with Mosek binaries in the environment variable PATH. See for example Installation error "file missing"

Note that the original question is subtly weird: Mosek 8 is available on command line but Mosek 7 is attempted from Mex file. So that has an extra configuration issue which may or may not be related to cvx - I don’t know.