scenario_optimization_tool: Impose Decision Constraints and Optimize Portfolio Selection

Description Usage Arguments Value

View source: R/main.R

Description

Impose Decision Constraints and Optimize Portfolio Selection

Usage

1
2
3
4
5
6
7
8
9
scenario_optimization_tool(
  optim_scenario,
  smart_tool_output,
  save_output = FALSE,
  save_filepath = NULL,
  max_output = 10000,
  create_scatterplots = FALSE,
  save_scatterplots = FALSE
)

Arguments

optim_scenario

List of length 2 with one element containing survey selection constraints and the other containing a logical argument enforcing a budget constraint.

smart_tool_output

A data.frame containing SMART tool inputs and outputs including survey priority scores and ranks produced by the imp_smart_tool function.

save_output

Logical value controlling whether output is saved as CSV. Default is FALSE.

save_filepath

File path to folder where output is saved. File names are internally generated.

max_output

Maximum number of portfolios to output. Default = 10000.

create_scatterplots

Logical argument controlling whether to print scatterplots.

save_scatterplots

Logical argument controlling whether to save scatterplots. save_filepath argument used to set save location.

Value

A data.frame containing survey portfolios meeting scenario constraints and listed in ranking order based on cost-benefit scores.


jlaufenb/akIMPsmarttool documentation built on Dec. 21, 2021, 12:12 a.m.