Tutorials & Examples#

Data structures overview#

We give an overview of all data structures provided in opti-extensions.

IndexSet data structures

IndexSet data structures

ParamDict data structures

ParamDict data structures

VarDict data structures

VarDict data structures

Model building#

We demonstrate how to implement a few toy problems with DOcplex, gurobipy, Xpress, and highspy – paired with opti-extensions.

Diet problem

Diet problem

Multicommodity transportation problem

Multicommodity transportation problem

P-median problem

P-median problem

Using CPLEX’s parameter tuning tool#

Using instances from the MIPLIB benchmark set, we demonstrate how to use CPLEX’s parameter tuning tool through opti-extensions.

Tune for a batch of models

Tune for a batch of models

Tune for a DOcplex model

Tune for a DOcplex model

Using CPLEX’s runseeds#

Using an instance from the MIPLIB benchmark set, we demonstrate how to evaluate its variability with CPLEX’s runseeds procedure through opti-extensions.

Evaluate variability of a DOcplex model

Evaluate variability of a DOcplex model

Gallery generated by Sphinx-Gallery