Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.
Originally posted by: kaarthiksundar
I am currently trying to implement a branch and cut algorithm using the CPLEX callbacks in C++. I was wondering if there is a way to do an exporModel("file.lp") inside the Lazy or UserCut Callback. I would like to store the LP files at each stage.
Thanks in advance,
Kaarthik
If "C++" means "C++ Concert technology" (class IloCplex and friends) then you cannot do that. Concert technology does not provide direct access to the model solved at each node.
Direct access to the current node's LP is only available with the callable library.