New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add_min_size_constraints [feature proposal] #29
Comments
Hi, Magali |
Yeah, I completely agree. Unfortunately, the integer programming formulation for this type of constraint is really complex, and massively increases the size of the optimisation problem. I played around with this a while ago, but I wasn't able construct conservation planning problems with this type of constraint when there were more than 1000 planning units with constraints on 50 planning units per reserve (it worked with 5 planning units per reserve though) because the optimisation problem became so big that it wouldn't fit on my laptop computer (i.e. 8 GB RAM, see https://rpubs.com/jeffreyhanson/subgraphs-gremlin and try playing with the numbers, note this is just trying to generate the constraint data that would be input to an ILP solver, it doesn't actually use an ILP solver). There might be alternative mathematical formulations which might be more efficient, but it's beyond my ability at the moment to research them. So I don't see this constraint being added to prioritizr until a mathematical genius comes up with a more efficient mathematical formulation for adding these constraints. I'm sorry I don't have a more helpful answer. |
Yes, and I think that adding too much constraints would create either unfeasible problems or just make all the study area to be a reserve... For now, the spatial planning tools help to find important places to protect regarding the features, and that's the more important. I think that whith too strong constraints, the solution would maybe depend more on the constraint than on the feature conservation relevance. |
I propose adding a
add_min_size_constraints
function that would allow users to specify the minimum size a reserve can be to represent a particular feature. I think these constraints could be very useful when there is information on home range size or the size of population extents, though perhaps this might be only a small fraction of actual conservation planning scenarios.The function could look something like this:
What do people think? Would it be useful in prioritizr?
The text was updated successfully, but these errors were encountered: