Method to Generate lineups

# S4 method for optimizer
build_lineups(
  object,
  num_lineups = 1,
  existing_lineups = list(),
  solver = "glpk",
  maximize = TRUE,
  verbose = TRUE
)

Arguments

object

an S4 object of class Optimizer

num_lineups

Number of lineups to generate

existing_lineups

Optional. You can include previously defined lineups by passing the lineupClass output of a previous build_lineups call. This allows you to build some lineups, change the parameters of your model or the data itself, and build additional lineups while ensuring all lineups are unique across models.

solver

The solver method (defaults to 'glpk').

maximize

Whether the model is intended to maximize (the default) or minimize the objective function

verbose

Whether to show a progress bar when building models. Defaults to TRUE.