solve_CHWplacement.Rd
This function tranforms the output of a Gurobi opitimisation into map coordinates
solve_CHWplacement(
population.raster,
friction.raster,
shp,
buffer,
access.raster,
radius,
capacity.name,
popurb.raster,
name,
is.inside = F,
write = F,
filepath
)
raster map containing population densities
raster map containing friction surface
shapefile of the area of interest
buffer around current HF
raster map containing the distance to HF layer
dimension of the radius around the point (same dimension as T.GC, e.g minutes)
name (character) given to the capacity definition (for folder naming purposes)
raster map containing the urban population layer
name of the MPS file
whether CHW are placed inside the buffer (if FALSE, they are placed outside)
f TRUE, the output is written as a csv file in filepath
directory where to store the MPS file
a MPS file containing the optimisation program