set_max_budget-optimizer-method: Set the maximium budget for the model

set_max_budget,optimizer-methodR Documentation

Set the maximium budget for the model

Description

Used to set a upper-bound budget for all lineups

Usage

## S4 method for signature 'optimizer'
set_max_budget(object, max_budget)

Arguments

object

An optimizer object

max_budget

The max budget value

Value

Updated optimizer object

Examples

## Not run: 
# Set the maximum budget to 45000
opt <- opt %>%
  set_max_budget(45000)

## End(Not run)


anthonyshook/dfsOptimizer documentation built on Jan. 4, 2023, 11:36 a.m.