mosek 0.0.1

Rust API for MOSEK optimization tools
mosek-0.0.1 has been yanked.
Visit the last successful build: mosek-11.0.16

DISCLAIMER

This software is still experimental. We (MOSEK) may fix errors and bugs, but provide no guarantee on how or how quickly we do so.

The package should work on

  • Linux x86_64
  • Linux aarch64 (RaspberryPi 4)
  • Windows x86_64
  • Mac OSX x86_64

Mosek Rust interface

API reference is included under doc/ and is fairly complete, but currently contains a lot of dead links.

Building the API requires the MOSEK library. The exact version is specified in ./MOSEKVERSION

  • If the environment variable MOSEK_BINDIR_XY (where X and Y are the MOSEK major an minor versions) is defined it is expected to point the the directory containing the MOSEK binaries,
  • otherwise if the environment variable MOSEK_INST_BASE, the build script will look for mosek $MOSEK_INST_BASE/mosek,
  • otherwise the build script will look for MOSEK in $HOME/mosek.

For example

export MOSEK_INST_BASE=$HOME/local
cargo build

or

export MOSEK_BINDIR_93=$HOME/local/mosek/9.3/tools/platform/linux64x86/bin
cargo build

Examples

Examples are located under examples/

To compile examples, run

cargo build --examples