set_max_budget-optimizer-method.Rd
Used to set a upper-bound budget for all lineups
# S4 method for optimizer
set_max_budget(object, max_budget)
An optimizer object
The max budget value
Updated optimizer object
if (FALSE) {
# Set the maximum budget to 45000
opt <- opt %>%
set_max_budget(45000)
}