Python Forum
Loop to find the best combination/score
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loop to find the best combination/score
#4
The MVP will be the same player for every team. If Luka costs nothing, Luka will be the MVP for all top teams. Now you need to create teams of 4 from the remaining 19 players, or 69 players.
C(19,4) = 3874. C(69, 4) = 864501
These are large, but not huge numbers.

Am I correct thinking that you use "Score1" to measure the value of the player? Is Brook Lopez better than Max Strus? Brook has a higher score but a lower average. If you sort values by score, you can grab the top 4 players (minus Luka) and their point cap is < 120
Reply


Messages In This Thread
RE: Loop to find the best combination/score - by deanhystad - Dec-29-2022, 07:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to update score value? Mavoz 5 2,639 Nov-08-2022, 12:37 AM
Last Post: Mavoz
  Algorithm to generate a combination guvinicius2 5 2,678 Aug-15-2020, 10:42 PM
Last Post: deanhystad
  loops in combination with lists Juru 4 2,898 May-07-2020, 02:58 PM
Last Post: Marbelous
  Average score MartinEvtimov 5 6,991 Apr-02-2017, 07:35 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020