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
-
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
Please sign in to leave a comment.
Comments
1 comment