Description Usage Arguments Value Examples
Solve the traffic flow assignment model (user equilibrium) by Frank-Wolfe algorithm (all the necessary data must be properly input into the model in advance).
1 |
graph |
Graph object created with configure_graph() function |
demand |
Demand object created with configure_demand() function |
col |
Column from demand file selected for assignment |
max_iterations |
Maximum number of iterations for Frank-Wolfe algorithm |
Graph object with assignment on 'flow' column
1 2 3 4 5 | flist <- configure_graph(sioux_network,sioux_zones,use_cost_col=TRUE)
graph <- flist[[1]]
zones <- flist[[2]]
demand <- configure_demand(sioux_demand,zones)
graph <- solve_ue(graph,demand,col = 'demand')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.