SebastienEveno / mckinseysolvegame

Solves the McKinsey Solve Game by finding a sustainable food chain from a given list of species.
MIT License
4 stars 2 forks source link

Optimize over all species group #21

Closed SebastienEveno closed 7 months ago

SebastienEveno commented 7 months ago

Instead of selecting the group of species based on the maximum sum of calories provided and do the optimization on that group, just loop over each group of species, perform the optimization on that group and return the species that form the longest sustainable food chain.