Repository navigation
Installation of Julia
These steps have been tested with Julia 1.12.5 on Windows (x64).
For the latest version, see https://julialang.org/downloads/.
Open a Command Prompt and run:
winget install --name Julia --id 9NJNWW8PVKMN -e -s msstore
Start Julia:
julia
Then at the julia> prompt, install the required packages:
import Pkg
Pkg.add("Arrow")
Pkg.add("JuMP")
Pkg.add("HiGHS")| Package | Purpose |
|---|---|
Arrow |
Reading and writing .arrow data files produced by GeoDMS |
JuMP |
Algebraic modelling interface for optimisation problems |
HiGHS |
LP and MIP solver (used via JuMP) |
Exit Julia with Ctrl-D.
From the command line:
set TRAVEL_FUNC=LINEAR
set COUNTRIES=Netherlands
julia lambda_sweep_simplex.jl
lambda_sweep_simplex.jl is the pharmacy λ-sweep driver on the ServiceAccess branch; the scripts are controlled by environment variables (COUNTRIES, TRAVEL_FUNC, …) listed with their defaults in settings.jl. See Pharmacy service access for the available scripts and the full workflow, and Service allocation procedure for the older school-era runners (lp.jl, greedy.jl). Random and LinearAlgebra, which the scripts also use, ship with Julia.
The scripts read the Arrow files under C:\LocalData\networkmodel_eu\<ANALYSIS>\ (ANALYSIS = ExistingPharmacies or NewPharmacies; paths in settings.jl), one set per study area named by COUNTRIES. The Arrow files are generated by GeoDMS — see Pharmacy service access for the pipeline that produces them and the files the sweep writes back.
NetworkModel EU documentation
Start here
Understanding the method
- The facility location model explained
- Travel cost functions
- The lambda sweep and the Pareto frontier
- From LP fractions to real pharmacies
- Scenarios S1 S2 S3
- Scope rules and data gaps
- Metrics aggregation and ranking
- Background theory
Working with the code
- GeoDMS OD matrix and choice set
- Code walkthrough settings
- Code walkthrough lp_run
- Code walkthrough lambda_sweep_simplex
- Running a sweep end to end
- Log lines and output files
- Deck and charts pipeline
- Installation of Julia
Reference
- Lambda sweep method
- Pharmacy service access
- Pharmacy results September 2026
- Decision log
- Alternatives not pursued
- FAQ
- Glossary
- Service allocation procedure
External