Originally posted by: oozaltin
Sorry for the confusion, I meant the bd argument is integer.
CPXchgbds will not work, because I want the continuous variable to have different bounds on each child. This might work though if the bound was the same on each child.
I found a dirty way to do it with CPXbranchcallbackbranchbds. If I want x digits of precision for the continuous variable, I multiply its bound by 10^x and round it (up and down), and give it to the CPXbranchcallbackbranchbds. Then, I multiply the constraint coefficient of that continuous variable 10^{-x}. This worked for me.
#CPLEXOptimizers#DecisionOptimization