Helper function to run prioritizr::solve() and log output and resulting raster

solve_log(p, pfx = deparse(substitute(p)), redo = F, debug = F, ...)

Arguments

p

problem to feed into solve

log

path to output log from solving problem

Value

output from solve