Are there any good books that teach how to work with OPL in CPLEX? I searched but I didn't find any.
There are many useful references that can be found by googling. In the following you can find some of them:
- IBM ILOG CPLEX Optimization Studio OPL Language User’s Manual
- Introduction to Computational Optimization Models for Production Planning in a Supply Chain
- A Deep Dive into Strategic Network Design
PS: About the first mentioned reference, it is about (V-12.8) that I knew the last version is 20.1. I hope they will be helpful.
There is a rather helpful list of educational resources specific to IBM Decision Optimization products here. If you scroll down a bit, you will find links to some YouTube videos about optimization modeling using OPL (and the CPLEX Studio IDE).
Here is a book that Pete Cacioppi wrote to teach OPL and optimization as it relates to network design models. It was meant for beginners. It uses a network design problem as the example, but you don't need to get the Supply Chain Network Design book to use this one.