Originally posted by: SystemAdmin
I'm afraid I don't see your problem here :-(
>
> Nice, it seems to be even worse than a "trivial bug". First, how do you check two doubles for zero.
>
You can simply use the '==' operator to do that. Since these are constants there is no round-off impossible and using '==' on floating point numbers is fine here.
> Second, what do you mean with "the parameter has no limit".
>
It means that you can specify any double precision floating point value here, including positive and negative infinity -- though using a NaN here might result in unexpected behavior.
> Please remember that it should work for all platforms.
>
I don't see how any of the above would depend on the platform (for the platforms that CPLEX supports).
#CPLEXOptimizers#DecisionOptimization