TrafficPLANit / PLANit

see www.goPLANit.org
Other
0 stars 0 forks source link

Support path and OD output (adapters) for sLTM #109

Open MarkRaadsen opened 6 months ago

MarkRaadsen commented 6 months ago

only link level results can currently be persisted, this is not enough

MarkRaadsen commented 6 months ago

Note: currently we only have the OdPathMAtrix that we support in persisting, this is too limited. Also, it is only used for testing if paths match what we expect, it is not read in anywhere. So, given that we now have the OdMultiPaths in sLTM, we should replace the OdPathMArix in the outputconfiguration evenrywhere with the new OdMultiPaths to be more generic.

This also means we should support multiple paths per OD which will require a change of format. For now It would be most convenient to have the multiple paths in the same column as the other columns are the o and d already. This would mean minimmal change to the output format and not changing at all if we have only a single path per od.

MarkRaadsen commented 6 months ago

Note that for attaching geometries it might be more advantageous to write out a single line PER path, so perhaps do that instead and repeat the other columns in those cases (or make it optional to consolidate or not?

MarkRaadsen commented 6 months ago

Path support added now, OD support still pending

MarkRaadsen commented 6 months ago

First implementation done, should be working now (tested as part of PLANitIO sLTMAssignmentTest.test_2_SIMO_MISO_route_choice_single_mode_with_initial_costs_and_500_iterations)