Re: Warning on max constraint violation (9.9483e-04) exceeds tolerance
Answered
This message is shown while running the code. The question is how should i avoid getting these warnings while getting the optimal solution.
Best,
Dhiraj
0
-
Official comment
This post is more than two 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 try Gurobot, our chatbot interface offering instant, expert-level support. -
Hi Dhiraj,
Violations can sometimes be unavoidable, depending on the model. Here are a list of settings to try and reduce:
NumericFocus=1
NumericFocus=2
NumericFocus=3
ScaleFlag=0
Aggregate=0
IntegralityFocus=1
MarkowitzTol=0.999
FeasibilityTol=1e-9
Presolve=0
Descriptions can be found here:
Parameter Descriptions
- Riley0
Post is closed for comments.
Comments
2 comments