Hi,
I'm using OPL to solve a MIP (maximization). I'd like to introduce a criterion to stop the solve process of the Cplex object when my best objective value is at least "x". Unfortunately, modifying any of the gap settings won't accomplish this as I need the threshold to be on the value of the objective function. I would just create a constraint version of the objective value but I want to avoid re-generation of the OPL model, as the model is run 1000s of times.
I've seen this work before on the C++ API using solve callbacks. However, from my knowledge this isn't possible in OPL. Any idea how I can go about this?
Thanks.
------------------------------
Alexander Balkum
------------------------------
#DecisionOptimization