Traffic-toolbox Function

FW - Frank-Wolfe traffic assignment algorithm

Calling Sequence

[F,ta,ben]=FW(net,kmax,tol)

Parameters

Description

Assigns the flow with the Frank-Wolfe algorithm. After an initial AON assignment the link costs are updated and a new assignment is computed. The new assignment is combined with the previous one in a way that minimizes the global cost. The algorithm terminates when the number of iterations kmax is reached or the change in link costs is less than tol. When they are not given tol and kmax have the default values 1e-6 and 20.

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.

EXAMPLES

See Also