Originally posted by: cliffbu
Hi, I'm trying to use the Python API to do a simple, cursory check on infeasibilities in my model, and receive a callback if the model was infeasible. When I run CPLEX from the command line I immediately get the error "Row 'X' infeasible, all entries at implied bounds". From the Python API, I want to get a callback when this error happens so I can exit. However, it it's not immediately infeasible (maybe numerical instability or it would take a long time to determine), I want to be able to get a call back after the root has been solved so I can go from there. I've tried using SolveCallback, SimplexCallback, etc, but none of them seem to give me this information when I face this error. Does anyone know the correct way?
#CPLEXOptimizers#DecisionOptimization