Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
DISCLAIMER
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.
Mosek 10.0 Rust interface
- Mosek optimization software: https://mosek.com/
- Rust language: https://www.rust-lang.com
The package should work on
- Linux x86_64
- Linux aarch64 (RaspberryPi 4, Amazon Graviton 2 and others)
- Windows x86_64
- Mac OSX x86_64
- Mac OSX aarch64
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.
- If the environment variable
MOSEK_BINDIR_XY(whereXandYare 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
Documentation
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
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.
MOSEK / Mosek.rs versions
- Mosek.rs 0.1 -> MOSEK 9.2
- Mosek.rs 0.2 -> MOSEK 9.3
From Mosek 10.0 the major/minor version of Mosek Rust API will follow Mosek.