set_scenario_constraints: Set key scenario information: constraints

View source: R/funcs_set-get-scenario.R

set_scenario_constraintsR Documentation

Set key scenario information: constraints

Description

This function takes a scenario object, and updates the scenario to optimise to the desired budget or target. If a base case scenario is required - budget and target should be NA

Usage

set_scenario_constraints(scenario, constraints_list)

Arguments

scenario

scenario list-object.

constraints_list

list, where each element of the list is an updated constraints table matching at least one of the constraints groupings set in the scenario_settings table

Value

updated scenario list-object not exported as it is called by the set_scenario function


cath-parkinson/mm.reoptimise documentation built on May 12, 2022, 3:34 p.m.