MSASUE - MSA algorithm for Stochastic User Equilibrium
Assigns the flow with a MSA heuristic using a Probit-based model in each iteration. After an initial Probit assignment the links costs are updated and a new Probit assignment is computed using flow dependent travel times. The new flow, f^k+1=(1-lk)*f^k+lk*y^k, where lk=1/k, is computed as a combination of the previous flow f^k and a Probit assignment y^K. This is repeated iteratively until iteration kmax or until the precision is reached.
The matrix ben contains intermediary informations on the algorithm. For each iteration it gives the iteration number, time spent, cost, memory used and an convergence error evaluation.
net=TrafficExample("Small"); [f,s,ben]=MSASUE(net,1,15,1e-3);