To start, you can call getUB() or getUBs() and getLB() or getLBs() to get the upper and lower bounds of the integer variables. I believe that variables CPLEX has fixed will have lower bound = upper bound. You can then call getValue() or getValues() to get the values of all remaining integer variables, and check whether their fractional parts are > epsilon and less than 1 - epsilon, where epsilon is the integrality tolerance.
------------------------------
Paul Rubin
Professor Emeritus
Michigan State University
------------------------------
Original Message:
Sent: Sun August 23, 2020 04:11 PM
From: srinivas tamvada
Subject: finding fractional variables in the branch callback
hi
what is the best way to find fractional variables in the node realxation, and variables already fixed to integer values , in the branch callback.
------------------------------
srinivas tamvada
------------------------------
#DecisionOptimization