Note
Go to the end to download the full example code.
Checking AequilibraE’s log#
AequilibraE’s log is a very useful tool to get more information about what the software is doing under the hood.
Information such as Traffic Class and Traffic Assignment stats, and Traffic Assignment outputs. If you have created your project’s network from OSM, you will also find information on the number of nodes, links, and the query performed to obtain the data.
In this example, we’ll use Sioux Falls data to check the logs, but we strongly encourage you to go ahead and download a place of your choice and perform a traffic assignment!
# Imports
from uuid import uuid4
from tempfile import gettempdir
from os.path import join
from aequilibrae.utils.create_example import create_example
from aequilibrae.paths import TrafficAssignment, TrafficClass
# We create an empty project on an arbitrary folder
fldr = join(gettempdir(), uuid4().hex)
project = create_example(fldr)
We build our graphs
project.network.build_graphs()
graph = project.network.graphs["c"]
graph.set_graph("free_flow_time")
graph.set_skimming(["free_flow_time", "distance"])
graph.set_blocked_centroid_flows(False)
We get our demand matrix from the project and create a computational view
proj_matrices = project.matrices
demand = proj_matrices.get_matrix("demand_omx")
demand.computational_view(["matrix"])
Now let’s perform our traffic assignment
assig = TrafficAssignment()
assigclass = TrafficClass(name="car", graph=graph, matrix=demand)
assig.add_class(assigclass)
assig.set_vdf("BPR")
assig.set_vdf_parameters({"alpha": 0.15, "beta": 4.0})
assig.set_capacity_field("capacity")
assig.set_time_field("free_flow_time")
assig.set_algorithm("bfw")
assig.max_iter = 50
assig.rgap_target = 0.001
assig.execute()
car : 0%| | 0/24 [00:00<?, ?it/s]
Equilibrium Assignment : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car : 2%|▏ | 1/50 [00:00<00:00, 41527.76it/s]
All-or-Nothing - Traffic Class: car : 2%|▏ | 1/50 [00:00<00:00, 6574.14it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 1/50 - RGap: inf: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 4%|▍ | 2/50 [00:00<00:00, 316.25it/s]
All-or-Nothing - Traffic Class: car : 4%|▍ | 2/50 [00:00<00:00, 309.35it/s]
All-or-Nothing - Traffic Class: car : 4%|▍ | 2/50 [00:00<00:00, 303.28it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 2/50 - RGap: 0.855075: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 6%|▌ | 3/50 [00:00<00:00, 657.21it/s]
All-or-Nothing - Traffic Class: car : 6%|▌ | 3/50 [00:00<00:00, 638.27it/s]
All-or-Nothing - Traffic Class: car : 6%|▌ | 3/50 [00:00<00:00, 621.41it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 3/50 - RGap: 0.476346: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 8%|▊ | 4/50 [00:00<00:00, 860.59it/s]
All-or-Nothing - Traffic Class: car : 8%|▊ | 4/50 [00:00<00:00, 836.23it/s]
All-or-Nothing - Traffic Class: car : 8%|▊ | 4/50 [00:00<00:00, 814.70it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 4/50 - RGap: 0.235513: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 10%|█ | 5/50 [00:00<00:00, 1063.95it/s]
All-or-Nothing - Traffic Class: car : 10%|█ | 5/50 [00:00<00:00, 1034.20it/s]
All-or-Nothing - Traffic Class: car : 10%|█ | 5/50 [00:00<00:00, 1007.52it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 5/50 - RGap: 0.109241: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 12%|█▏ | 6/50 [00:00<00:00, 1248.00it/s]
All-or-Nothing - Traffic Class: car : 12%|█▏ | 6/50 [00:00<00:00, 1213.92it/s]
All-or-Nothing - Traffic Class: car : 12%|█▏ | 6/50 [00:00<00:00, 1183.44it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 6/50 - RGap: 0.198095: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 14%|█▍ | 7/50 [00:00<00:00, 1441.84it/s]
All-or-Nothing - Traffic Class: car : 14%|█▍ | 7/50 [00:00<00:00, 1403.45it/s]
All-or-Nothing - Traffic Class: car : 14%|█▍ | 7/50 [00:00<00:00, 1368.71it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 7/50 - RGap: 0.0668172: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 16%|█▌ | 8/50 [00:00<00:00, 1792.82it/s]
All-or-Nothing - Traffic Class: car : 16%|█▌ | 8/50 [00:00<00:00, 1732.74it/s]
All-or-Nothing - Traffic Class: car : 16%|█▌ | 8/50 [00:00<00:00, 1685.64it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 8/50 - RGap: 0.0679212: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 18%|█▊ | 9/50 [00:00<00:00, 1919.79it/s]
All-or-Nothing - Traffic Class: car : 18%|█▊ | 9/50 [00:00<00:00, 1865.70it/s]
All-or-Nothing - Traffic Class: car : 18%|█▊ | 9/50 [00:00<00:00, 1817.99it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 9/50 - RGap: 0.107056: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 20%|██ | 10/50 [00:00<00:00, 2122.62it/s]
All-or-Nothing - Traffic Class: car : 20%|██ | 10/50 [00:00<00:00, 2063.72it/s]
All-or-Nothing - Traffic Class: car : 20%|██ | 10/50 [00:00<00:00, 2010.60it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 10/50 - RGap: 0.0403881: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 22%|██▏ | 11/50 [00:00<00:00, 2381.16it/s]
All-or-Nothing - Traffic Class: car : 22%|██▏ | 11/50 [00:00<00:00, 2314.16it/s]
All-or-Nothing - Traffic Class: car : 22%|██▏ | 11/50 [00:00<00:00, 2254.01it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 11/50 - RGap: 0.0279525: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 24%|██▍ | 12/50 [00:00<00:00, 2620.48it/s]
All-or-Nothing - Traffic Class: car : 24%|██▍ | 12/50 [00:00<00:00, 2545.34it/s]
All-or-Nothing - Traffic Class: car : 24%|██▍ | 12/50 [00:00<00:00, 2466.27it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 12/50 - RGap: 0.0327: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 26%|██▌ | 13/50 [00:00<00:00, 2815.41it/s]
All-or-Nothing - Traffic Class: car : 26%|██▌ | 13/50 [00:00<00:00, 2735.32it/s]
All-or-Nothing - Traffic Class: car : 26%|██▌ | 13/50 [00:00<00:00, 2598.45it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 13/50 - RGap: 0.024041: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 28%|██▊ | 14/50 [00:00<00:00, 2633.55it/s]
All-or-Nothing - Traffic Class: car : 28%|██▊ | 14/50 [00:00<00:00, 2568.24it/s]
All-or-Nothing - Traffic Class: car : 28%|██▊ | 14/50 [00:00<00:00, 2503.74it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 14/50 - RGap: 0.021451: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 30%|███ | 15/50 [00:00<00:00, 3308.51it/s]
All-or-Nothing - Traffic Class: car : 30%|███ | 15/50 [00:00<00:00, 3212.06it/s]
All-or-Nothing - Traffic Class: car : 30%|███ | 15/50 [00:00<00:00, 3127.59it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 15/50 - RGap: 0.0171166: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 32%|███▏ | 16/50 [00:00<00:00, 3237.13it/s]
All-or-Nothing - Traffic Class: car : 32%|███▏ | 16/50 [00:00<00:00, 3136.81it/s]
All-or-Nothing - Traffic Class: car : 32%|███▏ | 16/50 [00:00<00:00, 3056.79it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 16/50 - RGap: 0.0173508: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 34%|███▍ | 17/50 [00:00<00:00, 3651.70it/s]
All-or-Nothing - Traffic Class: car : 34%|███▍ | 17/50 [00:00<00:00, 3534.06it/s]
All-or-Nothing - Traffic Class: car : 34%|███▍ | 17/50 [00:00<00:00, 3441.77it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 17/50 - RGap: 0.0211647: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 36%|███▌ | 18/50 [00:00<00:00, 3641.77it/s]
All-or-Nothing - Traffic Class: car : 36%|███▌ | 18/50 [00:00<00:00, 3545.31it/s]
All-or-Nothing - Traffic Class: car : 36%|███▌ | 18/50 [00:00<00:00, 3457.79it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 18/50 - RGap: 0.0124645: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 38%|███▊ | 19/50 [00:00<00:00, 4287.27it/s]
All-or-Nothing - Traffic Class: car : 38%|███▊ | 19/50 [00:00<00:00, 4156.02it/s]
All-or-Nothing - Traffic Class: car : 38%|███▊ | 19/50 [00:00<00:00, 4042.81it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 19/50 - RGap: 0.0125498: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 40%|████ | 20/50 [00:00<00:00, 4308.04it/s]
All-or-Nothing - Traffic Class: car : 40%|████ | 20/50 [00:00<00:00, 4182.59it/s]
All-or-Nothing - Traffic Class: car : 40%|████ | 20/50 [00:00<00:00, 4072.73it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 20/50 - RGap: 0.0118607: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 42%|████▏ | 21/50 [00:00<00:00, 4539.76it/s]
All-or-Nothing - Traffic Class: car : 42%|████▏ | 21/50 [00:00<00:00, 4408.65it/s]
All-or-Nothing - Traffic Class: car : 42%|████▏ | 21/50 [00:00<00:00, 4294.09it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 21/50 - RGap: 0.0128592: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 44%|████▍ | 22/50 [00:00<00:00, 4614.66it/s]
All-or-Nothing - Traffic Class: car : 44%|████▍ | 22/50 [00:00<00:00, 4485.89it/s]
All-or-Nothing - Traffic Class: car : 44%|████▍ | 22/50 [00:00<00:00, 4368.86it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 22/50 - RGap: 0.0076712: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 46%|████▌ | 23/50 [00:00<00:00, 5008.25it/s]
All-or-Nothing - Traffic Class: car : 46%|████▌ | 23/50 [00:00<00:00, 4865.78it/s]
All-or-Nothing - Traffic Class: car : 46%|████▌ | 23/50 [00:00<00:00, 4739.09it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 23/50 - RGap: 0.00552918: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 48%|████▊ | 24/50 [00:00<00:00, 5296.12it/s]
All-or-Nothing - Traffic Class: car : 48%|████▊ | 24/50 [00:00<00:00, 5145.07it/s]
All-or-Nothing - Traffic Class: car : 48%|████▊ | 24/50 [00:00<00:00, 5009.87it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 24/50 - RGap: 0.0054668: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 50%|█████ | 25/50 [00:00<00:00, 4628.45it/s]
All-or-Nothing - Traffic Class: car : 50%|█████ | 25/50 [00:00<00:00, 4501.10it/s]
All-or-Nothing - Traffic Class: car : 50%|█████ | 25/50 [00:00<00:00, 4399.87it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 25/50 - RGap: 0.00707367: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 52%|█████▏ | 26/50 [00:00<00:00, 5746.23it/s]
All-or-Nothing - Traffic Class: car : 52%|█████▏ | 26/50 [00:00<00:00, 5584.39it/s]
All-or-Nothing - Traffic Class: car : 52%|█████▏ | 26/50 [00:00<00:00, 5410.66it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 26/50 - RGap: 0.00966473: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 54%|█████▍ | 27/50 [00:00<00:00, 5774.33it/s]
All-or-Nothing - Traffic Class: car : 54%|█████▍ | 27/50 [00:00<00:00, 5586.34it/s]
All-or-Nothing - Traffic Class: car : 54%|█████▍ | 27/50 [00:00<00:00, 5439.04it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 27/50 - RGap: 0.00875608: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 56%|█████▌ | 28/50 [00:00<00:00, 6021.36it/s]
All-or-Nothing - Traffic Class: car : 56%|█████▌ | 28/50 [00:00<00:00, 5812.74it/s]
All-or-Nothing - Traffic Class: car : 56%|█████▌ | 28/50 [00:00<00:00, 5660.06it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 28/50 - RGap: 0.00510522: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 58%|█████▊ | 29/50 [00:00<00:00, 6295.15it/s]
All-or-Nothing - Traffic Class: car : 58%|█████▊ | 29/50 [00:00<00:00, 6075.67it/s]
All-or-Nothing - Traffic Class: car : 58%|█████▊ | 29/50 [00:00<00:00, 5914.36it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 29/50 - RGap: 0.00353191: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 60%|██████ | 30/50 [00:00<00:00, 6751.21it/s]
All-or-Nothing - Traffic Class: car : 60%|██████ | 30/50 [00:00<00:00, 6553.26it/s]
All-or-Nothing - Traffic Class: car : 60%|██████ | 30/50 [00:00<00:00, 6342.51it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 30/50 - RGap: 0.00314829: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 62%|██████▏ | 31/50 [00:00<00:00, 6800.03it/s]
All-or-Nothing - Traffic Class: car : 62%|██████▏ | 31/50 [00:00<00:00, 6598.83it/s]
All-or-Nothing - Traffic Class: car : 62%|██████▏ | 31/50 [00:00<00:00, 6214.97it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 31/50 - RGap: 0.00306321: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 64%|██████▍ | 32/50 [00:00<00:00, 6293.91it/s]
All-or-Nothing - Traffic Class: car : 64%|██████▍ | 32/50 [00:00<00:00, 6130.90it/s]
All-or-Nothing - Traffic Class: car : 64%|██████▍ | 32/50 [00:00<00:00, 5985.18it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 32/50 - RGap: 0.00266465: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 66%|██████▌ | 33/50 [00:00<00:00, 7178.67it/s]
All-or-Nothing - Traffic Class: car : 66%|██████▌ | 33/50 [00:00<00:00, 6976.76it/s]
All-or-Nothing - Traffic Class: car : 66%|██████▌ | 33/50 [00:00<00:00, 6795.90it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 33/50 - RGap: 0.0023028: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 68%|██████▊ | 34/50 [00:00<00:00, 7264.71it/s]
All-or-Nothing - Traffic Class: car : 68%|██████▊ | 34/50 [00:00<00:00, 7060.77it/s]
All-or-Nothing - Traffic Class: car : 68%|██████▊ | 34/50 [00:00<00:00, 6879.89it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 34/50 - RGap: 0.00275103: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 70%|███████ | 35/50 [00:00<00:00, 7500.16it/s]
All-or-Nothing - Traffic Class: car : 70%|███████ | 35/50 [00:00<00:00, 7287.56it/s]
All-or-Nothing - Traffic Class: car : 70%|███████ | 35/50 [00:00<00:00, 7097.99it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 35/50 - RGap: 0.00212563: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 72%|███████▏ | 36/50 [00:00<00:00, 7725.50it/s]
All-or-Nothing - Traffic Class: car : 72%|███████▏ | 36/50 [00:00<00:00, 7512.19it/s]
All-or-Nothing - Traffic Class: car : 72%|███████▏ | 36/50 [00:00<00:00, 7317.77it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 36/50 - RGap: 0.00209949: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 74%|███████▍ | 37/50 [00:00<00:00, 7984.22it/s]
All-or-Nothing - Traffic Class: car : 74%|███████▍ | 37/50 [00:00<00:00, 7759.85it/s]
All-or-Nothing - Traffic Class: car : 74%|███████▍ | 37/50 [00:00<00:00, 7560.99it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 37/50 - RGap: 0.00144078: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 76%|███████▌ | 38/50 [00:00<00:00, 7217.48it/s]
All-or-Nothing - Traffic Class: car : 76%|███████▌ | 38/50 [00:00<00:00, 7038.36it/s]
All-or-Nothing - Traffic Class: car : 76%|███████▌ | 38/50 [00:00<00:00, 6877.39it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment - Iteration: 38/50 - RGap: 0.00141804: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 78%|███████▊ | 39/50 [00:00<00:00, 8534.35it/s]
All-or-Nothing - Traffic Class: car : 78%|███████▊ | 39/50 [00:00<00:00, 8292.50it/s]
All-or-Nothing - Traffic Class: car : 78%|███████▊ | 39/50 [00:00<00:00, 8075.53it/s]
All-or-Nothing - Traffic Class: car : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 0/24 : 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 10/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 20/24: 0%| | 0/50 [00:00<?, ?it/s]
All-or-Nothing - Traffic Class: car - Zones: 24/24: 0%| | 0/50 [00:00<?, ?it/s]
with open(join(fldr, "aequilibrae.log")) as file:
for idx, line in enumerate(file):
print(idx + 1, "-", line)
1 - 2025-06-17 01:05:31,896;WARNING ; Field(s) name, lanes has(ve) at least one NaN value. Check your computations
2 - 2025-06-17 01:05:31,925;WARNING ; Field(s) name, lanes has(ve) at least one NaN value. Check your computations
3 - 2025-06-17 01:05:31,954;WARNING ; Field(s) name, lanes has(ve) at least one NaN value. Check your computations
4 - 2025-06-17 01:05:31,983;WARNING ; Field(s) name, lanes has(ve) at least one NaN value. Check your computations
5 - 2025-06-17 01:05:32,011;WARNING ; Field(s) name, lanes has(ve) at least one NaN value. Check your computations
6 - 2025-06-17 01:05:32,040;WARNING ; Field(s) name, lanes has(ve) at least one NaN value. Check your computations
7 - 2025-06-17 01:05:32,059;WARNING ; Cost field with wrong type. Converting to float64
8 - 2025-06-17 01:05:32,300;INFO ; Traffic Class specification
9 - 2025-06-17 01:05:32,300;INFO ; {'car': {'Graph': "{'Mode': 'c', 'Block through centroids': False, 'Number of centroids': 24, 'Links': 76, 'Nodes': 24}", 'Matrix': "{'Source': '/tmp/64d665c87fe0440bb8fc8572ceec2e91/matrices/demand.omx', 'Number of centroids': 24, 'Matrix cores': ['matrix'], 'Matrix totals': {'matrix': 360600.0}}"}}
10 - 2025-06-17 01:05:32,300;INFO ; Traffic Assignment specification
11 - 2025-06-17 01:05:32,300;INFO ; {'VDF parameters': {'alpha': 0.15, 'beta': 4.0}, 'VDF function': 'bpr', 'Number of cores': 4, 'Capacity field': 'capacity', 'Time field': 'free_flow_time', 'Algorithm': 'bfw', 'Maximum iterations': 250, 'Target RGAP': 0.0001}
12 - 2025-06-17 01:05:32,302;WARNING ; Cost field with wrong type. Converting to float64
13 - 2025-06-17 01:05:32,304;INFO ; bfw Assignment STATS
14 - 2025-06-17 01:05:32,304;INFO ; Iteration, RelativeGap, stepsize
15 - 2025-06-17 01:05:32,310;INFO ; 1,inf,1.0
16 - 2025-06-17 01:05:32,315;INFO ; 2,0.8550751349428284,0.32839952448634563
17 - 2025-06-17 01:05:32,320;INFO ; 3,0.4763455007221067,0.18660240547488702
18 - 2025-06-17 01:05:32,325;INFO ; 4,0.2355126365951964,0.24114774402917932
19 - 2025-06-17 01:05:32,331;INFO ; 5,0.10924072010481056,0.8185470737942446
20 - 2025-06-17 01:05:32,336;INFO ; 6,0.1980945227617507,0.14054330572978296
21 - 2025-06-17 01:05:32,341;INFO ; 7,0.0668172221544687,0.36171152718899235
22 - 2025-06-17 01:05:32,346;INFO ; 8,0.06792122267870587,0.9634685345644046
23 - 2025-06-17 01:05:32,351;INFO ; 9,0.10705582933092855,0.13757153109677187
24 - 2025-06-17 01:05:32,356;INFO ; 10,0.04038814432034622,0.1609403425427973
25 - 2025-06-17 01:05:32,361;INFO ; 11,0.027952481137756554,0.3408928228700482
26 - 2025-06-17 01:05:32,366;INFO ; 12,0.032699992065524375,0.5467680533028559
27 - 2025-06-17 01:05:32,372;INFO ; 13,0.02404097017217723,0.13812236751252951
28 - 2025-06-17 01:05:32,377;INFO ; 14,0.021451030909508235,0.19705281508905448
29 - 2025-06-17 01:05:32,382;INFO ; 15,0.017116638259274456,0.33993816583364145
30 - 2025-06-17 01:05:32,387;INFO ; 16,0.017350824111296424,0.7287610532385654
31 - 2025-06-17 01:05:32,392;INFO ; 17,0.021164705464372085,0.08183287977099574
32 - 2025-06-17 01:05:32,397;INFO ; 18,0.012464530324249014,0.15115985804759552
33 - 2025-06-17 01:05:32,402;INFO ; 19,0.01254978991985068,0.1683404948154022
34 - 2025-06-17 01:05:32,407;INFO ; 20,0.01186071978971475,0.5399903522726659
35 - 2025-06-17 01:05:32,412;INFO ; 21,0.012859165521051706,0.05496659199654587
36 - 2025-06-17 01:05:32,417;INFO ; 22,0.007671197552803571,0.06125561557359102
37 - 2025-06-17 01:05:32,422;INFO ; 23,0.0055291789072303655,0.07401911120607019
38 - 2025-06-17 01:05:32,428;INFO ; 24,0.005466797330665046,0.19170977924357435
39 - 2025-06-17 01:05:32,433;INFO ; 25,0.007073668823305915,0.4228720696283064
40 - 2025-06-17 01:05:32,438;INFO ; 26,0.009664731222551091,0.9410177051615841
41 - 2025-06-17 01:05:32,443;INFO ; 27,0.008756083467130653,0.05172611061875809
42 - 2025-06-17 01:05:32,448;INFO ; 28,0.005105221228054155,0.06397929882334821
43 - 2025-06-17 01:05:32,453;INFO ; 29,0.003531906247694879,0.0505909049882185
44 - 2025-06-17 01:05:32,458;INFO ; 30,0.003148292623362624,0.05843748781795508
45 - 2025-06-17 01:05:32,464;INFO ; 31,0.003063209044595543,0.09173138967979944
46 - 2025-06-17 01:05:32,469;INFO ; 32,0.002664650770772516,0.07094979246382821
47 - 2025-06-17 01:05:32,474;INFO ; 33,0.0023028020378733274,0.1241286415195726
48 - 2025-06-17 01:05:32,479;INFO ; 34,0.0027510302560612818,0.12799355702540788
49 - 2025-06-17 01:05:32,484;INFO ; 35,0.0021256347783020894,0.16620387933930078
50 - 2025-06-17 01:05:32,489;INFO ; 36,0.00209949122319812,0.1028296364207193
51 - 2025-06-17 01:05:32,494;INFO ; 37,0.0014407763657229048,0.14492101336855942
52 - 2025-06-17 01:05:32,499;INFO ; 38,0.001418044704396397,0.06529689866658325
53 - 2025-06-17 01:05:32,504;INFO ; 39,0.0009714813735965158,0.09399257335223028
54 - 2025-06-17 01:05:32,504;INFO ; bfw Assignment finished. 39 iterations and 0.0009714813735965158 final gap
In lines 1-7, we receive some warnings that our fields name and lane have NaN
values.
As they are not relevant to our example, we can move on.
In lines 8-9 we get the Traffic Class specifications. We can see that there is only one traffic class (car). Its graph key presents information on blocked flow through centroids, number of centroids, links, and nodes. In the matrix key, we find information on where in the disk the matrix file is located. We also have information on the number of centroids and nodes, as well as on the matrix/matrices used for computation. In our example, we only have one matrix named matrix, and the total sum of this matrix element is equal to 360,600. If you have more than one matrix its data will be also displayed in the matrix_cores and matrix_totals keys.
In lines 10-11 the log shows the Traffic Assignment specifications. We can see that the VDF parameters, VDF function, capacity and time fields, algorithm, maximum number of iterations, and target gap are just like the ones we set previously. The only information that might be new to you is the number of cores used for computation. If you haven’t set any, AequilibraE is going to use the largest number of CPU threads available.
Line 12 displays us a warning to indicate that AequilibraE is converting the data type of the cost field.
Lines 13-61 indicate that we’ll receive the outputs of a bfw algorithm.
In the log there are also the number of the iteration, its relative gap, and the stepsize.
The outputs in lines 15-60 are exactly the same as the ones provided by the function
assig.report()
. Finally, the last line shows us that the bfw assignment has finished
after 46 iterations because its gap is smaller than the threshold we configured (0.001).
In case you execute a new traffic assignment using different classes or changing the parameters values, these new specification values would be stored in the log file as well so you can always keep a record of what you have been doing. One last reminder is that if we had created our project from OSM, the lines on top of the log would have been different to display information on the queries done to the server to obtain the data.
Log image by OSRS Wiki
Total running time of the script: (0 minutes 0.817 seconds)