About printQuality function
AnsweredI don't understand following result of model.printQuality():
Solution quality statistics for model Unnamed :
Maximum violation:
Bound : 0.00000000e+00
Constraint : 1.44636046e-10 (p23[86])
Integrality : 0.00000000e+00
Knowing that p23 [86] is a equality constraint, does it imply that constraint p23 [86] is being violated and both sides differ at 1.44636046e-10 or not?
0
-
Official comment
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
Hi Valeria,
Yes, this means that the difference between the LHS and RHS of constraint p23[86] is ~1.45e-10. This is well within the default feasibility tolerance used by Gurobi. This is the maximum constraint violation, meaning all other constraints have violations no greater than this.
Thanks,
Eli
0 -
Thanks a lot for your response!
Regards,
Valeria.0
Post is closed for comments.
Comments
3 comments