Multichem commited on
Commit
3b6c847
·
1 Parent(s): c9f3a65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -787,6 +787,7 @@ with tab2:
787
  player_proj = dict(zip(flex_file['Player'], flex_file['Median']))
788
 
789
  obj_salary = {idx: (flex_file['Salary'][idx]) for idx in flex_file.index}
 
790
  total_score += pulp.lpSum([player_vars[idx]*obj_salary[idx] for idx in flex_file.index]) <= max_sal1
791
  total_score += pulp.lpSum([player_vars[idx]*obj_salary[idx] for idx in flex_file.index]) >= min_sal1
792
 
 
787
  player_proj = dict(zip(flex_file['Player'], flex_file['Median']))
788
 
789
  obj_salary = {idx: (flex_file['Salary'][idx]) for idx in flex_file.index}
790
+ obj_own_max = {idx: (flex_file['Proj DK Own%'][idx]) for idx in flex_file.index}
791
  total_score += pulp.lpSum([player_vars[idx]*obj_salary[idx] for idx in flex_file.index]) <= max_sal1
792
  total_score += pulp.lpSum([player_vars[idx]*obj_salary[idx] for idx in flex_file.index]) >= min_sal1
793