.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "_auto_examples/traffic_assignment/plot_forecasting.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr__auto_examples_traffic_assignment_plot_forecasting.py: .. _example_usage_forecasting: Forecasting =========== In this example, we present a full forecasting workflow for the Sioux Falls example model. We start creating the skim matrices, running the assignment for the base-year, and then distributing these trips into the network. Later, we estimate a set of future demand vectors which are going to be the input of a future year assignment with select link analysis. .. GENERATED FROM PYTHON SOURCE LINES 14-24 .. seealso:: Several functions, methods, classes and modules are used in this example: * :func:`aequilibrae.routing.graph` * :func:`aequilibrae.traffic.TrafficClass` * :func:`aequilibrae.traffic.TrafficAssignment` * :func:`aequilibrae.distribution.ipf` * :func:`aequilibrae.distribution.gravity_calibration` * :func:`aequilibrae.distribution.gravity_application` * :func:`aequilibrae.distribution.synthetic_gravity_model` .. GENERATED FROM PYTHON SOURCE LINES 26-38 .. code-block:: Python # Imports from uuid import uuid4 from os.path import join from tempfile import gettempdir import pandas as pd from aequilibrae.examples import create_example from aequilibrae.utils import basic_config from aequilibrae.traffic.vdf import bpr .. GENERATED FROM PYTHON SOURCE LINES 40-46 .. code-block:: Python # We create the example project inside our temp folder fldr = join(gettempdir(), uuid4().hex) project = create_example(fldr) .. GENERATED FROM PYTHON SOURCE LINES 47-52 .. code-block:: Python # We'll also apply a basic logging configuration. basic_config() .. rst-class:: sphx-glr-script-out .. code-block:: none .. GENERATED FROM PYTHON SOURCE LINES 53-57 Traffic assignment with skimming -------------------------------- In this step, we'll set the skims for the variable ``free_flow_time``, and execute the traffic assignment for the base-year. .. GENERATED FROM PYTHON SOURCE LINES 57-62 .. code-block:: Python from dataclasses import replace from aequilibrae.traffic import TrafficAssignment, TrafficClass .. GENERATED FROM PYTHON SOURCE LINES 63-66 .. code-block:: Python network = project.road.build_network() .. GENERATED FROM PYTHON SOURCE LINES 67-68 Let's get the demand matrix directly from its file, and inspect what matrices we have in the project. .. GENERATED FROM PYTHON SOURCE LINES 68-71 .. code-block:: Python proj_matrices = project.matrices proj_matrices.get_available_matrices_and_metadata() .. rst-class:: sphx-glr-script-out .. code-block:: none {'skims.omx': {'procedure': None, 'procedure_id': None, 'timestamp': None, 'description': 'Example skim'}, 'demand.omx': {'procedure': None, 'procedure_id': None, 'timestamp': '2020-11-24 08:47:18', 'description': 'Original data imported to OMX format'}, 'demand_mc.omx': {'procedure': None, 'procedure_id': None, 'timestamp': '2021-02-24 00:51:35', 'description': None}} .. GENERATED FROM PYTHON SOURCE LINES 72-73 Load the demand matrix core for computation. .. GENERATED FROM PYTHON SOURCE LINES 73-75 .. code-block:: Python demand = proj_matrices.get_matrix("demand.omx", subset=["matrix"]) .. GENERATED FROM PYTHON SOURCE LINES 76-77 Let's perform the traffic assignment .. GENERATED FROM PYTHON SOURCE LINES 77-102 .. code-block:: Python # Create the assignment class assigclass = TrafficClass( name="car", mode="c", cost="free_flow_time", demand=demand, skimming=["free_flow_time", "distance"], # Every node in Sioux Falls is a centroid, so paths must pass through centroids. graph_options={"block_centroid_flows": False}, ) # Configure the VDF, network fields, and assignment algorithm. assig = TrafficAssignment( network=network, project=project, classes=[assigclass], vdf=bpr, name_mapping={"alpha": "b", "beta": "power"}, capacity_field="capacity", time_field="free_flow_time", algorithm="bfw", ) assig.execute(max_iterations=1000, rgap=0.001) .. rst-class:: sphx-glr-script-out .. code-block:: none Equilibrium Assignment : 0%| | 0/1000 [00:00
matrix_ab matrix_ba matrix_tot Preload_AB Preload_BA Preload_tot Congested_Time_AB Congested_Time_BA Congested_Time_Max Delay_factor_AB Delay_factor_BA Delay_factor_Max VOC_AB VOC_BA VOC_max PCE_AB PCE_BA PCE_tot
link_id
1 4532.259225 0.0 4532.259225 0.0 0.0 0.0 6.000844 0.0 6.000844 1.000141 0.0 1.000141 0.174989 0.0 0.174989 4532.259225 0.0 4532.259225
2 8124.401779 0.0 8124.401779 0.0 0.0 0.0 4.008714 0.0 4.008714 1.002178 0.0 1.002178 0.347145 0.0 0.347145 8124.401779 0.0 8124.401779
3 4524.401779 0.0 4524.401779 0.0 0.0 0.0 6.000838 0.0 6.000838 1.000140 0.0 1.000140 0.174686 0.0 0.174686 4524.401779 0.0 4524.401779
4 5913.685237 0.0 5913.685237 0.0 0.0 0.0 6.517765 0.0 6.517765 1.303553 0.0 1.303553 1.192713 0.0 1.192713 5913.685237 0.0 5913.685237
5 8132.259225 0.0 8132.259225 0.0 0.0 0.0 4.008747 0.0 4.008747 1.002187 0.0 1.002187 0.347481 0.0 0.347481 8132.259225 0.0 8132.259225
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
72 9645.734151 0.0 9645.734151 0.0 0.0 0.0 12.310217 0.0 12.310217 3.077554 0.0 3.077554 1.929147 0.0 1.929147 9645.734151 0.0 9645.734151
73 7848.474395 0.0 7848.474395 0.0 0.0 0.0 3.711266 0.0 3.711266 1.855633 0.0 1.855633 1.545429 0.0 1.545429 7848.474395 0.0 7848.474395
74 11066.019693 0.0 11066.019693 0.0 0.0 0.0 17.391130 0.0 17.391130 4.347782 0.0 4.347782 2.173534 0.0 2.173534 11066.019693 0.0 11066.019693
75 10214.009370 0.0 10214.009370 0.0 0.0 0.0 11.598290 0.0 11.598290 3.866097 0.0 3.866097 2.090739 0.0 2.090739 10214.009370 0.0 10214.009370
76 7833.540663 0.0 7833.540663 0.0 0.0 0.0 3.698279 0.0 3.698279 1.849139 0.0 1.849139 1.542488 0.0 1.542488 7833.540663 0.0 7833.540663

76 rows × 18 columns



.. GENERATED FROM PYTHON SOURCE LINES 103-104 After finishing the assignment, we can easily see the convergence report. .. GENERATED FROM PYTHON SOURCE LINES 104-107 .. code-block:: Python convergence_report = assig.report() convergence_report.head() .. raw:: html
iteration time rgap alpha warnings beta0 beta1 beta2 conjugacy_prev conjugacy_prev2 hessian_drift bfw_clamped
0 1 0.001533 inf 1.000000 1.000000 0.000000 0.0 NaN NaN NaN NaN
1 2 0.002661 0.897805 0.328400 1.000000 0.000000 0.0 NaN NaN NaN NaN
2 3 0.004015 0.527933 0.186602 1.000000 0.000000 0.0 NaN NaN NaN NaN
3 4 0.005653 0.288744 0.241148 1.000000 0.000000 0.0 9.131125e-03 0.150500 0.076780 True
4 5 0.007339 0.196074 0.818547 0.607382 0.392618 0.0 -2.891974e-18 0.021602 -0.069162 True


.. GENERATED FROM PYTHON SOURCE LINES 108-109 And we can also see the results of the assignment .. GENERATED FROM PYTHON SOURCE LINES 109-112 .. code-block:: Python results = assig.results() results.head() .. raw:: html
matrix_ab matrix_ba matrix_tot Preload_AB Preload_BA Preload_tot Congested_Time_AB Congested_Time_BA Congested_Time_Max Delay_factor_AB Delay_factor_BA Delay_factor_Max VOC_AB VOC_BA VOC_max PCE_AB PCE_BA PCE_tot
link_id
1 4532.259225 0.0 4532.259225 0.0 0.0 0.0 6.000844 0.0 6.000844 1.000141 0.0 1.000141 0.174989 0.0 0.174989 4532.259225 0.0 4532.259225
2 8124.401779 0.0 8124.401779 0.0 0.0 0.0 4.008714 0.0 4.008714 1.002178 0.0 1.002178 0.347145 0.0 0.347145 8124.401779 0.0 8124.401779
3 4524.401779 0.0 4524.401779 0.0 0.0 0.0 6.000838 0.0 6.000838 1.000140 0.0 1.000140 0.174686 0.0 0.174686 4524.401779 0.0 4524.401779
4 5913.685237 0.0 5913.685237 0.0 0.0 0.0 6.517765 0.0 6.517765 1.303553 0.0 1.303553 1.192713 0.0 1.192713 5913.685237 0.0 5913.685237
5 8132.259225 0.0 8132.259225 0.0 0.0 0.0 4.008747 0.0 4.008747 1.002187 0.0 1.002187 0.347481 0.0 0.347481 8132.259225 0.0 8132.259225


