I am trying to assign my own annotations to CPLEX's Benders Decomposition algorithm by using 'Benders Strategy' parameter with value '1' (corresponding to USER) but I am not able to find a correct syntax to do this. Please advise!
I have attached a snippet of the code for reference as well. FYI, I am using the following to implement the optimization model:
- PyCharm IDE (python 3.10)
- IBM CPLEX Studio 2211 win_x86_64 (Windows 11); academic edition
- Pyomo to construct the optimization model
I have referred to CPLEX's documentation to annotate a model's decomposition (https://www.ibm.com/docs/en/icos/22.1.0?topic=algorithm-annotating-model). The annotation works just fine using the benders.py example (shared as part of the installation package) which uses the CPLEX's application programming interface (API). The CPLEX Python API only works with the CPLEX Community Edition which is limited to solving smaller problem instances.
Thereby, please advise if there is a way to use the CPLEX's academic edition installed on the machine to annotate a Benders decomposition.
------------------------------
S. Sangha
------------------------------