exact_model: Model to solve the exact problem of Aircraft Selection and...

Description Usage Arguments Value Examples

Description

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

Usage

1
2
exact_model(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'.

M_prime

penalization for the breach of the minimum aircrafts on a wildfire.

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()
sol <- WildfireResources::exact_model(data, solver="gurobi")

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::exact_model(data1)
sol

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