I installed mosek and when I use ‘mosekdiag’ I get
Operating system variables
PATH :
*** No input file specified. No optimization is performed.
Return code - 0 [MSK_RES_OK]
mosekopt: C:\Program Files\Mosek\8\toolbox\r2014a\mosekopt.mexw64
Found MOSEK version : major(8), minor(1), revision(72)
mosekopt is working correctly.
MOSEK Fusion is working correctly.
I have an academic license for CVX when I use
cvx_setup /path/to/your/cvx_license.dat
I get
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:\Users\Atefe\Desktop\cvx\shims\cvx_gurobi
unexpected error:
Reference to non-existent field ‘folder’.
Error in cvx_gurobi
Error in cvx_setup (line 83)
tsolv = feval( tsolv.sname, tsolv );
C:\Users\Atefe\Desktop\cvx\shims\cvx_mosek
unexpected error:
Reference to non-existent field ‘folder’.
Error in cvx_mosek
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 think you will have to wait for @mcg to provide assistance on this.
However, in the meantime, I suggest reinstalling CVX 2.1 and see whether that works. Given that you receive a similar error message with gurobi, I suspect the problem is with the CVX installation, not with mosek. Also, it may help him to diagnose if you provide the full output of cvx_version, not just the cvx version.