#optimization #api-bindings #algorithm

sys cplex-sys

Low level bindings to the Cplex C-API

15 unstable releases

0.9.1 Oct 6, 2023
0.9.0 Apr 1, 2022
0.8.1 Mar 15, 2022
0.8.0 Nov 2, 2021
0.3.0 Nov 18, 2017

#774 in Algorithms

MIT license

35KB
393 lines

cplex-sys

cplex-sys crate

Introduction

cplex-sys is a crate for the Rust programming language providing low-level access to the ILOG CPLEX 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]
cplex-sys = "^0.9"

The build script required the environment variable CPLEX_HOME to be set to the path of your Cplex installation, e.g.

export CPLEX_HOME=/path/to/CPLEX_Studio201/cplex

Documentation

The API reference documentation.

Remarks

The following versions of Cplex and and cplex-sys are known to work.

  • cplex-sys 0.3 and Cplex 12.7
  • cplex-sys 0.4 and Cplex 12.8
  • cplex-sys 0.5 and Cplex 12.8
  • cplex-sys 0.6 and Cplex 12.9, 12.10
  • cplex-sys 0.7 and Cplex 12.10
  • cplex-sys 0.8 and Cplex 12.10, 20.1.0
  • cplex-sys 0.9 and Cplex 20.1.0

Dependencies

~0.4–355KB