constr_players_per_team: Players per Team Constraint

View source: R/constraints.R

constr_players_per_teamR Documentation

Players per Team Constraint

Description

Players per Team Constraint

Usage

constr_players_per_team(model, players, players_per_team, exact = FALSE)

Arguments

model

Model object

players

List of player objects

players_per_team

Positions to limit by team

exact

Logical. Whether the team filter values should be honored exactly. Defaults to FALSE.

Details

Accepts either a named list of teams with numbers.


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