Wrapper around dk_optimize_lineup()
. Can return an
arbitrary number of optimal lineups in succession.
Arguments
- schematic
Output from
dk_prepare_schematic()
which includes information needed for optimization; including player info such as, news status, salary, and projected fantasy points.- n
Number of lineups to return.
- tolerance
The difference in fantasy points between the previous optimal lineup and the current optimal lineup during iterations. Usually the default of 0.001 is fine.