I am trying to solve some problems that can be mapped in convex optimisation problem.
In Matlab there are some tools to help you do this, like SeDuMi or CVX
But I could not find anything similar in Mathematica, on the web or in the forums.
Does anybody know if there is an easy way of implementing this kind of algorithm in Mathematica?
I would like to avoid to be forced to switch to Matlab to solve this problem.
Thank you very much.
MATLAB tools, including CVX, can be called from Mathematica using MATLINK, which has been discussed on the Forum. If you do a search on MATLINK in the forum, you'll find the discussion.
One possibility is to reformulate as an explicit optimization with constraints on variables (that is, not in terms of matrix inequalities). The link below covers the basics of how this could be done (maybe it's well known to you already). Then you can just call FindMinimum giving the objective and constraints in a list.
Also there may be some useful ideas at the various links below.
Thank you both very much for your answer.
I was already aware of Matlink but I was thinking of finding a way of doing it from mathematica without calling external programs.
I like the idea of trying to use FindMinimum.
If I can find a way of making it work I will share my result, I think it could be something handy for lots of people.
FindMinimum can handle vector variables only for unconstrained problems, unlike CVX which can take vector and array variables.