Description
Generates Spatial Problems in R for 'AMPL'.
Description
Provides methods for generating .dat files for use with the 'AMPL' software using spatial data, particularly rasters. It includes support for various spatial data formats and different problem types. By automating the process of generating 'AMPL' datasets, this package can help streamline optimization workflows and make it easier to solve complex optimization problems. The methods implemented in this package are described in detail in a publication by Fourer et al. (<doi:10.1287/mnsc.36.5.519>).
README.md
TroublemakeR
The goal of TroublemakeR is to generate an r package which will help generate spatially explicit problems from spatial data to AMPL optimization software
Installation
You can install the development version of TroublemakeR from GitHub with:
# install.packages("devtools")
devtools::install_github("Sustainscapes/TroublemakeR")
Example
This is a basic example which shows you how to solve a common problem:
library(TroublemakeR)
## basic example code