solve_CHWplacement_wrapper.Rd
This function is a wrapper on solve_CHWplacement that can control execution time
solve_CHWplacement_wrapper(
population.raster,
friction.raster,
shp,
buffer,
access.raster,
radius,
capacity.name,
popurb.raster,
name,
is.inside = F,
write = F,
filepath,
mytimeout = 10
)
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
maximal time (in seconds) that the function is allowed to search for the maximum
a MPS file containing the optimisation program