{"id":24487200,"url":"https://github.com/beyondsimulations/on-demand-line-based-bus-services","last_synced_at":"2026-01-02T02:02:34.019Z","repository":{"id":272775537,"uuid":"916782661","full_name":"beyondsimulations/On-Demand-Line-Based-Bus-Services","owner":"beyondsimulations","description":"Repository for an upcoming paper on On-Demand-Line-Based-Bus-Services.","archived":false,"fork":false,"pushed_at":"2025-02-09T15:08:58.000Z","size":122,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T18:55:13.748Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beyondsimulations.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-14T18:47:12.000Z","updated_at":"2025-02-09T15:09:01.000Z","dependencies_parsed_at":"2025-01-16T15:51:52.999Z","dependency_job_id":"d6cc59b1-c7ac-4ea5-af37-7c152e1cc48f","html_url":"https://github.com/beyondsimulations/On-Demand-Line-Based-Bus-Services","commit_stats":null,"previous_names":["beyondsimulations/on-demand-line-based-bus-services"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondsimulations%2FOn-Demand-Line-Based-Bus-Services","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondsimulations%2FOn-Demand-Line-Based-Bus-Services/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondsimulations%2FOn-Demand-Line-Based-Bus-Services/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondsimulations%2FOn-Demand-Line-Based-Bus-Services/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beyondsimulations","download_url":"https://codeload.github.com/beyondsimulations/On-Demand-Line-Based-Bus-Services/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243658269,"owners_count":20326467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-21T15:34:00.284Z","updated_at":"2026-01-02T02:02:34.002Z","avatar_url":"https://github.com/beyondsimulations.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# On-Demand Line-Based Bus Services\n\nA Julia optimization system for minimizing bus fleet sizes or maximizing demand coverage in on-demand line-based transit services using network flow models.\n\n## Overview\n\nThis system solves two main problems:\n- **Minimize Fleet Size**: Find minimum buses needed to serve passenger demands\n- **Maximize Coverage**: Serve maximum demand within fleet constraints\n\nKey features:\n- Event-based capacity constraints for vehicle reuse across non-overlapping shifts\n- Multi-depot operations with 3-day time system\n- Support for Gurobi and HiGHS solvers\n\n## Requirements\n\n- Julia 1.11.4+\n- Optimization solver (Gurobi or HiGHS)\n- PostgreSQL database with GTFS transit data\n- Case study data (not included in public repo)\n\n## Setup\n\n1. **Install Julia dependencies**:\n   ```bash\n   julia --project=on-demand-busses\n   julia\u003e using Pkg; Pkg.instantiate()\n   ```\n\n2. **Configure database access**:\n   Create `secrets/secrets.jl` with your PostgreSQL credentials for GTFS data access.\n\n3. **Prepare case data**:\n   The repository excludes actual case study data. You'll need to provide:\n   - `case_data/` directory with route and demand data\n   - Bus schedule and capacity information\n   - Passenger demand patterns\n\n## Usage\n\n```bash\n# Basic run\njulia src/main.jl\n\n# Specify version and solver\nJULIA_SCRIPT_VERSION=v4 JULIA_SOLVER=gurobi julia src/main.jl\n```\n\n## Project Structure\n\n- `src/models/` - Network flow optimization models\n- `src/types/` - Data structures (routes, buses, demands)\n- `src/data/` - Data loading and processing\n- `test/` - Unit and integration tests\n\n## Note for Public Users\n\nThis repository contains the optimization algorithms and system architecture, but excludes:\n- Proprietary case study data\n- Database connection details\n- Pre-computed results and visualizations\n\nTo use this system, you'll need to provide your own transit network data and passenger demand information.\n\n## License\n\nMIT License, Copyright (c) 2025 Tobias Vlćek\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyondsimulations%2Fon-demand-line-based-bus-services","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeyondsimulations%2Fon-demand-line-based-bus-services","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyondsimulations%2Fon-demand-line-based-bus-services/lists"}