.. GENERATED FROM PYTHON SOURCE LINES 113-114 We can export our results to CSV or get a Pandas DataFrame, but let's put it directly into the results database .. GENERATED FROM PYTHON SOURCE LINES 114-116 .. code-block:: Python assig.save_results("base_year_assignment") .. rst-class:: sphx-glr-script-out .. code-block:: none ResultRecord(scenario=None, year=None, table_name='base_year_assignment', reference_table='links', procedure='traffic assignment', procedure_id='4896102c5bc2414eaa64bb172ac73db9', procedure_report='"{\\"convergence\\": {\\"iteration\\": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51], \\"time\\": [0.001532866999923499, 0.0026606799999626674, 0.004014954000012949, 0.005652806999933091, 0.007339090999948894, 0.009021106000091095, 0.010198461000072712, 0.011416651999979877, 0.013240742000107275, 0.0149225469999692, 0.01613939499998196, 0.017364458999963972, 0.01913173299999471, 0.020750711000118827, 0.022518226000102004, 0.0237882129999889, 0.02504594700008056, 0.026650258000017857, 0.02823503200011146, 0.029861895000067307, 0.03155898799991519, 0.03280827699995825, 0.03404345900003136, 0.0356543820000752, 0.03749087599999257, 0.03905486100006783, 0.04042382300008285, 0.042132717999948, 0.043266071000061856, 0.04621751300010146, 0.04782757399993898, 0.049395586999935404, 0.05096190700010084, 0.05257989300002919, 0.05416868399993291, 0.055724865000001955, 0.05723815600003945, 0.058808993999946324, 0.06056931600005555, 0.06216042200003358, 0.06390118600006645, 0.06560475200012661, 0.06720808000000034, 0.06879489800007832, 0.07040746400002718, 0.07203808400004164, 0.07359829200004242, 0.07523963199992068, 0.07686192599999231, 0.07844817299996976, 0.07914759699997376], \\"rgap\\": [Infinity, 0.89780457879145, 0.5279325275367827, 0.28874383368012313, 0.19607377855371996, 0.22325602275663892, 0.17157154728042692, 0.08442324131581802, 0.07826339212239238, 0.09301015583411931, 0.06921891008667841, 0.040234500847269324, 0.03296645686481366, 0.035081093446416724, 0.03200399984459911, 0.021040384142766117, 0.012925420204469549, 0.012294041013807001, 0.012316538874428259, 0.011735043381187355, 0.013592539642584927, 0.00994976386388666, 0.007300114596153, 0.006804251749703222, 0.005393460474102812, 0.005851357665095232, 0.007713407379077174, 0.006665546808826156, 0.004781690445278009, 0.004261520961977526, 0.0038126726071258076, 0.0039018385989099892, 0.0027691782467265474, 0.002922596383931646, 0.0025376020166008187, 0.0025870156274787927, 0.002256256926787925, 0.0019712280906955966, 0.0016944864716724052, 0.001855434633644199, 0.002068813194238471, 0.0019774079905162064, 0.0015921406213157043, 0.0012555453136291039, 0.0011701957344778826, 0.0012990275462257785, 0.0016251801857951145, 0.0012404030429357153, 0.0011197535305810323, 0.001084921254077063, 0.0008283431216585221], \\"alpha\\": [1.0, 0.32839952448634563, 0.18660240547488702, 0.24114774402917927, 0.8185470737942451, 1.0, 0.16910548905080566, 0.2373694741062248, 0.5860366441988628, 1.0, 0.11507399176716364, 0.15591705624574248, 0.2778261672706741, 0.6208345025526621, 1.0, 0.11598592580715987, 0.1073638625831236, 0.1558846600948632, 0.33733828320278225, 0.5959894379150801, 1.0, 0.07079581621265686, 0.07166629092302472, 0.16836899188970833, 0.17808313987176075, 0.3501427558560422, 0.7043109868542726, 1.0, 0.04490489890507015, 0.07014221441138183, 0.09742344627690626, 0.06258400921325322, 0.06719595392325393, 0.12319408791407051, 0.12906133722764354, 0.08532578952857073, 0.1731558811922753, 0.15293940408908577, 0.12413536741025445, 0.21741995994704033, 0.1935494212591544, 0.44975105825027883, 0.17421327791691452, 0.13748393745882995, 0.10615777662183085, 0.2592836388961607, 0.22776458945281172, 0.22479302809702625, 0.16572384651685768, 0.20326482699172146, NaN], \\"warnings\\": [\\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"Invalid BFW mu coefficient; using the Frank-Wolfe direction.\\", \\"\\", \\"\\", \\"\\", \\"Invalid BFW mu coefficient; using the Frank-Wolfe direction.\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"Invalid BFW mu coefficient; using the Frank-Wolfe direction.\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"Invalid BFW mu coefficient; using the Frank-Wolfe direction.\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"Invalid BFW mu coefficient; using the Frank-Wolfe direction.\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\"], \\"beta0\\": [1.0, 1.0, 1.0, 1.0, 0.6073815058784465, 0.07423949064975859, 1.0, 0.8978530762747693, 0.5210859419543844, 0.1310033991660148, 1.0, 0.9742007731752091, 0.6352581871354512, 0.2722926744813646, 0.09981147064012809, 1.0, 0.6455493939118717, 0.5446197221699854, 0.37684414353412243, 0.16621614561922343, 0.04991453282323065, 1.0, 0.7074847674334792, 0.4072593278628423, 0.40744644365281185, 0.20433348406491295, 0.06663070239531205, 0.029625006738385674, 1.0, 0.5852667007449526, 0.4424370061333522, 0.3708511650436959, 0.4551343032566526, 0.2748343405904143, 0.22452183524522543, 0.20186352946257047, 0.16232137716499528, 0.1259922663383409, 0.1615674198680147, 0.15289844737629416, 0.12132552966917991, 0.06015011468395385, 0.06792101594525256, 0.10930383488126696, 0.10902569537616233, 0.07965537234423714, 0.06287953215867469, 0.07618194736558329, 0.04815025482449651, 0.048560120740651316, NaN], \\"beta1\\": [0.0, 0.0, 0.0, 0.0, 0.3926184941215534, 0.9219957845105672, 0.0, 0.10214692372523075, 0.4789140580456156, 0.8197346588839601, 0.0, 0.025799226824790834, 0.3647418128645487, 0.5721070219950798, 0.8181558381669438, 0.0, 0.35445060608812834, 0.4000965092918508, 0.4927909805267271, 0.6548989237156498, 0.7769507091170393, 0.0, 0.29251523256652084, 0.28549566818797606, 0.592553556347188, 0.5576934139435734, 0.6817201921586137, 0.8163820339273872, 0.0, 0.4147332992550475, 0.460177344064391, 0.5738578607038743, 0.37492390353725413, 0.4607323288241859, 0.509807610503288, 0.6619456170545638, 0.34772563023431324, 0.7353255450795453, 0.8384325801319853, 0.7604848469753155, 0.8786744703308201, 0.5133108057202137, 0.6564197384787078, 0.4267799495993852, 0.6184552488281203, 0.5705998302076256, 0.8286395700832462, 0.49426833985049434, 0.6279091242565378, 0.6527313799882105, NaN], \\"beta2\\": [0.0, 0.0, 0.0, 0.0, 0.0, 0.003764724839674331, 0.0, 0.0, 0.0, 0.04926194195002498, 0.0, 0.0, 0.0, 0.15560030352355556, 0.08203269119292825, 0.0, 0.0, 0.05528376853816371, 0.1303648759391504, 0.1788849306651267, 0.1731347580597302, 0.0, 0.0, 0.30724500394918164, 0.0, 0.23797310199151364, 0.2516491054460742, 0.15399295933422713, 0.0, 0.0, 0.09738564980225695, 0.055290974252429695, 0.16994179320609326, 0.2644333305853997, 0.26567055425148656, 0.13619085348286575, 0.48995299260069153, 0.13868218858211373, 0.0, 0.08661670564839039, 0.0, 0.42653907959583237, 0.27565924557603955, 0.46391621551934775, 0.27251905579571745, 0.34974479744813725, 0.10848089775807905, 0.42954971278392234, 0.3239406209189658, 0.2987084992711381, NaN], \\"conjugacy_prev\\": [NaN, NaN, NaN, 0.009131125464184143, -2.8919736861073706e-18, -0.012511873440793726, NaN, NaN, 9.752112149740471e-17, -0.01421060232796462, NaN, NaN, -5.180557641603795e-17, -0.03721667928957669, -0.04232333304460143, NaN, NaN, -9.054458857724459e-05, -0.00599182744972153, 0.006162339055411461, -0.007986557804704938, NaN, NaN, 0.004880909102529844, 1.5231514511258254e-16, 0.00467255658374935, -0.007193655299715711, -0.004901760723609507, NaN, NaN, 0.0007232929946526874, 7.544979653403968e-05, -6.704952251526902e-05, -0.0013564303708551416, -0.00012783640107913652, 0.0007741767294959595, 0.001178485086821133, 0.0003441741181014419, -4.5556893021176925e-17, -0.00010649996786908598, -1.816473036328716e-16, -0.0020837002783275784, -0.0002144675944955004, -0.0004330480114696872, -8.092878046182701e-05, -0.00020829470406362387, -0.00046207405415329126, -0.0014479060710527714, -9.254720616895141e-05, -0.00035889450234194545, NaN], \\"conjugacy_prev2\\": [NaN, NaN, NaN, 0.15050043269340133, 0.021601664936027155, -0.2642675529346801, NaN, NaN, 0.28017408784291503, -0.05927016099392479, NaN, NaN, 0.2803824954703134, -0.08575523367277281, -0.1096874048538775, NaN, NaN, -0.0005017604791585371, -0.020422748016858314, 0.012649178133339902, -0.013055424727827317, NaN, NaN, 0.006768499271202243, 0.12252034341003173, 0.013370079227946679, -0.011095890630428802, -0.006554309703401488, NaN, NaN, 0.002301386623972259, 0.0005818622776930699, -0.0002586772162807555, -0.0033470987061794614, -0.00020690333696106846, 0.003715793060792712, 0.0025013983969461003, 0.0011484359452320892, 0.04631206018352924, -0.001260021423547524, 0.03392168236437078, -0.004718828010445438, -0.0002238746805746971, -0.0019105744808382787, -0.0003513939430952122, -0.0006232238578322755, -0.001906964014079279, -0.003441148244840033, -0.0002631320716060108, -0.0010830181436810766, NaN], \\"hessian_drift\\": [NaN, NaN, NaN, 0.07677956339453926, -0.06916185755930719, -0.289376248048675, NaN, NaN, -0.02816755779577692, -0.03801781620375066, NaN, NaN, -0.09102804077988096, -0.07210923042491592, -0.0804766525163474, NaN, NaN, -0.0009016798345824896, -0.021791667020364055, 0.011136820823544244, -0.010569437978811937, NaN, NaN, 0.005878800227037329, 0.007459167322626112, 0.010803265852573003, -0.008479651188456349, -0.008888264229722404, NaN, NaN, 0.0031040050432984195, 0.001185455735074406, -0.00045607283930179676, -0.0029182540810906614, -0.0002497897074662279, 0.006245668916215601, 0.0019077997364233428, 0.0013943363656468942, 0.004679392374055461, -0.0013019729187760843, 0.003151011683804278, -0.00281699871434828, -0.0006718164508872158, -0.003303396410221019, -0.0005017025925719387, -0.0004350362038069228, -0.0028935715748487773, -0.0046576551129433865, -0.00031388510170638476, -0.0012176889884835357, NaN], \\"bfw_clamped\\": [NaN, NaN, NaN, true, true, false, NaN, NaN, true, false, NaN, NaN, true, false, false, NaN, NaN, false, false, false, false, NaN, NaN, false, true, false, false, false, NaN, NaN, false, false, false, false, false, false, false, false, true, false, true, false, false, false, false, false, false, false, false, false, NaN]}, \\"setup\\": {\\"Algorithm\\": \\"bfw\\", \\"Classes\\": {\\"car\\": {\\"network mode\\": \\"c\\", \\"cost\\": \\"free_flow_time\\", \\"PCE\\": 1.0, \\"Value-of-time\\": 1.0, \\"Fixed cost field\\": null, \\"Fixed cost multiplier\\": 1.0, \\"matrix_totals\\": {\\"matrix\\": 360600.0}}}, \\"Computer name\\": \\"runnervm0hi8g\\", \\"Maximum iterations\\": 1000, \\"Procedure ID\\": \\"4896102c5bc2414eaa64bb172ac73db9\\", \\"Target RGap\\": 0.001}}"', timestamp='2026-11-19 08:27:41.174594', description='') .. GENERATED FROM PYTHON SOURCE LINES 117-118 And save the skims .. GENERATED FROM PYTHON SOURCE LINES 118-120 .. code-block:: Python assig.save_skims("base_year_assignment_skims", which_ones="all", format="omx") .. rst-class:: sphx-glr-script-out .. code-block:: none ['base_year_assignment_skims_car.omx'] .. GENERATED FROM PYTHON SOURCE LINES 121-124 Trip distribution ----------------- First, let's have a function to plot the Trip Length Frequency Distribution. .. GENERATED FROM PYTHON SOURCE LINES 124-127 .. code-block:: Python from math import log10, floor import matplotlib.pyplot as plt .. GENERATED FROM PYTHON SOURCE LINES 128-145 .. code-block:: Python def plot_tlfd(demand, skim, name): plt.clf() b = floor(log10(skim.shape[0]) * 10) n, bins, patches = plt.hist( np.nan_to_num(skim.flatten(), 0), bins=b, weights=np.nan_to_num(demand.flatten()), density=False, facecolor="g", alpha=0.75, ) plt.xlabel("Trip length") plt.ylabel("Probability") plt.title(f"Trip-length frequency distribution for {name}") return plt .. GENERATED FROM PYTHON SOURCE LINES 146-149 Calibration ~~~~~~~~~~~ We will calibrate synthetic gravity models using the skims for ``free_flow_time`` that we just generated .. GENERATED FROM PYTHON SOURCE LINES 149-153 .. code-block:: Python import numpy as np from aequilibrae.distribution import GravityCalibration .. GENERATED FROM PYTHON SOURCE LINES 154-155 Load the demand matrix core for computation. .. GENERATED FROM PYTHON SOURCE LINES 155-157 .. code-block:: Python demand = proj_matrices.get_matrix("demand.omx", subset=["matrix"]) .. GENERATED FROM PYTHON SOURCE LINES 158-159 We also need the skims we just saved into our project. We select the congested-time core. .. GENERATED FROM PYTHON SOURCE LINES 159-180 .. code-block:: Python imped_core = "free_flow_time_final" imped = proj_matrices.get_matrix("base_year_assignment_skims_car.omx", subset=[imped_core]) # Where ``free_flow_time_final`` is the congested time for the last iteration. # Use 75% of the closest zone for intrazonal impedance. impedance_values = imped[imped_core].copy() np.fill_diagonal(impedance_values, 0) intrazonals = np.amin( impedance_values, where=impedance_values > 0, initial=impedance_values.max(), axis=1 ) intrazonals *= 0.75 np.fill_diagonal(impedance_values, intrazonals) # Store the prepared core as a separate project matrix. del imped[imped_core] imped["final_time_with_intrazonals"] = impedance_values proj_matrices.save_matrix( "base_year_assignment_skims_car_intrazonals.omx", matrix=imped, ) .. GENERATED FROM PYTHON SOURCE LINES 181-182 Let's calibrate our Gravity Model .. GENERATED FROM PYTHON SOURCE LINES 182-200 .. code-block:: Python for function in ["power", "expo"]: gc = GravityCalibration(matrix=demand, impedance=imped, function=function, nan_as_zero=True) gc.calibrate() model = gc.model # We save the model model.save(join(fldr, f"{function}_model.mod")) result_core = next(iter(gc.result_matrix)) _ = plot_tlfd( gc.result_matrix[result_core], imped["final_time_with_intrazonals"], f"{function} model" ) # We can save the result of applying the model as well # We can also save the calibration report with open(join(fldr, f"{function}_convergence.log"), "w") as otp: for r in gc.report: otp.write(r + "\n") .. image-sg:: /_auto_examples/traffic_assignment/images/sphx_glr_plot_forecasting_001.png :alt: Trip-length frequency distribution for expo model :srcset: /_auto_examples/traffic_assignment/images/sphx_glr_plot_forecasting_001.png :class: sphx-glr-single-img .. GENERATED FROM PYTHON SOURCE LINES 201-202 And let's plot a trip length frequency distribution for the demand itself .. GENERATED FROM PYTHON SOURCE LINES 202-205 .. code-block:: Python plt = plot_tlfd(demand["matrix"], imped["final_time_with_intrazonals"], "demand") plt.show() .. image-sg:: /_auto_examples/traffic_assignment/images/sphx_glr_plot_forecasting_002.png :alt: Trip-length frequency distribution for demand :srcset: /_auto_examples/traffic_assignment/images/sphx_glr_plot_forecasting_002.png :class: sphx-glr-single-img .. GENERATED FROM PYTHON SOURCE LINES 206-211 Forecast -------- We create a set of 'future' vectors using some random growth factors. We apply the model for inverse power, as the trip frequency length distribution (TFLD) seems to be a better fit for the actual one. .. GENERATED FROM PYTHON SOURCE LINES 213-215 .. code-block:: Python from aequilibrae.distribution import Ipf, GravityApplication, SyntheticGravityModel .. GENERATED FROM PYTHON SOURCE LINES 216-220 Compute future vectors ~~~~~~~~~~~~~~~~~~~~~~ First thing to do is to compute the future vectors from our matrix. .. GENERATED FROM PYTHON SOURCE LINES 220-229 .. code-block:: Python origins = np.sum(demand["matrix"], axis=1) destinations = np.sum(demand["matrix"], axis=0) # Then grow them with some random growth between 0 and 10%, and balance them orig = origins * (1 + np.random.rand(origins.shape[0]) / 10) dest = destinations * (1 + np.random.rand(origins.shape[0]) / 10) dest *= orig.sum() / dest.sum() vectors = pd.DataFrame({"origins":orig, "destinations":dest}, index=demand.index[:]) .. GENERATED FROM PYTHON SOURCE LINES 230-234 IPF for the future vectors ~~~~~~~~~~~~~~~~~~~~~~~~~~ Let's balance the future vectors. The output of this step is going to be used later in the traffic assignment for future year. .. GENERATED FROM PYTHON SOURCE LINES 234-246 .. code-block:: Python args = { "matrix": demand, "vectors": vectors, "column_field": "destinations", "row_field": "origins", "nan_as_zero": True, } ipf = Ipf(project=project, **args) ipf.fit() .. GENERATED FROM PYTHON SOURCE LINES 247-248 Save the balanced matrix into the project's matrix folder .. GENERATED FROM PYTHON SOURCE LINES 248-250 .. code-block:: Python ipf.save_to_project(file_name="demand_ipfd.omx") .. GENERATED FROM PYTHON SOURCE LINES 251-255 Impedance ~~~~~~~~~ Let's get the base-year assignment skim for car we created before and prepare it for computation .. GENERATED FROM PYTHON SOURCE LINES 255-259 .. code-block:: Python imped = proj_matrices.get_matrix( "base_year_assignment_skims_car_intrazonals.omx", subset=["final_time_with_intrazonals"] ) .. GENERATED FROM PYTHON SOURCE LINES 260-261 If we wanted the main diagonal to not be considered... .. GENERATED FROM PYTHON SOURCE LINES 261-264 .. code-block:: Python # np.fill_diagonal(imped["final_time_with_intrazonals"], np.nan) .. GENERATED FROM PYTHON SOURCE LINES 265-266 Now we apply the Synthetic Gravity model .. GENERATED FROM PYTHON SOURCE LINES 266-285 .. code-block:: Python for function in ["power", "expo"]: model = SyntheticGravityModel() model.load(join(fldr, f"{function}_model.mod")) args = { "impedance": imped, "vectors": vectors, "row_field": "origins", "model": model, "column_field": "destinations", "nan_as_zero": True, } gravity = GravityApplication(project=project, **args) gravity.apply() # We get the output matrix and save it to OMX too, gravity.save_to_project(file_name=f"demand_{function}_modeled.omx") .. GENERATED FROM PYTHON SOURCE LINES 286-287 We inspect the matrix files and verify that the new matrices are indeed there .. GENERATED FROM PYTHON SOURCE LINES 287-289 .. code-block:: Python proj_matrices.get_available_matrices_and_metadata() .. rst-class:: sphx-glr-script-out .. code-block:: none {'demand_ipfd.omx': {'procedure': 'Iterative Proportional fitting', 'procedure_id': 'd6813761faa94244823f5631e179933b', 'timestamp': '2026-11-19 08:27:41.655550', 'description': 'Original data imported to OMX format'}, 'base_year_assignment_skims_car.omx': {'procedure': 'Traffic Assignment', 'procedure_id': '4896102c5bc2414eaa64bb172ac73db9', 'timestamp': '2026-11-19 08:27:41.174594', 'description': 'Skimming for assignment procedure. Class car'}, 'demand_expo_modeled.omx': {'procedure': 'Synthetic gravity trip distribution', 'procedure_id': '29734aa1897541a3bf04421bb32a0c3f', 'timestamp': '2026-11-19 08:27:41.674895', 'description': 'Synthetic gravity trip distribution. EXPO'}, 'base_year_assignment_skims_car_intrazonals.omx': {'procedure': 'Traffic Assignment', 'procedure_id': '4896102c5bc2414eaa64bb172ac73db9', 'timestamp': '2026-11-19 08:27:41.174594', 'description': 'Skimming for assignment procedure. Class car'}, 'demand_power_modeled.omx': {'procedure': 'Synthetic gravity trip distribution', 'procedure_id': 'a47dafbb1365431fa7e1497ed46445d3', 'timestamp': '2026-11-19 08:27:41.667655', 'description': 'Synthetic gravity trip distribution. POWER'}, 'skims.omx': {'procedure': None, 'procedure_id': None, 'timestamp': None, 'description': 'Example skim'}, 'demand.omx': {'procedure': None, 'procedure_id': None, 'timestamp': '2020-11-24 08:47:18', 'description': 'Original data imported to OMX format'}, 'demand_mc.omx': {'procedure': None, 'procedure_id': None, 'timestamp': '2021-02-24 00:51:35', 'description': None}} .. GENERATED FROM PYTHON SOURCE LINES 290-295 Traffic assignment with Select Link Analysis -------------------------------------------- We'll perform traffic assignment for the future year. Let's get our future demand matrix, which corresponds to the IPF result we just saved, and see what is the core we ended up getting. It should be ``matrix``. .. GENERATED FROM PYTHON SOURCE LINES 295-298 .. code-block:: Python demand = proj_matrices.get_matrix("demand_ipfd.omx", subset=["matrix"]) list(demand) .. rst-class:: sphx-glr-script-out .. code-block:: none ['matrix'] .. GENERATED FROM PYTHON SOURCE LINES 299-300 The selected matrix core is ready for computation. .. GENERATED FROM PYTHON SOURCE LINES 302-303 The future year assignment is quite similar to the one we did for the base-year. .. GENERATED FROM PYTHON SOURCE LINES 303-315 .. code-block:: Python # So, let's create the assignment class assigclass = TrafficClass( name="car", mode="c", cost="free_flow_time", demand=demand, skimming=["free_flow_time", "distance"], # Every node in Sioux Falls is a centroid, so paths must pass through centroids. graph_options={"block_centroid_flows": False}, ) .. GENERATED FROM PYTHON SOURCE LINES 316-317 Now we select two sets of links to execute select link analysis. .. GENERATED FROM PYTHON SOURCE LINES 317-322 .. code-block:: Python select_links = { "Leaving node 1": [(1, 1), (2, 1)], "Random nodes": [(3, 1), (5, 1)], } .. GENERATED FROM PYTHON SOURCE LINES 323-335 .. note:: As we are executing the select link analysis on a particular ``TrafficClass``, we should set the links we want to analyze. The input is a dictionary with string as keys and a list of tuples as values, so that each entry represents a separate set of selected links to compute. ``select_link_dict = {"set_name": [(link_id1, direction1), ..., (link_id, direction)]}`` The string name will name the set of links, and the list of tuples is the list of selected links in the form ``(link_id, direction)``, as it occurs in the :ref:`Graph `. Direction can be one of 0, 1, or -1, where 0 denotes bi-directionality. .. GENERATED FROM PYTHON SOURCE LINES 337-354 .. code-block:: Python # We call this command on the class we are analyzing with our dictionary of values assigclass = replace(assigclass, select_link_sets=select_links) # Configure the VDF, network fields, and assignment algorithm. assig = TrafficAssignment( network=network, project=project, classes=[assigclass], vdf=bpr, name_mapping={"alpha": "b", "beta": "power"}, time_field="free_flow_time", capacity_field="capacity", algorithm="bfw", ) assig.execute(max_iterations=500, rgap=0.00001) .. rst-class:: sphx-glr-script-out .. code-block:: none :16: UserWarning: Input string name has a space in it. Replacing with _ Equilibrium Assignment : 0%| | 0/500 [00:00
matrix_ab matrix_ba matrix_tot Preload_AB Preload_BA Preload_tot Congested_Time_AB Congested_Time_BA Congested_Time_Max Delay_factor_AB Delay_factor_BA Delay_factor_Max VOC_AB VOC_BA VOC_max PCE_AB PCE_BA PCE_tot
link_id
1 4941.969294 0.0 4941.969294 0.0 0.0 0.0 6.001193 0.0 6.001193 1.000199 0.0 1.000199 0.190808 0.0 0.190808 4941.969294 0.0 4941.969294
2 9055.074438 0.0 9055.074438 0.0 0.0 0.0 4.013446 0.0 4.013446 1.003362 0.0 1.003362 0.386912 0.0 0.386912 9055.074438 0.0 9055.074438
3 5253.553436 0.0 5253.553436 0.0 0.0 0.0 6.001524 0.0 6.001524 1.000254 0.0 1.000254 0.202838 0.0 0.202838 5253.553436 0.0 5253.553436
4 6093.530901 0.0 6093.530901 0.0 0.0 0.0 6.710992 0.0 6.710992 1.342198 0.0 1.342198 1.228985 0.0 1.228985 6093.530901 0.0 6093.530901
5 8457.069100 0.0 8457.069100 0.0 0.0 0.0 4.010231 0.0 4.010231 1.002558 0.0 1.002558 0.361360 0.0 0.361360 8457.069100 0.0 8457.069100
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
72 10036.760329 0.0 10036.760329 0.0 0.0 0.0 13.741940 0.0 13.741940 3.435485 0.0 3.435485 2.007352 0.0 2.007352 10036.760329 0.0 10036.760329
73 8151.911294 0.0 8151.911294 0.0 0.0 0.0 3.991656 0.0 3.991656 1.995828 0.0 1.995828 1.605178 0.0 1.605178 8151.911294 0.0 8151.911294
74 11443.773339 0.0 11443.773339 0.0 0.0 0.0 19.315404 0.0 19.315404 4.828851 0.0 4.828851 2.247731 0.0 2.247731 11443.773339 0.0 11443.773339
75 10707.345807 0.0 10707.345807 0.0 0.0 0.0 13.383754 0.0 13.383754 4.461251 0.0 4.461251 2.191722 0.0 2.191722 10707.345807 0.0 10707.345807
76 8108.690463 0.0 8108.690463 0.0 0.0 0.0 3.949752 0.0 3.949752 1.974876 0.0 1.974876 1.596668 0.0 1.596668 8108.690463 0.0 8108.690463

