Originally posted by: VKV7_Anulark_Naber
I am implementing generic callbacks for Benders cuts and would like to separate cuts under both different contexts: CANDIDATE and RELAXATION in two generic callbacks. Is it possible for cplex to have more than one generic callback? The reason is I am trying to avoid using too many if statements (also from other parameters) in callbacks, so I thought of a dedicated callback under each context. If possible, I would also expand it to local and global progress.
If it is possible, how can I implement it? Are there any cautions I should be aware of?
Specifically, if it's possible under multiple threads, do I need to use different threadups and threaddowns for each callback or can I activate the same thread for both candidate and relaxation callbacks? The latter is preferred, for both subproblems are the same under the candidate or relaxation context.
Thanks in advance.
#CPLEXOptimizers#DecisionOptimization