This software is still experimental. We (MOSEK) will attempt to fix errors and bugs, but provide no guarantee on how or how quickly we do so.
The package should work on
Building the API requires the MOSEK library.
- 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_100=$HOME/local/mosek/10.0/tools/platform/linux64x86/bin
cargo build
cargo doc
will build the simple API documentation for all
functions, objects and constants. For a more complete documentation,
see https://docs.mosek.com/latest/capi/index.html.
Examples are located under examples/
To compile examples, run
cargo build --examples
To run example binaries it is necessary to add the path to the MOSEK
library to the LD_LIBRARY_PATH
(linux), DYLD_LIBRARY_PATH
(OS X)
or PATH
(Windows) environment variable.
From Mosek 10.0 the major/minor version of Mosek Rust API will follow Mosek.