Closed neufeldtech closed 7 years ago
Looking at the sample data you pasted, it looks like the salaries are much higher than BuildLPModel.py
expects. Try changing the upper bound on team salary in line 58.
@bradfordboyle That solved my issue, thanks!
Hi, I found your fantasy-football project and am interested try it out with my own data. I've attempted to run the
lp_solve
command with some sample data but am running into issues. Would you be able to let me know what is necessary to be able to run this project as "standalone" (without scraping Yahoo, CBS, etc). The command that I tried was the following (I realise I'm probably missing the total salary cap constraint, and possibly other data, but am not sure where these params need to be injected).test_dataset1.csv sample
(100 rows)Building the model
$ ./BuildLPModel.py --file files/test_dataset1.csv >! files/test_dataset1.lp
Running the model
Any assistance that you can provide would be greatly appreciated. Thank you.