Skip to content

Add constraint for requested players #3

@aptmac

Description

@aptmac

It would be nice if a list of players could be selected that would be included in the lineup.

For example, tonight's multigame lineup doesn't include McDavid, which outside of the solver sounds like a poor idea. This could be implemented with a new column for "requested" and give the player values a 1.0, and the constraint would just make sure that the number of requested players equals the amount in this column. This might need a bit of tweaking, because requesting too many players could result in an unsolvable team.

Something like:
python dfs_solver.py rawdata/<whatever> request="Connor McDavid,Leon Draisaitl"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions