Originally posted by: Tnash310
Has anyone tried to use the incumbent callback in Python? I get the following error when I tried to register the callback.
File "/home/arulselv/python/x86_debian4.0_4.1/cplex/callbacks.py", line 1565, in __init__
self._cb_set_function = _internal._procedural.setincumbentcallbackfunc
AttributeError: 'module' object has no attribute 'setincumbentcallbackfunc'
This specific callback is not used in the example files I have seen. The above error seems to be present in _init__ of the IncumbentCallback class in callbacks.py. Does it mean that I have to set some parameters before I register? I can't recall doing this in C++. I seem to be goofing up somewhere :(
Any help is appreciated. Thanks in advance.
#CPLEXOptimizers#DecisionOptimization