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, 36472.21it/s]
All-or-Nothing - Traffic Class: car : 2%|▏ | 1/50 [00:00<00:00, 6553.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: 1/50 - RGap: inf: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 4%|▍ | 2/50 [00:00<00:00, 404.91it/s]
All-or-Nothing - Traffic Class: car : 4%|▍ | 2/50 [00:00<00:00, 392.56it/s]
All-or-Nothing - Traffic Class: car : 4%|▍ | 2/50 [00:00<00:00, 382.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: 2/50 - RGap: 0.855075: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 6%|▌ | 3/50 [00:00<00:00, 566.72it/s]
All-or-Nothing - Traffic Class: car : 6%|▌ | 3/50 [00:00<00:00, 552.95it/s]
All-or-Nothing - Traffic Class: car : 6%|▌ | 3/50 [00:00<00:00, 540.50it/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, 728.40it/s]
All-or-Nothing - Traffic Class: car : 8%|▊ | 4/50 [00:00<00:00, 711.86it/s]
All-or-Nothing - Traffic Class: car : 8%|▊ | 4/50 [00:00<00:00, 696.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: 4/50 - RGap: 0.235513: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 10%|█ | 5/50 [00:00<00:00, 942.07it/s]
All-or-Nothing - Traffic Class: car : 10%|█ | 5/50 [00:00<00:00, 919.84it/s]
All-or-Nothing - Traffic Class: car : 10%|█ | 5/50 [00:00<00:00, 899.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, 1109.21it/s]
All-or-Nothing - Traffic Class: car : 12%|█▏ | 6/50 [00:00<00:00, 1083.61it/s]
All-or-Nothing - Traffic Class: car : 12%|█▏ | 6/50 [00:00<00:00, 1059.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: 6/50 - RGap: 0.198095: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 14%|█▍ | 7/50 [00:00<00:00, 693.26it/s]
All-or-Nothing - Traffic Class: car : 14%|█▍ | 7/50 [00:00<00:00, 684.45it/s]
All-or-Nothing - Traffic Class: car : 14%|█▍ | 7/50 [00:00<00:00, 676.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: 7/50 - RGap: 0.0668172: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 16%|█▌ | 8/50 [00:00<00:00, 1494.10it/s]
All-or-Nothing - Traffic Class: car : 16%|█▌ | 8/50 [00:00<00:00, 1459.52it/s]
All-or-Nothing - Traffic Class: car : 16%|█▌ | 8/50 [00:00<00:00, 1427.85it/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, 1802.37it/s]
All-or-Nothing - Traffic Class: car : 18%|█▊ | 9/50 [00:00<00:00, 1757.55it/s]
All-or-Nothing - Traffic Class: car : 18%|█▊ | 9/50 [00:00<00:00, 1716.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: 9/50 - RGap: 0.107056: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 20%|██ | 10/50 [00:00<00:00, 1736.77it/s]
All-or-Nothing - Traffic Class: car : 20%|██ | 10/50 [00:00<00:00, 1698.37it/s]
All-or-Nothing - Traffic Class: car : 20%|██ | 10/50 [00:00<00:00, 1662.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: 10/50 - RGap: 0.0403881: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 22%|██▏ | 11/50 [00:00<00:00, 2020.02it/s]
All-or-Nothing - Traffic Class: car : 22%|██▏ | 11/50 [00:00<00:00, 1971.77it/s]
All-or-Nothing - Traffic Class: car : 22%|██▏ | 11/50 [00:00<00:00, 1929.30it/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, 2186.81it/s]
All-or-Nothing - Traffic Class: car : 24%|██▍ | 12/50 [00:00<00:00, 2136.95it/s]
All-or-Nothing - Traffic Class: car : 24%|██▍ | 12/50 [00:00<00:00, 2091.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: 12/50 - RGap: 0.0327: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 26%|██▌ | 13/50 [00:00<00:00, 2049.00it/s]
All-or-Nothing - Traffic Class: car : 26%|██▌ | 13/50 [00:00<00:00, 2007.21it/s]
All-or-Nothing - Traffic Class: car : 26%|██▌ | 13/50 [00:00<00:00, 1969.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: 13/50 - RGap: 0.024041: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 28%|██▊ | 14/50 [00:00<00:00, 1800.57it/s]
All-or-Nothing - Traffic Class: car : 28%|██▊ | 14/50 [00:00<00:00, 1770.76it/s]
All-or-Nothing - Traffic Class: car : 28%|██▊ | 14/50 [00:00<00:00, 1743.63it/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, 2913.93it/s]
All-or-Nothing - Traffic Class: car : 30%|███ | 15/50 [00:00<00:00, 2842.18it/s]
All-or-Nothing - Traffic Class: car : 30%|███ | 15/50 [00:00<00:00, 2772.91it/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, 2972.18it/s]
All-or-Nothing - Traffic Class: car : 32%|███▏ | 16/50 [00:00<00:00, 2902.76it/s]
All-or-Nothing - Traffic Class: car : 32%|███▏ | 16/50 [00:00<00:00, 2839.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: 16/50 - RGap: 0.0173508: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 34%|███▍ | 17/50 [00:00<00:00, 2245.91it/s]
All-or-Nothing - Traffic Class: car : 34%|███▍ | 17/50 [00:00<00:00, 2207.94it/s]
All-or-Nothing - Traffic Class: car : 34%|███▍ | 17/50 [00:00<00:00, 2172.75it/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, 3158.76it/s]
All-or-Nothing - Traffic Class: car : 36%|███▌ | 18/50 [00:00<00:00, 3089.35it/s]
All-or-Nothing - Traffic Class: car : 36%|███▌ | 18/50 [00:00<00:00, 3024.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: 18/50 - RGap: 0.0124645: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 38%|███▊ | 19/50 [00:00<00:00, 936.39it/s]
All-or-Nothing - Traffic Class: car : 38%|███▊ | 19/50 [00:00<00:00, 930.47it/s]
All-or-Nothing - Traffic Class: car : 38%|███▊ | 19/50 [00:00<00:00, 924.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: 19/50 - RGap: 0.0125498: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 40%|████ | 20/50 [00:00<00:00, 3738.74it/s]
All-or-Nothing - Traffic Class: car : 40%|████ | 20/50 [00:00<00:00, 3649.60it/s]
All-or-Nothing - Traffic Class: car : 40%|████ | 20/50 [00:00<00:00, 3569.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: 20/50 - RGap: 0.0118607: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 42%|████▏ | 21/50 [00:00<00:00, 4171.86it/s]
All-or-Nothing - Traffic Class: car : 42%|████▏ | 21/50 [00:00<00:00, 4065.94it/s]
All-or-Nothing - Traffic Class: car : 42%|████▏ | 21/50 [00:00<00:00, 3969.91it/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, 3848.15it/s]
All-or-Nothing - Traffic Class: car : 44%|████▍ | 22/50 [00:00<00:00, 3762.63it/s]
All-or-Nothing - Traffic Class: car : 44%|████▍ | 22/50 [00:00<00:00, 3684.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: 22/50 - RGap: 0.0076712: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 46%|████▌ | 23/50 [00:00<00:00, 2828.75it/s]
All-or-Nothing - Traffic Class: car : 46%|████▌ | 23/50 [00:00<00:00, 2783.78it/s]
All-or-Nothing - Traffic Class: car : 46%|████▌ | 23/50 [00:00<00:00, 2740.91it/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, 3183.73it/s]
All-or-Nothing - Traffic Class: car : 48%|████▊ | 24/50 [00:00<00:00, 3128.91it/s]
All-or-Nothing - Traffic Class: car : 48%|████▊ | 24/50 [00:00<00:00, 3078.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: 24/50 - RGap: 0.0054668: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 50%|█████ | 25/50 [00:00<00:00, 4869.62it/s]
All-or-Nothing - Traffic Class: car : 50%|█████ | 25/50 [00:00<00:00, 4748.56it/s]
All-or-Nothing - Traffic Class: car : 50%|█████ | 25/50 [00:00<00:00, 4640.33it/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, 4147.09it/s]
All-or-Nothing - Traffic Class: car : 52%|█████▏ | 26/50 [00:00<00:00, 4062.89it/s]
All-or-Nothing - Traffic Class: car : 52%|█████▏ | 26/50 [00:00<00:00, 3985.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: 26/50 - RGap: 0.00966473: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 54%|█████▍ | 27/50 [00:00<00:00, 3677.54it/s]
All-or-Nothing - Traffic Class: car : 54%|█████▍ | 27/50 [00:00<00:00, 3613.01it/s]
All-or-Nothing - Traffic Class: car : 54%|█████▍ | 27/50 [00:00<00:00, 3553.49it/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, 4871.43it/s]
All-or-Nothing - Traffic Class: car : 56%|█████▌ | 28/50 [00:00<00:00, 4763.55it/s]
All-or-Nothing - Traffic Class: car : 56%|█████▌ | 28/50 [00:00<00:00, 4660.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: 28/50 - RGap: 0.00510522: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 58%|█████▊ | 29/50 [00:00<00:00, 5055.90it/s]
All-or-Nothing - Traffic Class: car : 58%|█████▊ | 29/50 [00:00<00:00, 4939.48it/s]
All-or-Nothing - Traffic Class: car : 58%|█████▊ | 29/50 [00:00<00:00, 4835.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: 29/50 - RGap: 0.00353191: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 60%|██████ | 30/50 [00:00<00:00, 2498.54it/s]
All-or-Nothing - Traffic Class: car : 60%|██████ | 30/50 [00:00<00:00, 2471.21it/s]
All-or-Nothing - Traffic Class: car : 60%|██████ | 30/50 [00:00<00:00, 2445.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: 30/50 - RGap: 0.00314829: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 62%|██████▏ | 31/50 [00:00<00:00, 4197.69it/s]
All-or-Nothing - Traffic Class: car : 62%|██████▏ | 31/50 [00:00<00:00, 4124.19it/s]
All-or-Nothing - Traffic Class: car : 62%|██████▏ | 31/50 [00:00<00:00, 4056.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: 31/50 - RGap: 0.00306321: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 64%|██████▍ | 32/50 [00:00<00:00, 6013.61it/s]
All-or-Nothing - Traffic Class: car : 64%|██████▍ | 32/50 [00:00<00:00, 5869.24it/s]
All-or-Nothing - Traffic Class: car : 64%|██████▍ | 32/50 [00:00<00:00, 5738.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: 32/50 - RGap: 0.00266465: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 66%|██████▌ | 33/50 [00:00<00:00, 6096.10it/s]
All-or-Nothing - Traffic Class: car : 66%|██████▌ | 33/50 [00:00<00:00, 5951.93it/s]
All-or-Nothing - Traffic Class: car : 66%|██████▌ | 33/50 [00:00<00:00, 5820.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: 33/50 - RGap: 0.0023028: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 68%|██████▊ | 34/50 [00:00<00:00, 4122.52it/s]
All-or-Nothing - Traffic Class: car : 68%|██████▊ | 34/50 [00:00<00:00, 4057.89it/s]
All-or-Nothing - Traffic Class: car : 68%|██████▊ | 34/50 [00:00<00:00, 3997.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: 34/50 - RGap: 0.00275103: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 70%|███████ | 35/50 [00:00<00:00, 4541.40it/s]
All-or-Nothing - Traffic Class: car : 70%|███████ | 35/50 [00:00<00:00, 4464.33it/s]
All-or-Nothing - Traffic Class: car : 70%|███████ | 35/50 [00:00<00:00, 4393.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: 35/50 - RGap: 0.00212563: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 72%|███████▏ | 36/50 [00:00<00:00, 6584.75it/s]
All-or-Nothing - Traffic Class: car : 72%|███████▏ | 36/50 [00:00<00:00, 6429.15it/s]
All-or-Nothing - Traffic Class: car : 72%|███████▏ | 36/50 [00:00<00:00, 6288.05it/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, 6991.45it/s]
All-or-Nothing - Traffic Class: car : 74%|███████▍ | 37/50 [00:00<00:00, 6824.21it/s]
All-or-Nothing - Traffic Class: car : 74%|███████▍ | 37/50 [00:00<00:00, 6671.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: 37/50 - RGap: 0.00144078: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 76%|███████▌ | 38/50 [00:00<00:00, 4721.08it/s]
All-or-Nothing - Traffic Class: car : 76%|███████▌ | 38/50 [00:00<00:00, 4644.31it/s]
All-or-Nothing - Traffic Class: car : 76%|███████▌ | 38/50 [00:00<00:00, 4573.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: 38/50 - RGap: 0.00141804: 0%| | 0/50 [00:00<?, ?it/s]
Equilibrium Assignment : 78%|███████▊ | 39/50 [00:00<00:00, 5081.16it/s]
All-or-Nothing - Traffic Class: car : 78%|███████▊ | 39/50 [00:00<00:00, 4994.74it/s]
All-or-Nothing - Traffic Class: car : 78%|███████▊ | 39/50 [00:00<00:00, 4915.50it/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-08 03:03:23,100;WARNING ; Field(s) name, lanes has(ve) at least one NaN value. Check your computations
2 - 2024-11-08 03:03:23,128;WARNING ; Field(s) name, lanes has(ve) at least one NaN value. Check your computations
3 - 2024-11-08 03:03:23,155;WARNING ; Field(s) name, lanes has(ve) at least one NaN value. Check your computations
4 - 2024-11-08 03:03:23,182;WARNING ; Field(s) name, lanes has(ve) at least one NaN value. Check your computations
5 - 2024-11-08 03:03:23,208;WARNING ; Field(s) name, lanes has(ve) at least one NaN value. Check your computations
6 - 2024-11-08 03:03:23,235;WARNING ; Field(s) name, lanes has(ve) at least one NaN value. Check your computations
7 - 2024-11-08 03:03:23,253;WARNING ; Cost field with wrong type. Converting to float64
8 - 2024-11-08 03:03:23,497;INFO ; Traffic Class specification
9 - 2024-11-08 03:03:23,497;INFO ; {'car': {'Graph': "{'Mode': 'c', 'Block through centroids': False, 'Number of centroids': 24, 'Links': 76, 'Nodes': 24}", 'Matrix': "{'Source': '/tmp/11c289bec5df41eebf974b390e27581e/matrices/demand.omx', 'Number of centroids': 24, 'Matrix cores': ['matrix'], 'Matrix totals': {'matrix': 360600.0}}"}}
10 - 2024-11-08 03:03:23,497;INFO ; Traffic Assignment specification
11 - 2024-11-08 03:03:23,497;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-08 03:03:23,499;WARNING ; Cost field with wrong type. Converting to float64
13 - 2024-11-08 03:03:23,499;INFO ; bfw Assignment STATS
14 - 2024-11-08 03:03:23,500;INFO ; Iteration, RelativeGap, stepsize
15 - 2024-11-08 03:03:23,505;INFO ; 1,inf,1.0
16 - 2024-11-08 03:03:23,510;INFO ; 2,0.8550751349428284,0.32839952448634563
17 - 2024-11-08 03:03:23,516;INFO ; 3,0.4763455007221067,0.18660240547488702
18 - 2024-11-08 03:03:23,522;INFO ; 4,0.2355126365951965,0.2411477440291793
19 - 2024-11-08 03:03:23,528;INFO ; 5,0.10924072010481088,0.8185470737942447
20 - 2024-11-08 03:03:23,538;INFO ; 6,0.1980945227617506,0.14054330572978305
21 - 2024-11-08 03:03:23,544;INFO ; 7,0.06681722215446889,0.3617115271889924
22 - 2024-11-08 03:03:23,549;INFO ; 8,0.06792122267870565,0.9634685345644071
23 - 2024-11-08 03:03:23,555;INFO ; 9,0.10705582933092868,0.13757153109677206
24 - 2024-11-08 03:03:23,561;INFO ; 10,0.040388144320346334,0.16094034254279743
25 - 2024-11-08 03:03:23,567;INFO ; 11,0.027952481137756675,0.34089282287004796
26 - 2024-11-08 03:03:23,574;INFO ; 12,0.03269999206552449,0.5467680533028565
27 - 2024-11-08 03:03:23,582;INFO ; 13,0.02404097017217723,0.13812236751252968
28 - 2024-11-08 03:03:23,587;INFO ; 14,0.021451030909508114,0.1970528150890549
29 - 2024-11-08 03:03:23,593;INFO ; 15,0.01711663825927446,0.3399381658336369
30 - 2024-11-08 03:03:23,601;INFO ; 16,0.017350824111296053,0.728761053238554
31 - 2024-11-08 03:03:23,607;INFO ; 17,0.021164705464371835,0.08183287977099485
32 - 2024-11-08 03:03:23,628;INFO ; 18,0.012464530324249014,0.15115985804759485
33 - 2024-11-08 03:03:23,634;INFO ; 19,0.01254978991985068,0.16834049481540372
34 - 2024-11-08 03:03:23,639;INFO ; 20,0.01186071978971475,0.5399903522726801
35 - 2024-11-08 03:03:23,645;INFO ; 21,0.01285916552105208,0.05496659199654686
36 - 2024-11-08 03:03:23,654;INFO ; 22,0.007671197552803572,0.06125561557359148
37 - 2024-11-08 03:03:23,661;INFO ; 23,0.005529178907230366,0.0740191112060676
38 - 2024-11-08 03:03:23,667;INFO ; 24,0.005466797330664672,0.19170977924358332
39 - 2024-11-08 03:03:23,674;INFO ; 25,0.007073668823306044,0.42287206962829976
40 - 2024-11-08 03:03:23,681;INFO ; 26,0.009664731222551216,0.9410177051613885
41 - 2024-11-08 03:03:23,687;INFO ; 27,0.008756083467129413,0.05172611061875235
42 - 2024-11-08 03:03:23,693;INFO ; 28,0.0051052212280534035,0.06397929882334132
43 - 2024-11-08 03:03:23,706;INFO ; 29,0.003531906247695379,0.05059090498821969
44 - 2024-11-08 03:03:23,714;INFO ; 30,0.003148292623362748,0.058437487817955235
45 - 2024-11-08 03:03:23,719;INFO ; 31,0.0030632090445957927,0.09173138967981095
46 - 2024-11-08 03:03:23,725;INFO ; 32,0.0026646507707730163,0.07094979246384821
47 - 2024-11-08 03:03:23,734;INFO ; 33,0.002302802037873952,0.124128641519613
48 - 2024-11-08 03:03:23,742;INFO ; 34,0.0027510302560619045,0.12799355702543527
49 - 2024-11-08 03:03:23,748;INFO ; 35,0.0021256347783023383,0.1662038793394846
50 - 2024-11-08 03:03:23,753;INFO ; 36,0.00209949122320074,0.10282963642095377
51 - 2024-11-08 03:03:23,762;INFO ; 37,0.0014407763657251522,0.14492101336874746
52 - 2024-11-08 03:03:23,770;INFO ; 38,0.0014180447043982683,0.06529689866668212
53 - 2024-11-08 03:03:23,776;INFO ; 39,0.0009714813735971385,0.09399257335236041
54 - 2024-11-08 03:03:23,776;INFO ; bfw Assignment finished. 39 iterations and 0.0009714813735971385 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.781 seconds)