Originally posted by: prasenjit mandal
Please find the following schema of the source code:
On the top of the main function, I declare two callback functionalities:
ILOUSERCUTCALLBACK (UserCallback, ..) {
}
ILOHEURISTICCALLBACK1 (Heuristic,..) {
}
From main() function I can call both of them like the following:
int main() {
/* Body*/
cplex.use(UserCallback(env,....,));
cplex.use(Heuristic(env,....));
}
Actually, I am using user cuts at the root node.
After all the cuts being exhausted, I want to use the values of the dual variables and reduced cost values to find a better upper bound.
#CPLEXOptimizers#DecisionOptimization