Rahul Kowshik
- Total activity 46
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 20
- Subscriptions 4
Activity overview
Latest activity by Rahul Kowshik-
Rahul Kowshik commented,
Hej Jaromil, Now I can confirm that it worked finally without any transhipment. I had to add another constraint to make it work. Thank you for everything and wish you a great weekend. Regards, Rah...
-
Rahul Kowshik commented,
Hello again, So all of that got sorted out but the same problem again as it was before we introduced big M constraints. Its still doing transhipment instead of taking it from port. Could it be beca...
-
Rahul Kowshik commented,
for j in inland_terminal: for t in time: m.addConstr(sum(flow_bin[i,j,t] for i in inland_terminal if i!=j) <= 1)#constantsM = 21for j in inland_terminal: for t in time: ...
-
Rahul Kowshik commented,
Hej Jaromil, If you want to model a constraint of the form \begin{align*}\sum_{i=0}^N f^{bin}_i &= 0 \rightarrow \sum_{i=0}^L f_i = 0\quad(*)\\f^{bin}_i,f_i &\in \{0,1\}\end{align*} You have writ...
-
Rahul Kowshik commented,
Hej Eli, The order of summation is not of concern but rather the grouping of terms as you mention. It's important because I cannot have incoming flows from different origins i, for different operat...
-
Rahul Kowshik commented,
Hej Jaromil, Couldn't it be better this way, e.g., if the distance for shipping from port and terminal8 to terminal 5 and then 6 to terminal4 is indeed shorter than shipping from port to terminal...
-
Rahul Kowshik commented,
Hej Eli, If you see my original post with the black brackets. I want the sum of all of those terms in the first bracket to be considered as one single term and then all the terms in the second brac...
-
Rahul Kowshik commented,
Hej Jaromil, I think I was too quick to dismiss the problem thinking that I got it cleared. It just does not seem to work. I have been trying to strictly restrict flow in arcs and it always does so...
-
Rahul Kowshik commented,
Hej Eli, Thanks for the input, unfortunately, I have already tried that. The output from both suggestions is not what I am looking for. To provide more context, the elements in the tuple are as fol...
-
Rahul Kowshik commented,
Hej Jaromil, I have solved this problem. Also, you point of correctly that there is a for loop missing which I fixed. The model is running now and works perfectly. This is how I fixed the for loop...