This repository include accompanying code samples to the blog post Multi-objective Optimisation with IBM ILOG CPLEX - Part 1.
- Install the community desktop version for IBM ILOG CPLEX Optimization Studio from IBM ILOG CPLEX website.
- Clone the repository into a folder.
- Once the IDE is installed, navigate to
File > Import > Existing OPL projects
. - Choose the cloned folder as the root directory. Select the project and click
Finish
.
There are three Run Configurations provided:
cp
: uses thestaticLex
method with CP Optimizercplex
: uses thestaticLexFull
method with CPLEX Optimizercplex-external-main
: uses thestaticLexFull
method with CPLEX Optimizer. This additionally use an external data file to dynamically change the weighting of the optimisation.
Right-click on any of these Run Configurations, and click on Run this
.
Open the Scripting log
panel at the bottom of the perspective to view the results as the optimisation is performed.