Used to set a upper-bound budget for all lineups

# S4 method for optimizer
set_max_budget(object, max_budget)

Arguments

object

An optimizer object

max_budget

The max budget value

Value

Updated optimizer object

Examples

if (FALSE) {
# Set the maximum budget to 45000
opt <- opt %>%
  set_max_budget(45000)
}