I’m running both CVX with MOSEK solver and MOSEK directly to compare the outputs.
It’s so weird to me that every time I run CVX, the MOSEK path disappears and I get
Undefined function or variable ‘mosekopt’
I have to manually add the path back. I wonder does this ever happen to anyone else?
This is my CVX version:
--------------------------------------------------------------------------- CVX: Software for Disciplined Convex Programming (c)2014 CVX Research Version 2.2, Build 1148 (62bfcca) Tue Jan 28 00:51:35 2020 --------------------------------------------------------------------------- Installation info: Path: D:\cvx MATLAB version: 9.8 (R2020a) OS: Windows 10 amd64 version 10.0 Java version: 1.8.0_202 Verfying CVX directory contents: WARNING: The following files/directories are missing: D:\cvx\sedumi\.travis.yml These omissions may prevent CVX from operating properly. Preferences: Path: C:\Users\cc459\AppData\Roaming\MathWorks\MATLAB\cvx_prefs.mat
This is my MOSEK version:
Matlab version : 9.8.0.1538580 (R2020a) Update 6 Architecture : PCWIN64 mosekopt path : D:\Program Files\Mosek\9.2\toolbox\R2015a\mosekopt.mexw64 MOSEK version : 9.2.14 Test linear solve: Success mosekopt works OK. You can use MOSEK in MATLAB.
This is my CVX Solver setup:
Name Status Version Location -------------------------------------------------------------------------------------- Mosek 9.1.9 {cvx}\mosek\w64 Mosek_2 selected,default 9.1.9 D:\Program Files\Mosek\9.2\toolbox\R2015a Mosek_3 9.1.9 D:\Program Files\Mosek\9.2\toolbox\R2015a SDPT3 4.0 {cvx}\sdpt3 SeDuMi 1.3.4 {cvx}\sedumi
Many thanks!