Skip to content

Releases: Metropolis2/Metropolis-Core

1.3.0

17 Feb 14:27

Choose a tag to compare

Added

  • [INPUT] Parameter departure_time_interval can be used to define how accurately utility functions
    are computed for departure-time choice.

Changed

  • [DEV] Update deprecated GitHub actions.

Fixed

  • [INPUT] The warning message for forced releases now show the proper user id of the agent and edge
    (the internal index was used instead).
  • [USER] Fix a crash when a vehicle headway is not a round value.
  • [USER] Return error code 1 when the simulation failed (success code 0 was returned).

1.2.0

15 Jan 15:32

Choose a tag to compare

Added

  • [INPUT] Allow edges to have time-varying bottleneck flows with bottleneck_flows and
    bottleneck_times variables.
  • [DEV] Add GNU General Public License v3.

Changed

  • [INPUT] Arbitrary ids can be used for all input values (negative integers, strings).
  • [DEV] Rename the repository from Metrolib to Metropolis-Core.
  • [DEV] Update README.md.

Removed

  • [USER] Remove the Tauri GUI (not useful and hard to maintain).

1.1.0

06 Jun 07:41

Choose a tag to compare

Update to 1.1.0

1.0.0

06 Jan 11:55

Choose a tag to compare

1.0.0 release

1.0.0-7

21 Dec 17:42

Choose a tag to compare

Fix tauri-build issue

1.0.0-rc.3

15 Mar 15:09

Choose a tag to compare

1.0.0-rc.3

1.0.0-4

15 Mar 17:00

Choose a tag to compare

1.0.0-4

1.0.0-rc.2

13 Mar 14:18

Choose a tag to compare

1.0.0-rc.2 Pre-release
Pre-release

Removed

  • [USER] Temporarily remove the GUI executable as it fails to compile on Windows and MacOS.

1.0.0-rc.1

13 Mar 11:30

Choose a tag to compare

1.0.0-rc.1 Pre-release
Pre-release

Added

  • [USER] Prototype GUI for METROPOLIS2 with the binary metropolis_gui.
  • [INPUT] The paths to the input files and the output directory are set in the parameters JSON file.
  • [INPUT] Custom vehicle ids can be used (instead of vehicle indices numbered from 0 to n - 1).
  • [INPUT] Add the max_iterations parameter in the simulation parameters to limit the number of
    iterations.

Changed

  • [USER] The command-line interface only takes the path to the parameters JSON file as argument.
  • [INPUT] The population and network input files accept the Parquet and CSV format instead of JSON.
  • [INPUT] The road-network conditions input file accept the Parquet and CSV format instead of JSON.
  • [INPUT] The road-network parameters are no longer nested in the network parameters.
  • [OUTPUT] Use more interesting variables in the report HTML file.
  • [OUTPUT] Use the new terminology in the report HTML file.
  • [OUTPUT] The road-network conditions output files are saved in Parquet or CSV format instead of
    JSON (according to saving_format parameter).

Removed

  • [INPUT] Stopping criteria can no longer be used in the parameters (use max_iterations parameter
    value instead).

0.8.0

29 Feb 13:42

Choose a tag to compare

Added

  • [INPUT] Add the ExponentialUnadjusted learning model (exponential model with no adjustment for
    the first iteration).
  • [INPUT] Add option to force the route to be taken for road legs (parameter route of a road leg).
  • [INPUT] Add option to set the speed at which the holes / free space left by vehicles leaving a
    road propagate backward (road-network parameter backward_wave_speed, default is infinite speed).
  • [INPUT] Add option to remove the inflow constraint on edges (road-network parameter
    constrain_inflow, default is to constrain both inflows and outflows).
  • [OUTPUT] Add the root mean squared difference of departure time in the iteration results.
  • [OUTPUT] Add the root mean squared difference between simulated and expected travel time in the
    iteration results.
  • [OUTPUT] Add the simulated and expected road-network weights RMSE (root mean squared difference)
    in the iteration results.
  • [OUTPUT] Add the length of the route that is new compared to the previous iteration in the
    leg-level results.
  • [OUTPUT] Add the departure time shift compared to the previous iteration in the trip-level and
    leg-level results.
  • [OUTPUT] Add a boolean indicator indicating if an agent shifted mode compared to the previous
    iteration.
  • [USER] Add a warning when deserializing a road network with parallel edges.

Changed

  • [INPUT] For the Exponential learning model, the alpha value is no longer nested in a
    structure.
  • [INPUT] Road edge's lane number can take non-integer values.
  • [USER] For the Exponential learning model, the alpha value represents the weight of the
    simulated weights (previously, it was the expected weights).
  • [USER] For speed-density functions, the travel time of a vehicle on an edge is based on the
    density before the vehicle enters the edge (i.e., not the density including the vehicle's own
    length as it was done previously).
  • [USER] The departure-time stop criterion only considers the agents who did not switch to another
    mode (breaking change: the default value to use in case of mode switch is no longer required).
  • [DEV] Run schemas generation with dev profile to reduce compile time.
  • [DEV] Lints are configured directly in Cargo.toml, using Rust 1.74.0.
  • [DEV] Road-network weights only store the weights of the edges which are accessible by the
    vehicle.

Fixed

  • [OUTPUT] Fix a crash when running metropolis with an output directory that does not exist.
  • [OUTPUT] Fix number of decimals for road-network weights RMSE in the report HTML file.
  • [DEV] Fix nodes being duplicated when a graph is deserialized.
  • [DEV] Fix crash when using a uniform random value equal to 1.0.

Removed

  • [USER] The book and API documentation are not longer part of the released zipfile.