Originally posted by: SystemAdmin
The callable library that works under the hood of the matlab connector treats any value smaller than -CPX_INFBOUND or larger than CPX_INFBOUND as infinity (CPX_INFBOUND is 1e20).
Unboundedness of an LP is not declared depending on the order of magnitude of the objective function value. It is declared when the model can be
proven to be unbounded, for example because you maximize x and x is not bounded from above.
If you create problems in which the coefficients have large magnitudes then you should make sure that the range of coefficients is still reasonable, e.g., do not mix 1e12 with 1e-6.
#CPLEXOptimizers#DecisionOptimization