I have been trying to use Convex with Mosek, but it seems there are still some errors. I have been trying to solve the following examples problem:
using Convex, Mosek
m = 4; n = 5
A = randn(m, n); b = randn(m, 1)
x = Variable(n)
problem = minimize(sumsquares(A * x - b), [x >= 0])
solve!(problem, MosekSolver())
I get
ERROR: UndefVarError: MosekSolver not defined
I know this is an old issue. Want to check if there are any new developments.
Thanks.
Yes, both those options should be working to use Mosek with Convex.jl— if something isn’t working with either please file an issue. (The MOI branch is indeed a work in progress, but it should only be missing warmstart support. But it definitely could have some bugs so keep that in mind and please let me know if you find any. It passes the tests at least ).