MOSEK is "a large scale optimization software" that solves "linear, quadratic, general convex and mixed integer optimization problems." To get it running on Code Ocean you'll simply need to install the MOSEK package for your chosen programming language using the package management system.

Python

To install MOSEK, first add the mosek channel to the conda installer (see how), then add mosek as a conda dependency.

Julia

Install Mosek.jl by adding Mosek as a Julia dependency.

R

Install Rmosek by adding it as a CRAN dependency.

MATLAB

Paste the following snippet into your setup script.

#!/bin/bash

curl http://download.mosek.com/stable/8.1.0.31/mosektoolslinux64x86.tar.bz2 | tar xj

matlab -nodisplay -r 'addpath /mosek/8/toolbox/r2014a; savepath;'
Did this answer your question?