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, 38479.85it/s]
All-or-Nothing - Traffic Class: car               :   2%|▏         | 1/50 [00:00<00:00, 6678.83it/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, 432.67it/s]
All-or-Nothing - Traffic Class: car               :   4%|▍         | 2/50 [00:00<00:00, 420.61it/s]
All-or-Nothing - Traffic Class: car               :   4%|▍         | 2/50 [00:00<00:00, 409.94it/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, 577.78it/s]
All-or-Nothing - Traffic Class: car               :   6%|▌         | 3/50 [00:00<00:00, 563.65it/s]
All-or-Nothing - Traffic Class: car               :   6%|▌         | 3/50 [00:00<00:00, 550.80it/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, 838.06it/s]
All-or-Nothing - Traffic Class: car               :   8%|▊         | 4/50 [00:00<00:00, 815.38it/s]
All-or-Nothing - Traffic Class: car               :   8%|▊         | 4/50 [00:00<00:00, 795.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: 4/50 - RGap: 0.235513:   0%|          | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment                            :  10%|█         | 5/50 [00:00<00:00, 963.81it/s]
All-or-Nothing - Traffic Class: car               :  10%|█         | 5/50 [00:00<00:00, 940.51it/s]
All-or-Nothing - Traffic Class: car               :  10%|█         | 5/50 [00:00<00:00, 919.40it/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, 811.43it/s]
All-or-Nothing - Traffic Class: car               :  12%|█▏        | 6/50 [00:00<00:00, 794.58it/s]
All-or-Nothing - Traffic Class: car               :  12%|█▏        | 6/50 [00:00<00:00, 781.55it/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, 1289.76it/s]
All-or-Nothing - Traffic Class: car               :  14%|█▍        | 7/50 [00:00<00:00, 1259.66it/s]
All-or-Nothing - Traffic Class: car               :  14%|█▍        | 7/50 [00:00<00:00, 1232.32it/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, 1695.18it/s]
All-or-Nothing - Traffic Class: car               :  16%|█▌        | 8/50 [00:00<00:00, 1649.35it/s]
All-or-Nothing - Traffic Class: car               :  16%|█▌        | 8/50 [00:00<00:00, 1608.40it/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, 1015.87it/s]
All-or-Nothing - Traffic Class: car               :  18%|█▊        | 9/50 [00:00<00:00, 1001.00it/s]
All-or-Nothing - Traffic Class: car               :  18%|█▊        | 9/50 [00:00<00:00, 987.13it/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, 1237.18it/s]
All-or-Nothing - Traffic Class: car               :  20%|██        | 10/50 [00:00<00:00, 1217.33it/s]
All-or-Nothing - Traffic Class: car               :  20%|██        | 10/50 [00:00<00:00, 1198.92it/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, 1874.13it/s]
All-or-Nothing - Traffic Class: car               :  22%|██▏       | 11/50 [00:00<00:00, 1832.67it/s]
All-or-Nothing - Traffic Class: car               :  22%|██▏       | 11/50 [00:00<00:00, 1794.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: 11/50 - RGap: 0.0279525:   0%|          | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment                            :  24%|██▍       | 12/50 [00:00<00:00, 1944.73it/s]
All-or-Nothing - Traffic Class: car               :  24%|██▍       | 12/50 [00:00<00:00, 1903.33it/s]
All-or-Nothing - Traffic Class: car               :  24%|██▍       | 12/50 [00:00<00:00, 1866.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: 12/50 - RGap: 0.0327:   0%|          | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment                            :  26%|██▌       | 13/50 [00:00<00:00, 2555.82it/s]
All-or-Nothing - Traffic Class: car               :  26%|██▌       | 13/50 [00:00<00:00, 2491.70it/s]
All-or-Nothing - Traffic Class: car               :  26%|██▌       | 13/50 [00:00<00:00, 2434.19it/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, 1497.24it/s]
All-or-Nothing - Traffic Class: car               :  28%|██▊       | 14/50 [00:00<00:00, 1476.31it/s]
All-or-Nothing - Traffic Class: car               :  28%|██▊       | 14/50 [00:00<00:00, 1457.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: 14/50 - RGap: 0.021451:   0%|          | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment                            :  30%|███       | 15/50 [00:00<00:00, 1321.04it/s]
All-or-Nothing - Traffic Class: car               :  30%|███       | 15/50 [00:00<00:00, 1305.77it/s]
All-or-Nothing - Traffic Class: car               :  30%|███       | 15/50 [00:00<00:00, 1290.93it/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, 2632.86it/s]
All-or-Nothing - Traffic Class: car               :  32%|███▏      | 16/50 [00:00<00:00, 2576.45it/s]
All-or-Nothing - Traffic Class: car               :  32%|███▏      | 16/50 [00:00<00:00, 2526.31it/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, 1859.71it/s]
All-or-Nothing - Traffic Class: car               :  34%|███▍      | 17/50 [00:00<00:00, 1833.27it/s]
All-or-Nothing - Traffic Class: car               :  34%|███▍      | 17/50 [00:00<00:00, 1809.17it/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, 3457.79it/s]
All-or-Nothing - Traffic Class: car               :  36%|███▌      | 18/50 [00:00<00:00, 3373.74it/s]
All-or-Nothing - Traffic Class: car               :  36%|███▌      | 18/50 [00:00<00:00, 3297.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: 18/50 - RGap: 0.0124645:   0%|          | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment                            :  38%|███▊      | 19/50 [00:00<00:00, 3780.44it/s]
All-or-Nothing - Traffic Class: car               :  38%|███▊      | 19/50 [00:00<00:00, 3619.72it/s]
All-or-Nothing - Traffic Class: car               :  38%|███▊      | 19/50 [00:00<00:00, 3527.12it/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, 4161.02it/s]
All-or-Nothing - Traffic Class: car               :  40%|████      | 20/50 [00:00<00:00, 4050.71it/s]
All-or-Nothing - Traffic Class: car               :  40%|████      | 20/50 [00:00<00:00, 3951.67it/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, 4114.37it/s]
All-or-Nothing - Traffic Class: car               :  42%|████▏     | 21/50 [00:00<00:00, 4012.23it/s]
All-or-Nothing - Traffic Class: car               :  42%|████▏     | 21/50 [00:00<00:00, 3919.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: 21/50 - RGap: 0.0128592:   0%|          | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment                            :  44%|████▍     | 22/50 [00:00<00:00, 4208.46it/s]
All-or-Nothing - Traffic Class: car               :  44%|████▍     | 22/50 [00:00<00:00, 4104.75it/s]
All-or-Nothing - Traffic Class: car               :  44%|████▍     | 22/50 [00:00<00:00, 4010.55it/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, 2814.31it/s]
All-or-Nothing - Traffic Class: car               :  46%|████▌     | 23/50 [00:00<00:00, 2755.47it/s]
All-or-Nothing - Traffic Class: car               :  46%|████▌     | 23/50 [00:00<00:00, 2707.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: 23/50 - RGap: 0.00552918:   0%|          | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment                            :  48%|████▊     | 24/50 [00:00<00:00, 3131.34it/s]
All-or-Nothing - Traffic Class: car               :  48%|████▊     | 24/50 [00:00<00:00, 3078.48it/s]
All-or-Nothing - Traffic Class: car               :  48%|████▊     | 24/50 [00:00<00:00, 3030.38it/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, 3225.40it/s]
All-or-Nothing - Traffic Class: car               :  50%|█████     | 25/50 [00:00<00:00, 3170.87it/s]
All-or-Nothing - Traffic Class: car               :  50%|█████     | 25/50 [00:00<00:00, 3121.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: 25/50 - RGap: 0.00707367:   0%|          | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment                            :  52%|█████▏    | 26/50 [00:00<00:00, 3434.27it/s]
All-or-Nothing - Traffic Class: car               :  52%|█████▏    | 26/50 [00:00<00:00, 3375.38it/s]
All-or-Nothing - Traffic Class: car               :  52%|█████▏    | 26/50 [00:00<00:00, 3321.11it/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, 5246.04it/s]
All-or-Nothing - Traffic Class: car               :  54%|█████▍    | 27/50 [00:00<00:00, 5113.85it/s]
All-or-Nothing - Traffic Class: car               :  54%|█████▍    | 27/50 [00:00<00:00, 4993.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: 27/50 - RGap: 0.00875608:   0%|          | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment                            :  56%|█████▌    | 28/50 [00:00<00:00, 5220.04it/s]
All-or-Nothing - Traffic Class: car               :  56%|█████▌    | 28/50 [00:00<00:00, 5094.81it/s]
All-or-Nothing - Traffic Class: car               :  56%|█████▌    | 28/50 [00:00<00:00, 4981.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: 28/50 - RGap: 0.00510522:   0%|          | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment                            :  58%|█████▊    | 29/50 [00:00<00:00, 4768.31it/s]
All-or-Nothing - Traffic Class: car               :  58%|█████▊    | 29/50 [00:00<00:00, 4666.60it/s]
All-or-Nothing - Traffic Class: car               :  58%|█████▊    | 29/50 [00:00<00:00, 4574.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: 29/50 - RGap: 0.00353191:   0%|          | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment                            :  60%|██████    | 30/50 [00:00<00:00, 5346.92it/s]
All-or-Nothing - Traffic Class: car               :  60%|██████    | 30/50 [00:00<00:00, 5223.73it/s]
All-or-Nothing - Traffic Class: car               :  60%|██████    | 30/50 [00:00<00:00, 5108.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: 30/50 - RGap: 0.00314829:   0%|          | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment                            :  62%|██████▏   | 31/50 [00:00<00:00, 6116.73it/s]
All-or-Nothing - Traffic Class: car               :  62%|██████▏   | 31/50 [00:00<00:00, 5963.83it/s]
All-or-Nothing - Traffic Class: car               :  62%|██████▏   | 31/50 [00:00<00:00, 5816.82it/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, 5150.33it/s]
All-or-Nothing - Traffic Class: car               :  64%|██████▍   | 32/50 [00:00<00:00, 5042.18it/s]
All-or-Nothing - Traffic Class: car               :  64%|██████▍   | 32/50 [00:00<00:00, 4943.02it/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, 4287.86it/s]
All-or-Nothing - Traffic Class: car               :  66%|██████▌   | 33/50 [00:00<00:00, 4217.31it/s]
All-or-Nothing - Traffic Class: car               :  66%|██████▌   | 33/50 [00:00<00:00, 4152.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: 33/50 - RGap: 0.0023028:   0%|          | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment                            :  68%|██████▊   | 34/50 [00:00<00:00, 4321.67it/s]
All-or-Nothing - Traffic Class: car               :  68%|██████▊   | 34/50 [00:00<00:00, 4249.80it/s]
All-or-Nothing - Traffic Class: car               :  68%|██████▊   | 34/50 [00:00<00:00, 4184.95it/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, 6565.91it/s]
All-or-Nothing - Traffic Class: car               :  70%|███████   | 35/50 [00:00<00:00, 6407.71it/s]
All-or-Nothing - Traffic Class: car               :  70%|███████   | 35/50 [00:00<00:00, 6264.16it/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, 6619.68it/s]
All-or-Nothing - Traffic Class: car               :  72%|███████▏  | 36/50 [00:00<00:00, 6464.38it/s]
All-or-Nothing - Traffic Class: car               :  72%|███████▏  | 36/50 [00:00<00:00, 6324.93it/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, 4850.73it/s]
All-or-Nothing - Traffic Class: car               :  74%|███████▍  | 37/50 [00:00<00:00, 4768.01it/s]
All-or-Nothing - Traffic Class: car               :  74%|███████▍  | 37/50 [00:00<00:00, 4693.03it/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, 7067.69it/s]
All-or-Nothing - Traffic Class: car               :  76%|███████▌  | 38/50 [00:00<00:00, 6900.92it/s]
All-or-Nothing - Traffic Class: car               :  76%|███████▌  | 38/50 [00:00<00:00, 6737.84it/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, 6303.82it/s]
All-or-Nothing - Traffic Class: car               :  78%|███████▊  | 39/50 [00:00<00:00, 6171.82it/s]
All-or-Nothing - Traffic Class: car               :  78%|███████▊  | 39/50 [00:00<00:00, 6053.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]
with open(join(fldr, "aequilibrae.log")) as file:
    for idx, line in enumerate(file):
        print(idx + 1, "-", line)
1 - 2024-11-04 00:40:27,495;WARNING ; Field(s) name, lanes has(ve) at least one NaN value. Check your computations

2 - 2024-11-04 00:40:27,522;WARNING ; Field(s) name, lanes has(ve) at least one NaN value. Check your computations

3 - 2024-11-04 00:40:27,550;WARNING ; Field(s) name, lanes has(ve) at least one NaN value. Check your computations

4 - 2024-11-04 00:40:27,576;WARNING ; Field(s) name, lanes has(ve) at least one NaN value. Check your computations

5 - 2024-11-04 00:40:27,603;WARNING ; Field(s) name, lanes has(ve) at least one NaN value. Check your computations

6 - 2024-11-04 00:40:27,630;WARNING ; Field(s) name, lanes has(ve) at least one NaN value. Check your computations

7 - 2024-11-04 00:40:27,648;WARNING ; Cost field with wrong type. Converting to float64

8 - 2024-11-04 00:40:27,891;INFO ; Traffic Class specification

9 - 2024-11-04 00:40:27,891;INFO ; {'car': {'Graph': "{'Mode': 'c', 'Block through centroids': False, 'Number of centroids': 24, 'Links': 76, 'Nodes': 24}", 'Matrix': "{'Source': '/tmp/616b197e5f354a429fa46631b6ccad6e/matrices/demand.omx', 'Number of centroids': 24, 'Matrix cores': ['matrix'], 'Matrix totals': {'matrix': 360600.0}}"}}

10 - 2024-11-04 00:40:27,891;INFO ; Traffic Assignment specification

11 - 2024-11-04 00:40:27,891;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 - 2024-11-04 00:40:27,893;WARNING ; Cost field with wrong type. Converting to float64

13 - 2024-11-04 00:40:27,894;INFO ; bfw Assignment STATS

14 - 2024-11-04 00:40:27,894;INFO ; Iteration, RelativeGap, stepsize

15 - 2024-11-04 00:40:27,899;INFO ; 1,inf,1.0

16 - 2024-11-04 00:40:27,904;INFO ; 2,0.8550751349428284,0.32839952448634563

17 - 2024-11-04 00:40:27,909;INFO ; 3,0.4763455007221067,0.18660240547488702

18 - 2024-11-04 00:40:27,915;INFO ; 4,0.2355126365951965,0.2411477440291793

19 - 2024-11-04 00:40:27,923;INFO ; 5,0.10924072010481088,0.8185470737942447

20 - 2024-11-04 00:40:27,928;INFO ; 6,0.1980945227617506,0.14054330572978305

21 - 2024-11-04 00:40:27,933;INFO ; 7,0.0668172221544687,0.36171152718899235

22 - 2024-11-04 00:40:27,943;INFO ; 8,0.06792122267870576,0.9634685345644022

23 - 2024-11-04 00:40:27,951;INFO ; 9,0.10705582933092841,0.13757153109677167

24 - 2024-11-04 00:40:27,957;INFO ; 10,0.04038814432034621,0.16094034254279752

25 - 2024-11-04 00:40:27,964;INFO ; 11,0.02795248113775691,0.3408928228700519

26 - 2024-11-04 00:40:27,969;INFO ; 12,0.032699992065524604,0.5467680533028708

27 - 2024-11-04 00:40:27,979;INFO ; 13,0.024040970172177586,0.13812236751253118

28 - 2024-11-04 00:40:27,991;INFO ; 14,0.02145103090950847,0.19705281508905462

29 - 2024-11-04 00:40:27,997;INFO ; 15,0.017116638259274453,0.33993816583363806

30 - 2024-11-04 00:40:28,007;INFO ; 16,0.017350824111295807,0.7287610532385786

31 - 2024-11-04 00:40:28,012;INFO ; 17,0.021164705464372092,0.08183287977099643

32 - 2024-11-04 00:40:28,018;INFO ; 18,0.012464530324248647,0.15115985804759455

33 - 2024-11-04 00:40:28,023;INFO ; 19,0.012549789919850438,0.1683404948153976

34 - 2024-11-04 00:40:28,029;INFO ; 20,0.011860719789714256,0.5399903522726475

35 - 2024-11-04 00:40:28,034;INFO ; 21,0.01285916552105109,0.05496659199654358

36 - 2024-11-04 00:40:28,043;INFO ; 22,0.00767119755280345,0.06125561557358879

37 - 2024-11-04 00:40:28,051;INFO ; 23,0.005529178907229993,0.07401911120606162

38 - 2024-11-04 00:40:28,059;INFO ; 24,0.0054667973306645485,0.19170977924356672

39 - 2024-11-04 00:40:28,067;INFO ; 25,0.007073668823305668,0.42287206962830043

40 - 2024-11-04 00:40:28,072;INFO ; 26,0.009664731222550595,0.9410177051615074

41 - 2024-11-04 00:40:28,078;INFO ; 27,0.008756083467130407,0.05172611061875572

42 - 2024-11-04 00:40:28,085;INFO ; 28,0.005105221228053531,0.06397929882334433

43 - 2024-11-04 00:40:28,091;INFO ; 29,0.0035319062476947545,0.05059090498821683

44 - 2024-11-04 00:40:28,096;INFO ; 30,0.0031482926233624992,0.05843748781795044

45 - 2024-11-04 00:40:28,103;INFO ; 31,0.003063209044595293,0.09173138967977273

46 - 2024-11-04 00:40:28,111;INFO ; 32,0.00266465077077239,0.07094979246382783

47 - 2024-11-04 00:40:28,119;INFO ; 33,0.0023028020378732016,0.12412864151961962

48 - 2024-11-04 00:40:28,125;INFO ; 34,0.0027510302560624046,0.12799355702545237

49 - 2024-11-04 00:40:28,130;INFO ; 35,0.0021256347783030873,0.16620387933943695

50 - 2024-11-04 00:40:28,138;INFO ; 36,0.002099491223200365,0.1028296364209418

51 - 2024-11-04 00:40:28,144;INFO ; 37,0.0014407763657244023,0.14492101336880417

52 - 2024-11-04 00:40:28,151;INFO ; 38,0.0014180447043985174,0.06529689866673037

53 - 2024-11-04 00:40:28,159;INFO ; 39,0.0009714813735978867,0.09399257335245358

54 - 2024-11-04 00:40:28,159;INFO ; bfw Assignment finished. 39 iterations and 0.0009714813735978867 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.771 seconds)

Gallery generated by Sphinx-Gallery