76 rows × 18 columns



.. GENERATED FROM PYTHON SOURCE LINES 355-357 To save our select link results, all we need to do is provide it with a name. In addition to exporting the select link flows, it also exports the Select Link matrices in OMX format. .. GENERATED FROM PYTHON SOURCE LINES 357-359 .. code-block:: Python assig.save_select_link_results("select_link_analysis") .. GENERATED FROM PYTHON SOURCE LINES 360-367 .. note:: Say we just want to save our select link flows, we can call: ``assig.save_select_link_flows("just_flows")`` Or if we just want the select link matrices: ``assig.save_select_link_matrices("just_matrices")`` Internally, the ``save_select_link_results`` calls both of these methods at once. .. GENERATED FROM PYTHON SOURCE LINES 369-370 We can export the results to CSV or AequilibraE Data, but let's put it directly into the results database .. GENERATED FROM PYTHON SOURCE LINES 370-372 .. code-block:: Python assig.save_results("future_year_assignment") .. rst-class:: sphx-glr-script-out .. code-block:: none ResultRecord(scenario=None, year=None, table_name='future_year_assignment', reference_table='links', procedure='traffic assignment', procedure_id='3cb1312b96774d329c7c27249330fe4e', procedure_report='"{\\"convergence\\": {\\"iteration\\": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233], \\"time\\": [0.0032377549998727773, 0.005482628999970984, 0.00833788199997798, 0.012068114999919999, 0.015779023000050074, 0.019163771999956225, 0.021453651000001628, 0.02423217000000477, 0.02750121400003991, 0.03079562499988242, 0.033066928999915035, 0.035620378999965396, 0.03918195799997193, 0.042551428000024316, 0.046087739999848054, 0.04836748999991869, 0.05086388299991995, 0.054441582999970706, 0.05782520000002478, 0.061157340999898224, 0.06478405200005, 0.06813308499999948, 0.07039796599997317, 0.07293816199990033, 0.07635140399997908, 0.07978791999994428, 0.08322425599999406, 0.08671811799990792, 0.09016532400005417, 0.09355813899992427, 0.09697120099986023, 0.10035873499987247, 0.10396536799999012, 0.10640564699997412, 0.10894056200004343, 0.1123372140000356, 0.11572468800000024, 0.11909585299986247, 0.1225276400000439, 0.12597296199987795, 0.1294108199999755, 0.13277643399987937, 0.13613977399995747, 0.13984998000000814, 0.1432460399998945, 0.14664093900000807, 0.15000243500003307, 0.15342330099997525, 0.15686178099986137, 0.16045368699997198, 0.16391712299991923, 0.16733050499988167, 0.17089491000001544, 0.17313855199995487, 0.1755316829999174, 0.1775206709999111, 0.17956499100000656, 0.18146629600005326, 0.18338673499988545, 0.18544152599997688, 0.18746940599999107, 0.18937542899993787, 0.1912967700000081, 0.1931584510000448, 0.19514079600003242, 0.19713119599987294, 0.19908775299995796, 0.20105008099994848, 0.20310495099988657, 0.20499864099997467, 0.20698621699989417, 0.2089577009999175, 0.21086136999997507, 0.21276884600001722, 0.21466086299983544, 0.21656700599987744, 0.21846946200003003, 0.22033758499992473, 0.2222421049998502, 0.22410847399987688, 0.22600883599989174, 0.2279268409999986, 0.22994056499987892, 0.23185516399985318, 0.2337444059999143, 0.23561372999984087, 0.23749126999996406, 0.23937117399987073, 0.24124413599997752, 0.24329382599989913, 0.24513488799993866, 0.24705128100004003, 0.24910659199986185, 0.25099454099995455, 0.2528376870000102, 0.25471331299991107, 0.2565925259998494, 0.2586373479998656, 0.2605047189999823, 0.26241413799994007, 0.2644555729998501, 0.266329216000031, 0.26817504699988604, 0.2700365870000496, 0.2719056409998757, 0.2737719100000504, 0.275647675999835, 0.27750795399992967, 0.2793914449998738, 0.2812856059999831, 0.28313007399992784, 0.2849664569998822, 0.2868315040000198, 0.28871114799994757, 0.29059913699984463, 0.29245532699997057, 0.29433900899994114, 0.2962226299998747, 0.2982339889999821, 0.30016148200002135, 0.3020233729998836, 0.30388291899998876, 0.30613991599989276, 0.30841458600002625, 0.3105608270000175, 0.3125254289998338, 0.31445192000001043, 0.31635710199998357, 0.3185702969999511, 0.3208156629998484, 0.32271231799995803, 0.3246234910000112, 0.3264894189999268, 0.3284256079998613, 0.33033011799989254, 0.33231102099989585, 0.33415111099998285, 0.33600146000003406, 0.3378787189999457, 0.3397389269998712, 0.34164968899995074, 0.3435154369999509, 0.34555276399987633, 0.34752731499997935, 0.3494551589999446, 0.3513433289999739, 0.3531846209998548, 0.35505935599985605, 0.35691585599988684, 0.35881114899984823, 0.360670865999964, 0.36254698299990196, 0.3644339999998465, 0.3663147160000335, 0.3681423329999234, 0.3700359629999639, 0.37189525899998443, 0.37391089599987026, 0.3757844279998608, 0.37768215599999166, 0.37955100999988645, 0.3814140019999286, 0.38325929200004794, 0.3851149509998777, 0.38697451699999874, 0.3888320900000508, 0.3906795139998849, 0.3925540479999654, 0.3944143459998486, 0.3962630819999049, 0.39808891500001664, 0.39991531999999097, 0.40178657799992834, 0.40362397299986696, 0.40550410799983183, 0.40740196599995215, 0.4093314829999599, 0.41114844999992783, 0.41300779499988494, 0.4148787330000232, 0.4167278800000531, 0.41860733299995445, 0.4204572520000056, 0.4223122289999992, 0.4241523399998641, 0.4260372129999723, 0.42791391099990506, 0.4298019010000189, 0.4316447359999529, 0.4335543449999477, 0.4353903280000395, 0.43723189100001036, 0.4391226650000135, 0.44107804999998734, 0.4429499099999248, 0.4448013909998281, 0.4467538199999126, 0.4488486449999982, 0.45078509499990105, 0.45273657300003833, 0.4549056659998314, 0.45693041000004087, 0.45893835299989405, 0.46086835100004464, 0.4628168829999595, 0.46481245299992224, 0.4669209529999989, 0.4688052259998585, 0.47073743700002524, 0.4726725250000072, 0.47456612499991024, 0.4765229519998684, 0.47846861899984106, 0.480524030999959, 0.4831368109998948, 0.485028186999898, 0.4869835409999723, 0.4889100929999586, 0.4908199029998741, 0.49270088899993425, 0.4946422779999011, 0.49661390300002495, 0.49854196699993736, 0.5006145810000362, 0.502540880999959, 0.5044097249999595, 0.506309396000006, 0.5081561389999933, 0.5101047910000034, 0.5119890839998789, 0.5141801779998332, 0.5160695199999736, 0.5168504349999239], \\"rgap\\": [Infinity, 0.9010549682534827, 0.5393458980193493, 0.30986949277648, 0.1978464722638658, 0.28560278544043816, 0.2275720757957069, 0.09826906148694846, 0.06425854269770037, 0.08087015846488332, 0.05141661447349918, 0.03707288308752755, 0.022192589396111725, 0.022745513550024618, 0.025681070509049962, 0.021908330589283778, 0.010989533117970362, 0.009158279506292544, 0.010098117220461066, 0.008567228274047649, 0.008927549924889904, 0.007388479575355537, 0.0068204682435153655, 0.005590503735235927, 0.0056670035366521284, 0.005464771270552507, 0.004296060097013871, 0.003520846429846406, 0.004373984692698196, 0.00391241195073543, 0.0037897557218849968, 0.0029431201343562948, 0.0029989162699620995, 0.0027409634437161306, 0.002216130128807677, 0.001844098426511757, 0.0018159037560820399, 0.0017590182114812262, 0.001491476881118661, 0.0010260172669736244, 0.0008101673945749359, 0.0010612652216146024, 0.0011101429583816244, 0.001098562270856992, 0.0010285042230243052, 0.0009862122051113099, 0.0011629962765176605, 0.001140832298839628, 0.0011167556419310353, 0.0011167351293432598, 0.0013342507679894235, 0.0011962262321441046, 0.001325635402573323, 0.001308705572018306, 0.001006257148409565, 0.0010289450287820348, 0.0011835314925546113, 0.0009812132526037568, 0.0006463476808041455, 0.0005194612808231094, 0.0003843155910342429, 0.00046582691366796466, 0.00039015753279690677, 0.0004940429675362102, 0.0004798474885932645, 0.00032257853341829935, 0.00028964286552054814, 0.00025710600661557663, 0.0001952979331030723, 0.00021335935383944336, 0.00021408012636566553, 0.00018966306723653092, 0.00023364732593960668, 0.00022416427017867918, 0.0001866972965109729, 0.00021113578766542026, 0.00018425872383126662, 0.00018047129221183058, 0.0001702687068357495, 0.0001484698115500718, 0.00015677142030182518, 0.00019061473433395356, 0.00021014484070535586, 0.00016725118449457474, 0.00018059600891632643, 0.00019039006424905722, 0.0001801755838886939, 0.0002519370675026608, 0.0002555708467916114, 0.0002477404508132346, 0.00018037862021651522, 0.0001922061177790933, 0.00018117710410201672, 0.00017562774836904296, 0.00014741161567600187, 0.00014778857160996668, 0.00017530973901496916, 0.00013659687148931765, 0.0001659004769151652, 0.00015963398317920405, 0.00012261828889669873, 0.00011608010620900679, 9.665247520584967e-05, 9.325987512334294e-05, 0.00011568147361474491, 0.00012325377691484892, 0.0001748456454852659, 0.00017431889349173095, 0.0002123540701354721, 0.00016390762961241822, 0.00013243181052810835, 0.00011740630100028227, 0.00014283251981959884, 0.00012786358382146465, 0.0001546469232941604, 0.00015295083996931237, 0.00018869625432885227, 0.00013474536648417206, 0.00019302471993804535, 0.00016067915389447412, 0.00015782533400723024, 0.00010997428413596586, 0.00012246576490428573, 9.607773543553954e-05, 8.051608732941016e-05, 8.922198203014365e-05, 8.115459716137669e-05, 7.60045100527e-05, 6.807119108207511e-05, 8.214705076636878e-05, 7.666098244349685e-05, 8.619486766582762e-05, 7.305397703049795e-05, 7.216716071189972e-05, 6.525584325448757e-05, 8.666352044163871e-05, 8.605072904101875e-05, 8.420268416823807e-05, 7.879068323282777e-05, 7.688329687566612e-05, 0.00010039144820329376, 6.170623712178194e-05, 7.932718256825618e-05, 7.390398761175136e-05, 5.136553269930432e-05, 4.073177908102566e-05, 6.068134417599573e-05, 5.7706108670783316e-05, 6.828534253252418e-05, 5.546297894302341e-05, 7.761586357778323e-05, 8.782269290064596e-05, 0.00010575258493610484, 8.801757418958613e-05, 8.16927092653807e-05, 9.458684478767211e-05, 7.088068231533598e-05, 8.159880132687607e-05, 5.9379451649855104e-05, 7.398511963459615e-05, 6.500539096625841e-05, 6.571437026602706e-05, 8.497965775487013e-05, 7.574183488014739e-05, 7.650881655381212e-05, 9.082556897072152e-05, 7.73453106093742e-05, 8.019507132311752e-05, 7.828653407148184e-05, 6.200814376288652e-05, 7.666045898467649e-05, 8.197651522645337e-05, 7.751933311846737e-05, 7.452822064211228e-05, 7.081769142519409e-05, 0.00010667905459652576, 7.968884092976494e-05, 8.075609735673401e-05, 9.760157501479852e-05, 6.936339722879385e-05, 0.00010273447526893662, 8.581201822322367e-05, 0.00010558118645711147, 6.565207388443152e-05, 6.767993993742358e-05, 6.235670305039996e-05, 7.811523482925991e-05, 6.78085161257558e-05, 7.172610518826646e-05, 6.677110929507943e-05, 6.565060886363964e-05, 5.6631024332954204e-05, 5.9428939067056376e-05, 6.113949614700412e-05, 5.73687553041126e-05, 5.1337636811074555e-05, 3.322109091593533e-05, 3.867224061343819e-05, 3.824818964125595e-05, 3.837334323705507e-05, 6.037134195342388e-05, 5.949367491013816e-05, 5.168341804875543e-05, 5.542511190585003e-05, 7.092218918305751e-05, 7.34733113989609e-05, 8.208437344544755e-05, 5.7565891172378367e-05, 7.944623584138296e-05, 7.323237880230724e-05, 6.767962661930992e-05, 6.533489208639116e-05, 7.746944570972401e-05, 7.107559294346814e-05, 8.611559170165798e-05, 6.20665167284177e-05, 6.312250327882082e-05, 6.131331967423581e-05, 5.872011718221909e-05, 6.093932184381636e-05, 4.532922266055868e-05, 4.813374633338351e-05, 4.448258697027053e-05, 3.308647399416185e-05, 2.632075906061665e-05, 3.381411220773381e-05, 3.869592043477536e-05, 2.3725573113943704e-05, 2.8970242687465202e-05, 1.9013344888298617e-05, 1.5172703448743838e-05, 1.1771951657262775e-05, 8.519854041103297e-06], \\"alpha\\": [1.0, 0.31841365596167304, 0.1660896300286247, 0.18172115324411456, 0.7672862267244245, 1.0, 0.13468501008224087, 0.19418741580705856, 0.32944035276107114, 1.0, 0.14317043122920392, 0.11778738114058708, 0.18809771128905942, 0.33220447334086256, 1.0, 0.08199466628062842, 0.07573516472944669, 0.11296185533276253, 0.25868388444156803, 0.45042786613818664, 0.3907802239830918, 1.0, 0.03408834092654411, 0.08784607252253265, 0.08360374369725437, 0.13901688029511014, 0.11444218582010603, 0.1533761875265342, 0.22790536626967955, 0.3607968360553014, 0.25207996981430064, 0.5642879587362081, 1.0, 0.025421676260058146, 0.023235355618417393, 0.034202319718205504, 0.03296653909247133, 0.04422472712416401, 0.04209170205056759, 0.03221924328697769, 0.03315067775073262, 0.07272478131705831, 0.11588172988540137, 0.1086958227990791, 0.09347082224759745, 0.12319958319830605, 0.0757727660338103, 0.14040941104101315, 0.2347716734793133, 0.45748199182296084, 0.562265831924503, 0.9624558460022757, 1.0, 0.006888774390886667, 0.01787892416153485, 0.024548025228470664, 0.044611326921153494, 0.02418437796161483, 0.01263534901257511, 0.005401305951478276, 0.005652203768218322, 0.011822354734461185, 0.014556486068317432, 0.012444908784354806, 0.012204527336272204, 0.004933179743145323, 0.009062233666148329, 0.010996420940096053, 0.005206482746312136, 0.008495658342537871, 0.007039956177707983, 0.01290646440342568, 0.008543398241954273, 0.00861914230413105, 0.0114653425323375, 0.019158993793816307, 0.005576887421762652, 0.013939485227790444, 0.010308942362446357, 0.011502530182698423, 0.02051226185018548, 0.018611778829518005, 0.028573703957869064, 0.03893969495396685, 0.03420554106514966, 0.015179722102545614, 0.023144835122675126, 0.024541999827094575, 0.02878040872275077, 0.024555947891636284, 0.013463842266957494, 0.02724713796874089, 0.027520274283594028, 0.02101873163740415, 0.012517221838218155, 0.03213312342252337, 0.02719353853622623, 0.010755747993162083, 0.017916846470057764, 0.022213564622434137, 0.012328902632234354, 0.014093636070638002, 0.005080847242770633, 0.0060431533462251205, 0.014874808476875761, 0.03169235741141427, 0.026003571570136465, 0.048817964604358284, 0.03012260773970412, 0.016032270960455036, 0.014145470573726962, 0.02012263858254903, 0.029651353887386003, 0.020124084503889306, 0.020996421477180907, 0.025390969429658843, 0.027103996264487694, 0.05362074331923998, 0.02682492487931827, 0.05388437614841076, 0.03430120861419696, 0.013803052197214378, 0.013103184469109458, 0.013566790557583175, 0.0053230966782138005, 0.012346913655737155, 0.009564417216433915, 0.004613244717578598, 0.009443388819711305, 0.007135795539516131, 0.00788413767896183, 0.005419356505882019, 0.004598538962930743, 0.005768570890021544, 0.0070497228285467, 0.006803923506903283, 0.010146759335099764, 0.0104700023328105, 0.009853560735818785, 0.014735548889359169, 0.011710141242871291, 0.01453728256970801, 0.014202903534554978, 0.013091362681253578, 0.005818744339904234, 0.010015483026528688, 0.010244335883620292, 0.01428868855600366, 0.010706641029948555, 0.009337052080234656, 0.025122923837616027, 0.02795241477279605, 0.03739046048943312, 0.018298576178357708, 0.028183074317827003, 0.025124078901691944, 0.014338840458095737, 0.016231758596535233, 0.011788317808783812, 0.015972227062093246, 0.01210933405584257, 0.01606047102569539, 0.041397356101386854, 0.0200961430705128, 0.02935718639723072, 0.028714910756818174, 0.03401729028548822, 0.024758067189990747, 0.023614967799798443, 0.013886343135261646, 0.024084159728851976, 0.022009045805307655, 0.015026807519806841, 0.01759710663044756, 0.026660439522723876, 0.028294290118672745, 0.023243922577933247, 0.025140367211322713, 0.04572556525296407, 0.027188976897724735, 0.0231904730319141, 0.049556326406220416, 0.045152142809524586, 0.03823391616011595, 0.018150239256144236, 0.04456623496267685, 0.02893545527792234, 0.055222550555031044, 0.016126483533621786, 0.03459923202777795, 0.025120864414599736, 0.02428623819799048, 0.03831723156455797, 0.030276004031729108, 0.02915266642463116, 0.025598008766794467, 0.0245248358627109, 0.018453832605972692, 0.01752262486414754, 0.046181687080748456, 0.04264339344852609, 0.04898662388032844, 0.02812267975597514, 0.070008395664329, 0.07512107506265678, 0.16733141717503244, 0.14151242305466516, 0.09386480566296265, 0.11107587227787886, 0.14130118586015317, 0.10930061251464666, 0.07389643886029279, 0.06698298642148966, 0.07393388172977257, 0.07804893318559815, 0.06771282483618857, 0.04613602392801674, 0.037784745485101315, 0.07383823385017235, 0.03222087941577256, 0.031202895091819588, 0.01755179306707307, 0.025005178970773694, 0.012949464016313656, 0.022685155678643293, 0.027129566605138385, 0.016397397284303762, 0.017632665292228417, 0.014136046056790677, 0.006731091443781084, 0.002324867499187556, 0.001408622830126058, NaN], \\"warnings\\": [\\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"Invalid BFW mu coefficient; using the Frank-Wolfe direction.\\", \\"\\", \\"\\", \\"\\", \\"Invalid BFW mu coefficient; using the Frank-Wolfe direction.\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"Invalid BFW mu coefficient; using the Frank-Wolfe direction.\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"Invalid BFW mu coefficient; using the Frank-Wolfe direction.\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"Invalid BFW mu coefficient; using the Frank-Wolfe direction.\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"Invalid BFW mu coefficient; using the Frank-Wolfe direction.\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\", \\"\\"], \\"beta0\\": [1.0, 1.0, 1.0, 1.0, 0.8014551543970623, 0.07613105790096795, 1.0, 1.0, 0.7117187859817545, 0.2890787953777217, 1.0, 0.6700784142154848, 0.8401631453332753, 0.3711219997168832, 0.145197652898047, 1.0, 0.9081492027379399, 0.6564581577857883, 0.3506211409700226, 0.23796568399974605, 0.09388299315165319, 0.0723564941026727, 1.0, 0.7906074536478364, 0.36677343293929293, 0.37461725837254173, 0.28321869621243495, 0.3304438045346625, 0.14172733710509336, 0.08418324510160412, 0.06378088032357422, 0.06107503562658826, 0.04161209100279589, 1.0, 0.673734785395314, 0.7618896533561224, 0.5143712690075617, 0.27690311696145403, 0.27443222101640036, 0.30867523527098906, 0.33318518291921406, 0.1364443730167045, 0.11160886518353777, 0.08838700653075113, 0.10545150025178394, 0.13215485549833894, 0.11449425411750523, 0.07509808964732616, 0.06883950594697325, 0.0325265514590923, 0.021000857717634592, 0.011544804462545848, 0.000269445179991327, 1.0, 0.8053354600461924, 0.40279760580451984, 0.2783919813170269, 0.2261292046905992, 0.42197441615829184, 0.7853455790661323, 0.6547582737975296, 0.3713834049507313, 0.3951112062268441, 0.2838443115733718, 0.2876259946103192, 0.5434373054743141, 0.277137195543538, 0.26437427673840025, 0.3620449635259459, 0.20217423016587868, 0.24720237139992945, 0.24342263248609977, 0.1790834905768386, 0.1771149051550601, 0.2075034863103447, 0.147477244241718, 0.35723415052588764, 0.14230217611189655, 0.1351490633041236, 0.09288063392957073, 0.111489587965539, 0.11224450093780876, 0.08210401299373724, 0.06016969130617579, 0.06857230689938948, 0.10082790263134818, 0.119157286933731, 0.08533258194000101, 0.08715560782982212, 0.08268409592892008, 0.09230561613409015, 0.10688038465388736, 0.08056559667623818, 0.11141995879097728, 0.08655850123013276, 0.06769687455683775, 0.09590443921667234, 0.14067409967096453, 0.06961661189506603, 0.07205020565848709, 0.09906381792396352, 0.09221016342675532, 0.18466690479479508, 0.11799037698888287, 0.10227769152630098, 0.08960588015209854, 0.055140153965841154, 0.06385356078954335, 0.05016150072856139, 0.04734228801011283, 0.06568987891971116, 0.07903128564414785, 0.062107734538185265, 0.08862324892903102, 0.06184778882163225, 0.0708818359990355, 0.055823403600076614, 0.07485086964281797, 0.04559778413858736, 0.02676154513923877, 0.028504008660144214, 0.06054495458710852, 0.06316296254997816, 0.11246318786725158, 0.13865466648026292, 0.06683180213570013, 0.10714186594035438, 0.17161764151952727, 0.11054519473742166, 0.08402518797871866, 0.11613546122323955, 0.10871077224175651, 0.13433578852763722, 0.12271500801839878, 0.1506579072056697, 0.13717986103382615, 0.10932668281366988, 0.06487724051140666, 0.07104383934584038, 0.08645179414949333, 0.07117569366555641, 0.07624811822809956, 0.049092907426463425, 0.03690067001719832, 0.055797375771806886, 0.08501392963966826, 0.054662647733179096, 0.07382926553668984, 0.05122876944757808, 0.08256593425019548, 0.04713667507907193, 0.03537833329856517, 0.03520924473182562, 0.042568531120386686, 0.04657803543834486, 0.03977831544257549, 0.06804270963954219, 0.030913969048002643, 0.05823986943345379, 0.061300870091007154, 0.05966566331602798, 0.05642913504130059, 0.029775342098073868, 0.038964460862622126, 0.03557706603087367, 0.02759869785554856, 0.029991180956539805, 0.03556807758455259, 0.024790535759902695, 0.06222519161598164, 0.03268762050210134, 0.03685425317930668, 0.03959973552307688, 0.054312207493523494, 0.04978972105830532, 0.024736897960984234, 0.02768954279382707, 0.035603782260984804, 0.024186249296775993, 0.04638084335830269, 0.03177073849533912, 0.02670501749339276, 0.016520403483395844, 0.023978399684015238, 0.029626849899497272, 0.03048169499131758, 0.02014901214390113, 0.016616236635453082, 0.035617232669577704, 0.01807932698890048, 0.021124542898299254, 0.027854711040242813, 0.01972666088634902, 0.026958034091366243, 0.01999483927534317, 0.017571484112203876, 0.02262798297603886, 0.019134989297737704, 0.018319281659694205, 0.02881204561097783, 0.011832240529373034, 0.013459358758612386, 0.014986041782399512, 0.014559737459924222, 0.009886502672946051, 0.008886341256771105, 0.004486312388117636, 0.00926117327642973, 0.004918702848209906, 0.003902048125427645, 0.006666440389317819, 0.01163188611735253, 0.0075385316677974495, 0.010376802735904037, 0.010423433888257512, 0.01085699903879406, 0.011160140367157814, 0.012468398632368037, 0.013320530357227536, 0.015441488862540466, 0.015496075299928294, 0.017791942602944085, 0.013342414215090099, 0.030233452759120295, 0.019601833190636967, 0.019076603584743265, 0.014621063794574785, 0.01530691561754562, 0.01703017439710905, 0.033085559833975174, 0.0415468574471993, 0.05924135387920281, NaN], \\"beta1\\": [0.0, 0.0, 0.0, 0.0, 0.1985448456029379, 0.9074293975948263, 0.0, 0.0, 0.28828121401824547, 0.6342898412933442, 0.0, 0.32992158578451525, 0.0, 0.6109693484116013, 0.7092870406485842, 0.0, 0.09185079726206014, 0.34354184221421163, 0.4773632246876047, 0.6265268361284235, 0.8425056417837966, 0.7346843425914592, 0.0, 0.20939254635216367, 0.5228542992696168, 0.4595131330435289, 0.7139204614003202, 0.3399981288406211, 0.6969139012712773, 0.6850741585734308, 0.6664707259669755, 0.5462275037919633, 0.7695560791490361, 0.0, 0.3262652146046861, 0.16412833420493092, 0.31444420483414276, 0.39253523825662306, 0.6085294692396587, 0.47892143501359696, 0.3190528555569594, 0.6120943462766539, 0.7062553041337722, 0.911612993469249, 0.6142369024119003, 0.526562894924589, 0.8264131365915309, 0.4868281281400413, 0.8086751807176278, 0.6217531023411774, 0.9203825952769933, 0.7589724756293335, 0.9843448263060031, 0.0, 0.19466453995380759, 0.5041452090547777, 0.5065325892964998, 0.6483777998626538, 0.45705172152076823, 0.21465442093386758, 0.34524172620247046, 0.37002871476449445, 0.3866095856243637, 0.540089167415126, 0.24264197023547213, 0.3008025069752743, 0.21560415276754413, 0.537330945439348, 0.6379550364740542, 0.4062843300093985, 0.35122328114817386, 0.4224059129423747, 0.7858077490075416, 0.5526971750145346, 0.6312645945485731, 0.5762820900300549, 0.5688281437507733, 0.3573044477718994, 0.7057527401660674, 0.16967893595060943, 0.5803759028543451, 0.6927842052682607, 0.7407917582921438, 0.7125323419162224, 0.659380032046895, 0.8982732188175853, 0.32346266618758857, 0.7379586715981529, 0.5634146063991546, 0.91731590407108, 0.27626914147449894, 0.5767430263893532, 0.9194344033237619, 0.8873961629030256, 0.5690258914284605, 0.5360725391949888, 0.7901069357100559, 0.8593259003290356, 0.5755665303041918, 0.5937452349491585, 0.9009361820760365, 0.39748320927267944, 0.4856102823285339, 0.30271596210587937, 0.6527128830680983, 0.6749200223756767, 0.7644916758338144, 0.6420773048069872, 0.7885589721533832, 0.5569660777595936, 0.3276807875546638, 0.5762447302755428, 0.533879561077803, 0.6253877180570948, 0.7524479744913596, 0.5979978997580467, 0.909963919744349, 0.6026694067969993, 0.9544022158614126, 0.48637503768025947, 0.9038928044235411, 0.4268408029508286, 0.4279001479342212, 0.30267345809728624, 0.8613453335197372, 0.44598884403948824, 0.7298508590202735, 0.780506084815108, 0.25103412146682347, 0.668742737649246, 0.5674644190001962, 0.5392842602190177, 0.7484215376112114, 0.39169134272830985, 0.6552398891517277, 0.7533995568396501, 0.3533805003843689, 0.7979811564891041, 0.4300456606215325, 0.5470450526815273, 0.8242726235756507, 0.5841976901801387, 0.7210159246503571, 0.554928961625393, 0.42189202621022337, 0.5725651478270833, 0.8635677860229005, 0.6695487096302113, 0.8330336078511398, 0.484499880062732, 0.7451713857381258, 0.8529617656707771, 0.6492291666130942, 0.6883744040197459, 0.6038474706908658, 0.712273633884044, 0.5510432720920777, 0.4882702575185015, 0.47695454849498986, 0.7471333112459257, 0.6632254535900035, 0.622465958106587, 0.6756807966745935, 0.5669624927282136, 0.5418173411285111, 0.4813127412131884, 0.39397912293478043, 0.804776069606982, 0.2842666555881521, 0.5195632753190131, 0.5556708651450809, 0.8223194836721813, 0.45095162058989674, 0.4631656051425078, 0.5911616878136842, 0.6519358442765334, 0.3202715548088969, 0.8684300125573697, 0.6181637442929104, 0.4933937224878013, 0.9416212887141648, 0.3240302863802955, 0.7576240808655997, 0.585931371295239, 0.9155233682284132, 0.3292065532188641, 0.8921294088271734, 0.3412110367790939, 0.886553070112521, 0.3843805745409533, 0.7447485837511219, 0.6628522178249162, 0.5006737857575921, 0.7915580772671728, 0.584876530512497, 0.6985374624480465, 0.6641412435659322, 0.9672666413548883, 0.8062854321127753, 0.6660459949478672, 0.988167759470627, 0.5438689427259823, 0.9613230806685582, 0.4946580582491159, 0.8067248394179993, 0.6584444809181682, 0.9955136876118824, 0.8182206320478106, 0.6557826978346792, 0.633780776969813, 0.5791300468440406, 0.9198083639983677, 0.7289220944896104, 0.5294388662790372, 0.9895765661117425, 0.2689254809747643, 0.5739490958499669, 0.499704954507035, 0.5802635284193212, 0.9141887211961002, 0.4079223288950027, 0.7799019564403935, 0.3652972221887985, 0.9697665472408797, 0.564170534310381, 0.6718357122353468, 0.8668057241800382, 0.3528968292035068, 0.7730307732796028, 0.38688297113415704, 0.9584531425528008, 0.35464100629043216, NaN], \\"beta2\\": [0.0, 0.0, 0.0, 0.0, 0.0, 0.01643954450420574, 0.0, 0.0, 0.0, 0.07663136332893422, 0.0, 0.0, 0.15983685466672476, 0.017908651871515423, 0.14551530645336888, 0.0, 0.0, 0.0, 0.1720156343423728, 0.1355074798718305, 0.06361136506455022, 0.1929591633058681, 0.0, 0.0, 0.11037226779109029, 0.1658696085839293, 0.002860842387244811, 0.3295580666247164, 0.1613587616236293, 0.23074259632496516, 0.26974839370945014, 0.39269746058144833, 0.18883182984816807, 0.0, 0.0, 0.07398201243894674, 0.17118452615829555, 0.33056164478192285, 0.11703830974394096, 0.21240332971541412, 0.34776196152382644, 0.2514612807066416, 0.18213583068269007, 0.0, 0.28031159733631567, 0.34128224957707215, 0.059092609290963743, 0.43807378221263243, 0.12248531333539892, 0.34572034619973024, 0.05861654700537207, 0.22948271990812066, 0.015385728514005591, 0.0, 0.0, 0.09305718514070244, 0.2150754293864733, 0.12549299544674702, 0.12097386232093983, 0.0, 0.0, 0.25858788028477425, 0.21827920814879234, 0.17606652101150208, 0.46973203515420875, 0.15576018755041163, 0.5072586516889178, 0.1982947778222517, 0.0, 0.3915414398247228, 0.4015743474518967, 0.33417145457152553, 0.03510876041561976, 0.27018791983040524, 0.1612319191410821, 0.27624066572822703, 0.07393770572333903, 0.5003933761162039, 0.15909819652980897, 0.73744043011982, 0.3081345091801158, 0.19497129379393077, 0.1771042287141191, 0.2272979667776019, 0.27204766105371553, 0.0008988785510664658, 0.5573800468786804, 0.1767087464618461, 0.34942978577102307, 0.0, 0.631425242391411, 0.3163765889567595, 0.0, 0.0011838783059969357, 0.34441560734140675, 0.3962305862481736, 0.11398862507327182, 0.0, 0.35481685780074207, 0.3342045593923543, 0.0, 0.5103066273005653, 0.3297228128766709, 0.5792936609052377, 0.24500942540560083, 0.23547409747222459, 0.18036817020034454, 0.2940691344034694, 0.16127952711805535, 0.39569163423029363, 0.6066293335256251, 0.34472398408030935, 0.4040127043840118, 0.2859890330138741, 0.1857042366870082, 0.33112026424291774, 0.034212676655574405, 0.3224797235601828, 0.0, 0.4868634171805017, 0.06760318691631445, 0.512614242462063, 0.5089368895158006, 0.5848633540354622, 0.0, 0.4871793538248116, 0.16300727503937226, 0.04787627366536481, 0.6384206837957549, 0.2472320743720352, 0.31640011977656435, 0.3520049675392259, 0.11724267386115128, 0.48559364925329135, 0.1941022036426026, 0.1094205821265237, 0.5372928168019613, 0.1371416029994893, 0.498910500032627, 0.36650315316897947, 0.1045516827587928, 0.3395541915917618, 0.22989116792317948, 0.4081703683574088, 0.5223105980179699, 0.34242092253324835, 0.08176956624392025, 0.2566220248330988, 0.11573762270128221, 0.43293418568707254, 0.20769193918280235, 0.1116599010306578, 0.3155615886550804, 0.2690570648598673, 0.3495744938707894, 0.24794805067338063, 0.3809140182683802, 0.4808157734334958, 0.46480558207155626, 0.19156581866306707, 0.2771088830939685, 0.3211049068521123, 0.2945438612273326, 0.39407304640916424, 0.4226055928406152, 0.491088560931263, 0.5760296961086798, 0.15965585280846545, 0.6909428086519451, 0.4182115330650053, 0.4116415143528176, 0.14082626314851196, 0.5094486438870264, 0.4825221873639687, 0.35904859112801046, 0.3233272577624824, 0.6520389023972759, 0.09596620518164552, 0.3576500064103136, 0.4602254341538959, 0.026607972790496037, 0.6492646961263117, 0.22585551565100448, 0.39009022902074575, 0.05484978187208952, 0.6403117517898183, 0.08772157902892534, 0.642172726585453, 0.07782969721790135, 0.5975400984701463, 0.2341268733505789, 0.30929307113484095, 0.4795995533560588, 0.18148388864146098, 0.39512863021215994, 0.2838910534397497, 0.31323077345802897, 0.01359836934737402, 0.17539528622753064, 0.30514195944115496, 0.0, 0.4426716985154053, 0.02369087754904229, 0.4907822042909599, 0.1833886579090546, 0.33266917782506067, 0.0, 0.17251819467575974, 0.33929859931711087, 0.36231717490475945, 0.41420351276664163, 0.06855974988427986, 0.263539373842592, 0.4601843309850588, 0.0, 0.7202175199864416, 0.41489076378287537, 0.48782664686059696, 0.4064159412234515, 0.07036978994135931, 0.5765815958050691, 0.20230610095666254, 0.6213603635961115, 0.0, 0.4162276324989819, 0.30908768417991006, 0.11857321202538705, 0.6317962551789474, 0.20993905232328824, 0.5800314690318679, 0.0, 0.5861176398303651, NaN], \\"conjugacy_prev\\": [NaN, NaN, NaN, 0.14132568473750332, -2.6699425424530926e-17, -0.010110870044554306, NaN, NaN, -4.642902892375593e-17, -0.03708503367037187, NaN, NaN, 0.01559415327069371, -0.002032132734688008, -0.010322014625560542, NaN, NaN, -9.674743029935076e-17, -0.011916435547878752, -0.010596769053865925, -0.0022015040946983784, -0.002369024979157072, NaN, NaN, 0.003860981991448136, 0.00037173405169524723, -2.5065077904700674e-05, 0.002677306135258844, -8.403760169363671e-05, -0.00479743558120488, -0.0009766777965978459, -0.001765771379794705, -0.001652900632156046, NaN, NaN, -2.9819158541369124e-05, 0.0014960655329002575, -0.0028585226912977344, -0.0008058323725763964, 0.00013349409162480747, 0.0005170959174673909, 0.000992564240797131, 0.0008341153350822839, 1.4768925702332417e-16, -0.0008769198744807001, -0.0006576753385863127, -3.462320067585069e-05, -0.0011642705160635005, -0.00023195594923115364, 0.0018199830994142794, 0.00017773765300364654, 8.584320044403263e-05, -0.00043617766496077155, NaN, NaN, 3.83003178898427e-05, -0.0018718415197985468, -0.00034195683695704526, -4.02909593344139e-05, -2.7097534687251893e-17, 1.4466840775859312e-16, 1.8695875938422476e-05, -0.00018534747412168108, 0.00029374936595261044, -0.000557415062326147, -0.00010220598956060631, -0.00016164908347563473, -2.562466939267357e-05, -8.508065865182504e-17, -0.00021171031906243334, -0.00013994794799727028, -0.00020823452219363755, -8.095663765402857e-07, -9.082480119146422e-05, -9.073703968133811e-05, 0.0002447515212446288, 1.7014986344566512e-05, -5.248213707518136e-05, -4.4575481415778694e-05, 2.3796151508697282e-05, -1.1470659372460863e-05, 3.799815081328622e-05, -0.00010270739008164562, -0.0004620700698268648, -0.00024870081523449116, 5.5550927047990146e-08, 3.1991195169810696e-06, 1.6989054837559013e-05, 1.842217083604399e-05, 2.347117605757932e-17, -9.995553118149609e-05, 2.7680591437570813e-05, -1.3548227484965728e-16, -4.2280176837289403e-08, -9.921517235655131e-06, -0.00022954832981815208, -6.43625219877008e-05, 9.630805889857895e-17, -9.21352526390004e-05, -2.4890243585818363e-05, 1.3056355512771239e-16, 1.4867386715369015e-05, -1.0702327057115357e-05, 4.294450015769846e-06, -0.00011704740172988064, -4.042807655873633e-05, 0.00011068428391158956, -1.7803307220439656e-05, -4.775792346948249e-05, -4.8382279407478964e-05, -0.0001412155955648767, -0.00011209338634238526, 7.487401783975554e-05, 2.8821401603911185e-05, 7.233846034675833e-06, 3.003879110240343e-05, 4.655959015122231e-06, -0.00023486461188225363, 1.0779251925645523e-16, -0.00019331843320125313, -4.856566839213532e-05, -5.6132159765954275e-05, -1.0780149663144769e-05, 8.064299019494139e-05, -9.403268982978257e-17, 6.114953763395696e-05, -3.312397737201169e-05, -4.526854444040599e-06, 3.697223844877422e-05, -4.357044861903826e-06, 7.139893332007825e-06, 5.462543880606295e-05, 9.265563624118408e-06, -7.615074770189029e-05, -6.114516733702198e-05, 6.979545519705746e-08, 0.00010323420704067624, 2.6116945295038147e-05, -4.77441352137128e-05, -7.128494251291956e-05, 1.7838136163376626e-05, -1.5235399675659063e-05, -6.961413869044827e-05, -0.00011385172516623189, -0.00012760224511237543, -5.417539480137736e-05, -2.448608088958995e-05, -2.6693104745160855e-05, 1.643302789455371e-05, 1.999999253312946e-05, 3.516608702047523e-06, -6.955100234382205e-06, -5.6877042769128264e-05, -5.8368846987171264e-05, -2.9015251454898888e-05, 8.655462533416861e-05, -3.228307687799348e-07, -0.00014220918238844386, -0.00013177853155189718, -1.4256347955267256e-05, 6.8756838473566505e-06, 2.9897636759266526e-06, -0.0001319361845354567, -5.9842286789058126e-05, -2.6805613916890304e-06, -7.379807174741495e-05, -0.00014737191775763845, -3.0535559714118035e-05, 9.379879005357143e-05, -2.228697404420514e-05, -5.6685863054953815e-05, -2.8675349208647414e-05, 1.4128650585747194e-06, -1.4404771659323552e-05, 2.9331145285187056e-05, 3.987684852016745e-06, -1.9648421771449576e-05, 1.482979921819073e-06, -0.00011279195643119807, -2.6130316806390216e-05, -5.794918518972056e-07, -9.945731763962468e-05, -0.0001351379379997953, -0.00010531792414577599, -4.0160905313845394e-06, -9.119912297169814e-06, 1.4273469700192384e-05, 2.8583654308932485e-05, 7.387236916200871e-06, -3.218509618629697e-06, 3.332658350842055e-07, -2.6864452089451425e-05, 7.751525064367616e-05, 5.684091282241542e-06, -1.7961362761076352e-05, -7.396462344559465e-05, -1.0315706911989553e-05, 1.6131768581678305e-06, -5.9771217460358e-06, 1.9196454636529653e-05, -2.279243565372808e-16, -1.2241891803336707e-05, 2.1381009287679034e-06, 3.8760701935864334e-05, 3.327526596138616e-05, -9.814617100351093e-05, 1.7834953727197489e-16, -3.6070885378065896e-06, -1.0796140667686061e-05, -5.852789075245878e-05, -0.00010140038648571633, 1.5056504353799332e-06, 8.431143871328302e-06, 5.135803160730056e-06, 3.65350948097654e-16, -0.00012496741586825704, 1.2791511864705525e-05, -4.342741726654925e-05, -5.489234428436189e-05, -6.325570073704913e-06, 3.448027036322966e-05, 5.577765871185e-06, -6.907295219523698e-05, 6.148533602521304e-17, -2.0338234682062548e-05, 1.1698921290234636e-05, -2.1901522419771326e-06, -3.391902818427217e-05, -2.0337548640094517e-06, -1.9977284965133896e-05, 1.4646988430203984e-17, -2.783508217952147e-06, NaN], \\"conjugacy_prev2\\": [NaN, NaN, NaN, 0.078991955862457, 0.022687238424380456, -0.06451724104474858, NaN, NaN, 0.3681403751235951, -0.14970530025935275, NaN, NaN, -0.008470198156455468, -0.04571057892218542, -0.024903199133469528, NaN, NaN, 0.08136632733846738, -0.028009367947422075, -0.02545769611929566, -0.01359716430022385, -0.008549637475254352, NaN, NaN, 0.010577352648011906, 0.0009760946949741798, -0.004571414987256304, 0.00472940345495196, -0.0003596164659922677, -0.010371957151635879, -0.00163973607447702, -0.005037601114142436, -0.002820284038697124, NaN, NaN, -7.412859537558609e-05, 0.0033430628721034953, -0.0052323974075579515, -0.0030776257196959197, 0.0004079298168505916, 0.0010059625203012099, 0.003094216694695007, 0.0019313445771630697, 0.21790695706785712, -0.002585001538816783, -0.0019400322465930612, -0.000478630456241002, -0.00333948871092966, -0.0009659200124963738, 0.0033207322426522423, 0.0010379681512234593, 0.00023576546179536673, -0.0013081268983294444, NaN, NaN, 0.00011866769611776487, -0.0038073424031439124, -0.001365922058386589, -0.00021920407847376237, 0.04283171533932875, 0.04688030518534273, 3.487813816085717e-05, -0.0002924611826187521, 0.0010141876399974417, -0.000874568512466587, -0.00030021084986363934, -0.0004112663495639741, -4.724539137150398e-05, 0.17290014479193172, -0.0006429536583019921, -0.00015993777531498994, -0.0005746138191983198, -1.2979311037114058e-05, -0.0003251822935987393, -0.00043245797116851987, 0.0006447991141787982, 0.00010179614003459747, -0.00024564370836021356, -9.497933045268331e-05, 3.2342970315679696e-05, -2.420840206737662e-05, 0.0001444769861987389, -0.0006197551136506369, -0.0013710119863929928, -0.0005508325225723011, 6.608482361926379e-05, 9.63600261730667e-06, 7.473668544223048e-05, 4.666253935563408e-05, 0.13074293008883248, -0.00014978171140701357, 9.624471968359162e-05, 0.0912712141299407, -2.6605645546576772e-05, -3.50973118266522e-05, -0.0005702628925922641, -0.0002764394616843477, 0.05426315973245737, -0.00041753907437105535, -4.121257047188594e-05, 0.18874735794501804, 3.685752130002593e-05, -2.3192325136791962e-05, 1.4191157047339489e-05, -0.0003084837335362158, -0.00010237438813180388, 0.00037710189963204694, -5.8814841488209045e-05, -0.0002153604344402655, -0.000147934081777116, -0.0002581528605577303, -0.00033828081626126354, 0.00014956242804274283, 7.329804140672625e-05, 5.0623850526444493e-05, 7.573098062408537e-05, 0.0001238354110186748, -0.000641679099366229, 0.1458656377873636, -0.0005248478619013187, -0.0003346078252368518, -0.00013460696065619682, -3.887242650621518e-05, 0.000135469045087922, 0.3424560428929811, 0.00019163498823625405, -8.645127218008766e-05, -0.00010776128683885775, 9.128867802674667e-05, -8.52870626368891e-06, 2.2025533027648034e-05, 0.00014930200068348842, 8.486821292758232e-05, -0.00015298035388541776, -0.000226645961929858, 5.23930053204847e-07, 0.00019157014046495904, 0.00012927061142713664, -6.666734335700139e-05, -0.00018552869173056756, 0.00014051242531006085, -4.835421521372239e-05, -0.00020911082580437587, -0.00024736839691877983, -0.00020129519987577312, -0.00022424041265235004, -0.00023616767156988826, -9.320793876007096e-05, 0.00012874750123460283, 4.4522761500336683e-05, 1.9792300096948965e-05, -3.222376179342493e-05, -0.00015146901091710259, -0.00019468282165052803, -0.00011574725847734409, 0.0002694255986790916, -8.345760841416797e-07, -0.000434364857608571, -0.00018112952848394615, -9.642725950309424e-05, 2.285128143483254e-05, 9.36810170616017e-06, -0.0003674434231935166, -7.31694801473376e-05, -9.692377984861765e-06, -0.00011500917964999429, -0.00024095691290897938, -0.0001621573006781938, 0.00017371089270512238, -4.225927247370623e-05, -0.00024738091402125507, -0.00011875712379107753, 3.0664273572673863e-06, -3.468681208259613e-05, 8.216090828993437e-05, 9.034959510222329e-06, -2.4561071470124785e-05, 1.5112829121830456e-05, -0.00033713952509928927, -3.560290898284153e-05, -3.2543204299829675e-05, -0.00016327670766987508, -0.0003281870769458112, -0.00024202577948812022, -7.38856811503869e-05, -2.308802086123817e-05, 9.641054044835182e-05, 5.02386946750436e-05, 5.454468343417197e-05, -1.5346251475062086e-05, 6.415895133536083e-07, -0.00010726755143624401, 0.00017198674370597335, 2.0615912711984816e-05, -5.9915884523792316e-05, -0.00021788966838925597, -3.057345077385013e-05, 0.00010862207196372082, -3.850172839761133e-05, 6.107130691370746e-05, 0.3234910635527149, -2.2905856774507032e-05, 8.723977432291995e-05, 0.00010322335467050726, 0.00011122450223658285, -0.0002616616288741475, 0.20047810527376078, -1.7440632407294818e-05, -4.938032251075603e-05, -0.00012423152745075995, -0.0001780848550593807, 3.217097619009473e-05, 5.2103295697671175e-05, 1.0245676112758732e-05, 0.09602504304743184, -0.00018347091802042655, 2.8679757799229577e-05, -0.00011141447486680689, -0.00015472263673234815, -6.164327878196987e-05, 0.00010213656409031078, 2.3803350012112825e-05, -0.00016374115647556652, 0.24977061380175355, -8.749168821947443e-05, 1.994746488534874e-05, -1.8524084095501627e-05, -6.438609730033926e-05, -7.347853572876335e-06, -4.3504895209682996e-05, 0.04182942201989405, -7.643535318475956e-06, NaN], \\"hessian_drift\\": [NaN, NaN, NaN, 0.06962876817378542, 0.008515021326522697, -0.05187971440820957, NaN, NaN, 0.15129807071433926, -0.09108546228892911, NaN, NaN, -0.04075815016212206, -0.04417289489217578, -0.013008944416901855, NaN, NaN, -0.011111308827697813, -0.024845815727744282, -0.025892888458605236, -0.018708121568080122, -0.0058941522119628515, NaN, NaN, 0.012689543366185416, 0.001298700836102666, -0.006240223759813431, 0.0067162220253561816, -0.00029728184664182, -0.008484871441260443, -0.0027885429921562267, -0.004114828135783439, -0.003689583953397614, NaN, NaN, -0.00025536388232278335, 0.005906381355249408, -0.004639574580220963, -0.004157997391008799, 0.0006194884707422966, 0.001420699250379923, 0.0018324615978574594, 0.0017184035473703965, 0.000623016412649728, -0.0036900439135704264, -0.002351506800611923, -0.000794016737452617, -0.002303007376384158, -0.0008853262037619033, 0.0022072587023838314, 0.0015480977144951581, 0.00029220080758143857, -0.0006137843611836624, NaN, NaN, 0.0001233984252189718, -0.003575048735543277, -0.0020590173822157085, -0.0005964283136090728, 0.0004409102007391099, -0.0008656418888119228, 3.1986844685686714e-05, -0.00041624337463123517, 0.0014807274806976566, -0.0012440085027202875, -0.0011794195373006303, -0.0002855782576498277, -5.4170205395111094e-05, -0.0003925506410116842, -0.0004954220280580292, -0.0002606598324452018, -0.0005275639545547204, -1.8739565776920232e-05, -0.000386332692928213, -0.0004712619867439057, 0.0005305434483632189, 0.0004352092330846781, -0.00011382288839348404, -0.00012258912650808544, 2.639707851725048e-05, -2.3239840465890672e-05, 0.00019299406293647053, -0.0004983200324445681, -0.0009821563125533494, -0.0007283986418295692, 0.00014222826458206036, 9.509448576792917e-06, 8.125322829686991e-05, 4.9244438401197396e-05, -0.00045744155383244594, -0.00020594958358763563, 8.528457816270679e-05, -0.00041703375734055293, -4.080517719656213e-05, -4.107765580444947e-05, -0.0003424033668286424, -0.0004451542530966654, 0.0003242788473346644, -0.00027247690861964037, -4.05295567090051e-05, 2.872483928971435e-05, 3.609317263721989e-05, -6.205522426073951e-05, 1.1642303212598673e-05, -0.00022844933219912537, -7.554943658964563e-05, 0.00042505102284155647, -5.057687766828748e-05, -0.0002968647507646523, -0.00018729758892298574, -0.00031648205051654286, -0.00032260968862902047, 0.00013109197880184422, 0.0001136878169523234, 4.952999138707043e-05, 8.060630374563708e-05, 0.00012838125023721274, -0.000495957604352966, -0.00020729530007258974, -0.00027332877027890705, -0.0004667668920602043, -0.0002845480351041411, -4.653897152775765e-05, 0.00017961793093876458, 0.00032133894261486675, 9.906176905589168e-05, -0.0001344903700843243, -0.0002316131464812313, 5.4729855602783194e-05, -1.0354480119812718e-05, 2.7118063706503004e-05, 0.00020895260364314048, 0.00010951954539814527, -0.00014859803534639435, -0.00025580412736457564, 6.844703117965441e-07, 0.0001577382496229578, 0.00010475188587837654, -7.566143341202688e-05, -0.00018275246214936405, 0.00017859853433045876, -3.8577860506338474e-05, -0.00020540641153112465, -0.0002271038910949202, -0.0003321888136064502, -0.00020651721953205391, -0.0002441833312867625, -9.756138601313823e-05, 0.00014410163000745183, 6.0104416586315336e-05, 1.1425884502787634e-05, -2.9934641102147588e-05, -0.0001528624876667391, -0.00030285836169641184, -0.00010040175691573066, 0.00030405722353411363, -1.37648440489452e-06, -0.0003090993607507586, -0.0002685785215071321, -0.0001022570309638058, 2.6227971844763445e-05, 8.533592601441757e-06, -0.0001980649584175669, -0.00012311427317684745, -8.148833761931438e-06, -0.00011823955017961492, -0.00022606067005843174, -0.00022626773689306777, 0.00015428324590738822, -8.485581306081659e-05, -0.00015867850293594613, -0.0001451009984620033, 3.982035618704228e-06, -3.95099131536487e-05, 6.673406919415887e-05, 7.993037470214858e-06, -2.6224971656707034e-05, 1.7605739796899916e-05, -0.00023810081683645981, -5.923475463195186e-05, -3.7683534581096226e-05, -9.844376084043347e-05, -0.0003209014829482615, -0.0002680805230211631, -0.00012967600231887308, -1.5070264273823516e-05, 0.00011630754461094638, 3.222148246882992e-05, 0.0001668018297171231, -7.455127683072064e-06, 8.539919620373527e-07, -0.00012276043624043494, 0.00012340986236759, 2.939083777301969e-05, -5.360470721814859e-05, -0.00021617887850323603, -2.993844850192609e-05, 0.00012984548127975348, -3.989834562363315e-05, 4.9521601653671764e-05, 9.125416667330071e-05, -2.3954225359529962e-05, 0.00012087322994857684, 6.972612241568496e-05, 0.00010870010664326091, -0.00018458197577017014, -0.00023892537516177517, -3.0293528494828557e-05, -4.309496182573305e-05, -0.00010637419715983456, -0.00029829342860677354, 5.767869372941443e-05, 5.21949994839726e-05, 1.186965150557679e-05, -0.0002618558351451276, -0.0001871276863710533, 3.852774429296424e-05, -0.00013614255017566217, -0.00011791709609940662, -0.00011224348594941976, 9.411542085925438e-05, 3.68268908274384e-05, -0.00011782000702229787, -7.419217859266927e-05, -4.905753790973097e-05, 2.1274398600671916e-05, -2.327688367264443e-05, -5.136088462828949e-05, -9.905642160351213e-06, -7.468272805339008e-05, 2.059159238095553e-05, -1.1004124153315633e-05, NaN], \\"bfw_clamped\\": [NaN, NaN, NaN, true, true, false, NaN, NaN, true, false, NaN, NaN, true, false, false, NaN, NaN, true, false, false, false, false, NaN, NaN, false, false, false, false, false, false, false, false, false, NaN, NaN, false, false, false, false, false, false, false, false, true, false, false, false, false, false, false, false, false, false, NaN, NaN, false, false, false, false, true, true, false, false, false, false, false, false, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, false, true, false, false, false, false, true, false, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, false, false, false, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, false, false, false, false, true, false, false, false, false, false, false, false, true, false, false, false, false, false, false, false, false, true, false, false, false, false, false, false, true, false, NaN]}, \\"setup\\": {\\"Algorithm\\": \\"bfw\\", \\"Classes\\": {\\"car\\": {\\"network mode\\": \\"c\\", \\"cost\\": \\"free_flow_time\\", \\"PCE\\": 1.0, \\"Value-of-time\\": 1.0, \\"Fixed cost field\\": null, \\"Fixed cost multiplier\\": 1.0, \\"matrix_totals\\": {\\"matrix\\": 373574.39727130113}}}, \\"Computer name\\": \\"runnervm0hi8g\\", \\"Maximum iterations\\": 500, \\"Procedure ID\\": \\"3cb1312b96774d329c7c27249330fe4e\\", \\"Target RGap\\": 1e-05}}"', timestamp='2026-11-19 08:27:41.696584', description='') .. GENERATED FROM PYTHON SOURCE LINES 373-374 And save the skims .. GENERATED FROM PYTHON SOURCE LINES 374-376 .. code-block:: Python assig.save_skims("future_year_assignment_skims", which_ones="all", format="omx") .. rst-class:: sphx-glr-script-out .. code-block:: none ['future_year_assignment_skims_car.omx'] .. GENERATED FROM PYTHON SOURCE LINES 377-379 Run convergence study ~~~~~~~~~~~~~~~~~~~~~ .. GENERATED FROM PYTHON SOURCE LINES 379-394 .. code-block:: Python df = assig.report() x = df.iteration.values y = df.rgap.values fig = plt.figure() ax = fig.add_subplot(111) plt.plot(x, y, "k--") plt.yscale("log") plt.grid(True, which="both") plt.xlabel("Iterations") plt.ylabel("Relative Gap") plt.show() .. image-sg:: /_auto_examples/traffic_assignment/images/sphx_glr_plot_forecasting_003.png :alt: plot forecasting :srcset: /_auto_examples/traffic_assignment/images/sphx_glr_plot_forecasting_003.png :class: sphx-glr-single-img .. GENERATED FROM PYTHON SOURCE LINES 395-396 Close the project .. GENERATED FROM PYTHON SOURCE LINES 396-397 .. code-block:: Python project.close() .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 1.373 seconds) .. _sphx_glr_download__auto_examples_traffic_assignment_plot_forecasting.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_forecasting.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_forecasting.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_forecasting.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_