8 releases

0.1.7 Oct 6, 2023
0.1.6 Aug 22, 2023
0.1.5 Apr 28, 2023
0.1.3 Feb 1, 2020
0.1.0 Mar 27, 2019

#1764 in Algorithms

MIT license

12KB
84 lines

grb-sys

grb-sys crate

Introduction

grb-sys is a crate for the Rust programming language providing low-level access to the Gurobi optimization suite.

The API bindings are automatically generated from the C header files on your system.

Author

Frank Fischer frank-fischer@shadow-soft.de

License

Licensed under MIT.

Build

Add the following line to your Cargo.toml.

[dependencies]
grb-sys = "^0.1"

If Gurobi is not installed to your system location (e.g. /usr or /usr/local), the build script requires the environment variable GUROBI_HOME to be set to the path of your Gurobi installation, e.g.

export GUROBI_HOME=/opt/gurobi900/linux64

Documentation

The API reference documentation.

Remarks

The following versions of Gurobi and and grb-sys are known to work.

  • grb-sys 0.1 and Gurobi 8.0
  • grb-sys 0.1.2 and Gurobi 9.0

Dependencies

~0–1.9MB
~37K SLoC