Originally posted by: SystemAdmin
Hello,
For that you can use OPL Script, built on top of the OPL modeling language. It can be used to solve complex problems by combining or chaining models, where recommendations from initial optimization models act as input data for subsequent models. Scripting can take advantage of CP Optimizer starting points when iteratively solving a model.
You can find more information in the documentation and in some delivered examples.
A good entry point in the documentation is this set of tutorials about OPL Script:
IDE and OPL > Optimization Programming Language (OPL) > Language User’s Manual > IBM ILOG Script for OPL
Specially the one on "Flow control and multiple searches".
For the notion of Starting Point in CP Optimizer, you can look at the documentation of functions set/clearStartingPoint and class IloOplCPSolution in the OPL Script Reference Manual:
IDE and OPL > Optimization Programming Language (OPL) > IBM ILOG Script Reference Manual > OPL Classes.
Philippe
#DecisionOptimization#OPLusingCPOptimizer