This function tranforms the output of a SCIP opitimisation into map coordinates

read_CHWplacement_sol_SCIP(
  population.raster,
  friction.raster,
  access.raster,
  popurb.raster,
  shp,
  name,
  filepath,
  radius,
  capacity.name,
  buffer,
  is.inside,
  write = F
)

Arguments

population.raster

raster map containing population densities

friction.raster

raster map containing friction surface

access.raster

raster map containing the distance to HF layer

popurb.raster

raster map containing the urban population layer (urban pixels show the population in the pixel and the rural pixels are NA). Can be created with DefineUrban.

shp

shapefile of the area of interest

name

name (character) of the MPS file

filepath

directory where to store the MPS file

radius

dimension of the radius around the point (same dimension as T.GC, e.g minutes)

capacity.name

name (character) given to the capacity definition (for folder naming purposes)

buffer

buffer around current HF

is.inside

whether CHW are placed inside the buffer (if FALSE, they are placed outside)

write

if TRUE, the output is written as a csv file in filepath

Value

a csv file containing the optimisation program