View source: R/funcs_set-get-scenario.R
set_scenario_constraints | R Documentation |
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
set_scenario_constraints(scenario, constraints_list)
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 |
updated scenario list-object not exported as it is called by the set_scenario function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.