Writing max and min in constratint
AnsweredCan anyone help me with modeling this constraint? This is a capacity constraints for pickup drop off problem with time window.

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 try Gurobot, our chatbot interface offering instant, expert-level support. -
Hi Ashrafur,
The lower and upper bounds to variable L(r,i) are basically defined by constants (vehicle capacity Q(r) and customer demand q(i)), right? So the min and max operators can be applied in a preprocessing step that is done before building the model.
Then, you just have two constant values that you can use in the definition of the variable as lower and upper bound.Best regards,
Mario0
Post is closed for comments.
Comments
2 comments