Install MOSEK error


CVX: Software for Disciplined Convex Programming ©2014 CVX Research
Version 2.1, Build 1127 (95903bf) Sat Dec 15 18:52:07 2018

Installation info:
Path: D:\cvx-w64\cvx
MATLAB version: 8.1 (R2013a)
OS: Windows 7 amd64 version 6.1
Java version: 1.6.0_17
Verfying CVX directory contents:
No missing files.
Preferences:
Path: C:\Users\lenovo\AppData\Roaming\MathWorks\MATLAB\cvx_prefs.mat
License host:
Username: lenovo
Host ID: dc53603119ba (net5,192.168.199.134)
Installed license:
Also in file: D:\cvx_license.dat
Organization: beijing university of technology
Contact: Li xiaowei (lxw_wlwl@emails.bjut.edu.cn)
License type: academic
Named user: lxw_fc, lenovo
Host ID: 7085c24dbb1f, dc53603119ba
Expiration: 2019-12-18 (318 days remaining)
Status: verified

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
    3 solvers skipped:
    GLPK
    Could not find a GLPK installation.
    D:\cvx-w64\cvx\shims\cvx_gurobi
    unexpected error:
    Reference to non-existent field ‘folder’.
    Error in D:\cvx-w64\cvx\shims\cvx_gurobi.p>cvx_gurobi (line
    54)
    Error in cvx_setup (line 83)
    tsolv = feval( tsolv.sname, tsolv );
    D:\cvx-w64\cvx\shims\cvx_mosek
    unexpected error:
    Reference to non-existent field ‘folder’.
    Error in D:\cvx-w64\cvx\shims\cvx_mosek.p>cvx_mosek (line 46)
    Error in cvx_setup (line 83)
    tsolv = feval( tsolv.sname, tsolv );
    Saving updated preferences…done.
    Testing with a simple model…done!

To change the default solver, type “cvx_solver <solver_name>”.
To save this change for future sessions, type “cvx_save_prefs”.
Please consult the users’ guide for more information.

Please help me.

cvx_version


CVX: Software for Disciplined Convex Programming ©2014 CVX Research
Version 2.1, Build 1127 (95903bf) Sat Dec 15 18:52:07 2018

Installation info:
Path: D:\cvx-w64\cvx
MATLAB version: 8.1 (R2013a)
OS: Windows 7 amd64 version 6.1
Java version: 1.6.0_17
Verfying CVX directory contents:
No missing files.
Preferences:
Path: C:\Users\lenovo\AppData\Roaming\MathWorks\MATLAB\cvx_prefs.mat
License host:
Username: lenovo
Host ID: dc53603119ba (net5,192.168.199.134)
Installed license:
Organization: beijing university of technology
Contact: Li xiaowei (lxw_wlwl@emails.bjut.edu.cn)
License type: academic
Named user: lxw_fc, lenovo
Host ID: 7085c24dbb1f, dc53603119ba
Expiration: 2019-12-18 (318 days remaining)
Status: verified

The same problem installing the fresh version of CVX with MOSEK installed:


CVX: Software for Disciplined Convex Programming ©2014 CVX Research
Version 2.1, Build 1127 (95903bf) Sat Dec 15 18:52:07 2018

Installation info:
Path: C:\distrib\cvx
MATLAB version: 8.3 (R2014a)
OS: Windows 8 amd64 version 6.2
Java version: 1.7.0_11
Verfying CVX directory contents:
No missing files.
Preferences:
Path: C:\Users\Mickey\AppData\Roaming\MathWorks\MATLAB\cvx_prefs.mat
License host:
Username: Mickey
Host ID: 444553544f53 (eth4)
Host ID: f4b7e2cc5732 (eth5)
Installed license:
No license installed.

cvx_setup


CVX: Software for Disciplined Convex Programming ©2014 CVX Research
Version 2.1, Build 1127 (95903bf) Sat Dec 15 18:52:07 2018

Installation info:
Path: C:\distrib\cvx
MATLAB version: 8.3 (R2014a)
OS: Windows 8 amd64 version 6.2
Java version: 1.7.0_11
Verfying CVX directory contents:
No missing files.
Preferences:
Path: C:\Users\Mickey\AppData\Roaming\MathWorks\MATLAB\cvx_prefs.mat
License host:
Username: Mickey
Host ID: 444553544f53 (eth4)
Installed license:
No license installed.
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
    3 solvers skipped:
    GLPK
    Could not find a GLPK installation.
    C:\distrib\cvx\shims\cvx_gurobi
    unexpected error:
    Reference to non-existent field ‘folder’.
    Error in cvx_gurobi (line 54)
    Error in cvx_setup (line 83)
    tsolv = feval( tsolv.sname, tsolv );
    C:\distrib\cvx\shims\cvx_mosek
    unexpected error:
    Reference to non-existent field ‘folder’.
    Error in cvx_mosek (line 46)
    Error in cvx_setup (line 83)
    tsolv = feval( tsolv.sname, tsolv );
    Saving updated preferences…done.
    Testing with a simple model…done!

To change the default solver, type “cvx_solver <solver_name>”.
To save this change for future sessions, type “cvx_save_prefs”.
Please consult the users’ guide for more information.

i had this problem before, i change my matlab version from 2015a to 2017a, then the problem is solved. you may try this.

That worked for me. Thanks!