News feed
Log in to your course web
You are not logged in KTH, so we cannot customize the content.
Do you have questions regarding this course?
If you are registered on a current course round, please refer to the Canvas course room. You find the right course room under "Courses" in the personal menu.
If you are not registered, see Course PM for AH2307 or contact your student office or study counsellor.
In the News feed, you find updates for pages, schedule and posts from teachers (when aimed also at earlier registered students).
Hi!
We also had the same problem as Ludvig so we decided to display max(max(abs(time-t_car))) to check what the maximum difference bewteen time and t_car was after e.g. 100 iterations. From that, we found that after about 100 iterations, the maximum difference was about 85 minutes so therefore we set the condition to 85 instead of 0.1. When we looked at the matrix "time-t_car" after the optimzation, we found that most routes had a travel time difference of either aruond 5 minutes or less than 1 minutes EXCEPT for trips from zone 6, where the differences were about 85 minutes.
Hello,
maybe we have the same problem :
Out of the while-loop, I try to run the Assignment function : [time, distance, flow] = Assignment(Tij_car, A, D, cap, toll). When I run it step by step, I get stuck in the function 'num2cell.m'.
So, have you succeeded in running this Assignment function once out of the while-loop ? If yes, good for you. If not, we have maybe the same problem : please can you run it step by step to see where you get stuck ?
See you, Coralie