How zhangqinchong/ialns-truck-drone-delivery works
This repository packages a reproducible truck-and-drone delivery optimization study: modified instances and settings feed a frozen IALNS solver, whose feasible routes and costs are recorded and can be independently checked. It also provides instance generation and single-run and batch entry points. The solver excerpt is partial, so internal algorithm stages are grouped at the implemented module rather than inferred as separate call chains.
Main entry points: run_ialns.py Problem setup · run_experiments.py Batch experiments · generate_instances.py Instance generator · ialns.py Solution evaluation
Components 16
Inputs and generation
- Base instances
instances/base - Exposure instances
instances/exposure_ratio - Source coordinates
instances/coordinates - Generation metadata
settings/generation_metadata.json - Instance generator
scripts/generate_instances.py
Optimization
- Solver parameters
settings/parameters.json - Problem setup
scripts/run_ialns.py - Initial solution
src/ialns.py - IALNS search
src/ialns.py - Solution evaluation
src/ialns.py - Result serialization
src/ialns.py
Experiment execution
- Single-run entry
scripts/run_ialns.py - Batch experiments
scripts/run_experiments.py
Results and verification
- Archived results
results - Result validation
scripts/validate_results.py
Other components
- Researcher
Connections 22
- Researcher → Single-run entry: starts run
README.md - Researcher → Batch experiments: starts suite
README.md - Source coordinates → Instance generator: reads coordinates
scripts/generate_instances.py - Generation metadata → Instance generator: configures generation
scripts/generate_instances.py - Base instances → Instance generator: reads exposure base
scripts/generate_instances.py - Instance generator → Exposure instances: generates inputs
- Solver parameters → Problem setup: loads parameters
scripts/run_ialns.py - Base instances → Problem setup: loads instance
README.md - Exposure instances → Problem setup: loads instance
README.md - Single-run entry → Problem setup: builds problem
scripts/run_ialns.py - Problem setup → Initial solution: creates initial solution
scripts/run_ialns.py - Problem setup → Solution evaluation: evaluates initial solution
scripts/run_ialns.py - Problem setup → IALNS search: constructs optimizer
scripts/run_ialns.py - Initial solution → IALNS search: provides starting solution
src/ialns.py - IALNS search → Solution evaluation: evaluates candidates
README.md - Single-run entry → Solution evaluation: checks final solution
scripts/run_ialns.py - Single-run entry → Result serialization: serializes solution
scripts/run_ialns.py - Batch experiments → Single-run entry: invokes solve
scripts/run_experiments.py - Batch experiments → Solver parameters: loads settings
scripts/run_experiments.py - Batch experiments → Archived results: uses archived runs
README.md - Archived results → Result validation: supplies route records
scripts/validate_results.py - Result validation → Solution evaluation: re-evaluates routes
scripts/validate_results.py