Originally posted by: MityaStiglitz
Hello,
I have a quick comment I would like to make. I have spent several days debugging because I was not aware that the API could return 0.999999 to represent value 1 for a binary variable. This was a problem for me because I was converting to int through int() later in my code and 0.9999999 got truncated to 0. The problem is that the output was mostly 1.0, but it could also happen (rarely) that it was 0.99999 so it was not obvious that the problem was at this stage of the program. It would really help if you could output only 1 or 0 when a user is expecting only these two options.
Mitja
#CPLEXOptimizers#DecisionOptimization