Crate cplex_dynamic

Source
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§

con
Expressive macro for writing constraints.
var
Expressive creation of variables.

Structs§

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

Enums§

CEnv
export all public structs and enums
CProblem
export all public structs and enums
ConstraintType
export all public structs and enums Kind of (in)equality of a Constraint.
EnvParam
export all public structs and enums
ObjectiveType
export all public structs and enums
ProblemType
export all public structs and enums
VariableType
export all public structs and enums
VariableValue
export all public structs and enums

Constants§

EPINT
export all public structs and enums
EPINT_ID
export all public structs and enums
INFINITY
export all public structs and enums Used by CPLEX to represent a variable that has no upper bound.