Expand description

This crate is modified based on rplex.

It is a binding of IBM Cplex using its dynamic/shared library.

Usage: After installing Cplex on your computer, copy \IBM\ILOG\CPLEX_Studio_Community221\cplex\bin\x64_win64\cplex2210.dll file into your crate root folder (or its subfolder).

For example,

[your-crate] –[src] ––main.rs –[cplex] ––cplex2210.dll –Cargo.toml

Macros

Expressive macro for writing constraints.
Expressive creation of variables.

Structs

A Constraint (row) object for a Problem.
A CPLEX Environment. An Env is necessary to create a Problem.
A CPLEX Problem.
Solution to a CPLEX Problem.
A Variable in a Problem.
A variable with weight (row) coefficient. Used in the construction of Constraints.

Enums

Constants

Used by CPLEX to represent a variable that has no upper bound.