Originally posted by: cplexforMatlabuser
Good day,
I use the cplex for Matlab API Academic Initiative Version 12.2 as well as 12.3 to solve Mixed Integer Linear Problems. I have encountered several problems with rounding errors in cplex.
The first one is kind of easy to avoid, once you have figured it out. I would like to raise the problem here nevertheless so that maybe IBM can solve it in some newer versions:
-Cplex sometimes doesn't accept it's own computed solution as feasible. E.g. Sometimes variables that should be larger than zero are rounded to - 10^-9 which produces an error when you try to restart with that value as initial value.
The second problem I am kind of desperate about:
I get an infeasibility message with the attached problem in Version 12.3 "rhs is less than lhs", but when I try to call cplex.refineConflict, it is not available. Therefore I tried using Version 12.2 and modified my problem to make it so easy that I myself can guess a feasible solution. I can then use cplex.refineConflict, but it indicates rows and columns as part of the Conflict, that I think are not the source of the problem. When I multiply the constraint Matrix A with my self-constructed feasible solution I get some values that are by 10^-4 larger than cplex.Model.rhs at rows that were not identified by cplex.refineConflict, so I guess the Matrix-multiplication gives rounding errors? What can I do about this?
Thanks a lot in advance!
P.S.: How could I also attach my self-constructed solution vector?
#CPLEXOptimizers#DecisionOptimization