Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drvinceknight/heterogeneousambulancefleetallocations
Code for optimising ambulance allocation
https://github.com/drvinceknight/heterogeneousambulancefleetallocations
Last synced: about 1 month ago
JSON representation
Code for optimising ambulance allocation
- Host: GitHub
- URL: https://github.com/drvinceknight/heterogeneousambulancefleetallocations
- Owner: drvinceknight
- License: mit
- Created: 2023-05-30T10:52:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-12T15:22:27.000Z (5 months ago)
- Last Synced: 2024-08-13T13:40:00.850Z (4 months ago)
- Language: Jupyter Notebook
- Size: 28.3 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# upgraded-octo-barnacle
Source code for the optimisation problem presented in the paper *Evaluating
Heterogeneous Ambulance Fleet Allocations in Jakarta*.## Creating a virtual environment
```bash
$ python -m venv env/
```Activate environment:
```bash
$ source env/bin/activate
```Install all dependencies (including development)
```bash
$ python -m pip install -r requirements.txt
```## Running an experiment
To run the experiments from the root of this repository with:
- total_primary=70
- total_secondary=26
- max_primary=10
- max_secondary=10
- population_size=240
- keep_size=40
- number_of_iterations=500
- initial_number_of_mutation_repetitions=6
- cooling_rate=0.25
- demand_scenario=13
- scenario_id=33333
- num_workers=62Run:
```bash
$ python src/experiment.py 70 26 10 10 240 40 500 6 0.25 13 33333 62
```To also implement a progress bar across the iterations, run:
```bash
$ python src/experiment.py 70 26 10 10 240 40 500 6 0.25 13 33333 62 --progress_bar
```