Implementing TSP with Lazy constraint callback
问题 I am trying to TSP with Lazy constraint callback. From Answer given here and here, I have tried to use the code from the links and was able to add the call back function. Now I am struggling with add_lazy_constraints . Here is my current code: It is a 9 Node TSP. import docplex.mp.model as cpx from cplex.callbacks import LazyConstraintCallback from docplex.mp.callbacks.cb_mixin import * class DOLazyCallback(ConstraintCallbackMixin, LazyConstraintCallback): def __init__(self, env):