NFL, Fantasy Football, Machine Learning, Python, Fantasy Sports.
helper function to display the results. def summary(prob): div = '---------------------------------------\n' print("Variables:\n") score = str(prob.objective) constraints = [str(const) for const in prob.constraints.values()] for v in prob.variables(): score = score.replace(v.name, str(v.varValue))