Learn R Programming

Multi-Action Conservation Planning

This project was financed by the National Agency of Research and Development, ANID, Chile, through the grant FONDECYT N.1180670 and through the Complex Engineering Systems Institute PIA/BASAL AFB180003. Also it has received funding from the European Union’s H2020 research and innovation program under the Marie Sklodowska-Curie grant agreement N.691149 (SuFoRun).

Overview

The prioriactions package allows you to create and solve conservation planning problems that involve multiple threats and actions. This uses techniques of integer linear programming (ILP), obtaining optimal solutions or with a certain degree of guaranteed quality (gap). Due to its flexibility, the package offers the possibility of creating different mathematical models with multiple requirements (spatial, budget requirements, etc.). All the included models are presented in detail in Salgado-Rojas et al. (2020). The package has a variety of commercial and open-source exact algorithm solvers that guarantee to find optimal solutions.

Installation

Package prioriactions can be found at CRAN, where it is updated every few months. Installation from CRAN can be done via:

install.packages("prioriactions")

Also, the latest development version of prioriactions can be installed from GitHub using the following code (If you are using Windows, it is necessary to install Rtools beforehand).

if (!require(remotes)) install.packages("remotes")
remotes::install_github("prioriactions/prioriactions")

Usage

You can browse the package documentation online at https://prioriactions.github.io/prioriactions/.

If this is your first time using prioriactions, we strongly recommend reading the Introduction to prioriactions vignette.

If you believe you’ve found a bug in prioriactions, please file a bug (and, if possible, a reproducible example) at https://github.com/prioriactions/prioriactions/issues.

References

  • Salgado-Rojas J, Alvarez-Miranda E, Hermoso V, Garcia-Gonzalo J, Weintraub A. A mixed integer programming approach for multi-action planning for threat management. Ecological Modelling 2020; 418:108901. DOI: https://doi.org/10.1016/j.ecolmodel.2019.108901.

Copy Link

Version

Install

install.packages('prioriactions')

Monthly Downloads

289

Version

0.5.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

August 13th, 2023

Functions in prioriactions (0.5.0)

getModelInfo

Extract general information about mathematical model
getCost

Extract cost values
show

Show
getSolutionBenefit

Extract benefit values
print

Print
portfolio-class

Portfolio class
optimizationProblem-class

Optimization problem class
inputData

Creates the multi-action planning problem
prioriactions

Create and solve multi-actions planning problems
%>%

Pipe operator
simData

Simulated multi-action planning data
problem

Create mathematical model
solution-class

Solution class
solve

Solve mathematical models
getActions

Extract action information
evalTarget

Evaluate multiple target values
getPerformance

Extract general information about solution
data-class

Data class
evalBlm

Evaluate multiple blm values
getConnectivityPenalty

Extract connectivity penalty values
evalBudget

Evaluate multiple budget values
getPotentialBenefit

Extract potential benefit of features