wildfire_resources: Model to solve the Aircraft Selection and Allocation problem...

Description Usage Arguments Value Examples

Description

Model to solve the Aircraft Selection and Allocation problem (ASA) for the containment of a wildfire.

Usage

1
2
wildfire_resources(data, solver = "gurobi", solver_options = list(TimeLimit
  = 600, OutputFlag = 0))

Arguments

data

a list with the needed information about aircrafts and wildfire. For more information see example_data function.

solver

solver name, 'gurobi', 'Rsymphony' or 'lpSolve'.

solver_params

list of gurobi options. Defaults to list(TimeLimit=600, OutputFlag = 0).

Value

information about the selection and allocation of the aircrafts.

Examples

1
2
3
4
5
6
7
8
9
data <- WildfireResources::example_data()
WildfireResources::wildfire_resources(data, solver="lpSolveAPI")

resources_file <- 'example/feasible/Resources.csv'
fire_file <- 'example/feasible/Fire.csv'
csvs <- WildfireResources::load_data(resources_file, fire_file)
data1 <- WildfireResources::get_data(csvs$data.resources, csvs$data.fire, 10)
sol <- WildfireResources::wildfire_resources(data1)
sol

jorgerodriguezveiga/WildfireResources documentation built on May 31, 2019, 2:49 p.m.