I want to use MOSEK, so I want to re-install CVX. The older version of CVX I installed only include free solvers. I already have the academic license.
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:\matlab\cvx\shims\cvx_gurobi
unexpected error:
引用了不存在的字段 ‘folder’。
出错 cvx_gurobi
出错 cvx_setup (line 83)
tsolv = feval( tsolv.sname, tsolv );
D:\matlab\cvx\shims\cvx_mosek
unexpected error:
引用了不存在的字段 ‘folder’。
出错 cvx_mosek
出错 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.
What happens when you run
mosekdiag
If that doesn’t produce
mosekopt works OK. You can use MOSEK in MATLAB.
then there is a problem with your Mosek installation under MATLAB, and whose resolution is more appropriate for https://groups.google.com/forum/#!forum/mosek . Beyond that, I will have to defer to others for any additional help.
I think I install mosek correctly. And the output of mosekdiag is mosekopt works OK. You can use MOSEK in MATLAB . Then I run cvx_setup , but the error still exists. It says three solves are skiped, and I don’t know why.
3 solvers skipped:
GLPK
Could not find a GLPK installation.
D:\matlab\cvx\shims\cvx_gurobi
unexpected error:
引用了不存在的字段 ‘folder’。
出错 cvx_gurobi
出错 cvx_setup (line 83)
tsolv = feval( tsolv.sname, tsolv );
D:\matlab\cvx\shims\cvx_mosek
unexpected error:
引用了不存在的字段 ‘folder’。
出错 cvx_mosek
出错 cvx_setup (line 83)
tsolv = feval( tsolv.sname, tsolv );
Saving updated preferences…done.
Testing with a simple model…done!
I saw such errors when Matlab version was too old.
My Matlab version is 2016a, is that too old ?
I get this error in 2015a, but everything is OK in 2017a. That’s all I have.