Originally posted by: SystemAdmin
Dear all,
I used "CPXgetcallbacknodeintfeas(env, cbdata, wherefrom, feas, 0, N1)" to check if some variables are integer feasible at each node of the B&B tree.
When I solved node lp and find some variables are fractional. But CPXgetcallbacknodeintfeas returns integer-feasible. Please see the following case
solution x_2_1 is 0.999996 feas 0
solution x_2_3 is 0.000000 feas 0
solution x_2_4 is 0.000004 feas 0
solution x_3_1 is 1.000000 feas 0
solution x_3_2 is 0.000000 feas 0
solution x_3_4 is 0.000000 feas 0
solution x_4_1 is 0.000014 feas 1
solution x_4_2 is 0.000001 feas 0
solution x_4_3 is 0.999985 feas 1
I am not sure I used CPXgetcallbacknodeintfeas correctly. Thanks.
Shaon
#CPLEXOptimizers#DecisionOptimization