In the C Callable library, you can have:
int Nodes_Left = CPXgetnodeleftcnt(env, lp); // gives the number of unfathomed nodes if you are terminating the MIP prematurely
int Ndcnt = CPXgetnodecnt(env, lp); // gives the number of explored nodes on termination
What do you mean by optimal dual solution in the context of an MIP?
------------------------------
CPLEX User
------------------------------
Original Message:
Sent: Sun September 12, 2021 12:50 AM
From: Binh Truong Gia
Subject: Terminal nodes in Branch and Bound
Hello all,
I am using CPLEX 12.10.0 and I am trying to get the number of terminal nodes in a branch-and-cut tree along with some information of these nodes like a optimal dual solution if it exists. The closest thing I could do is a heuristic callback but it seems like it is called only at nodes that will be branched. Is there a method you could suggest for this problem?
Thank you in advance.
------------------------------
Binh Truong Gia
------------------------------
#DecisionOptimization