Run a batch of resource‐allocation scenarios

run_scenarios(res_def, act_def, scenario_list, direction = "max")

Arguments

res_def

A resources spec as returned by define_resources()

act_def

An activities spec as returned by define_activities()

scenario_list

A named list of vectors; each vector are the alternative values for one resource (names must match res_def$resource)

direction

"max" or "min"

Value

A data.frame with one row per scenario, the scenario inputs, the achieved objective, and one column per activity giving the optimal level of that activity.