Need help in optimal resource allocation for limited spaces
Here's the problem. I'm creating a program that can allocate the optimal amount of sound files that can be fit in a limited space, i.e. I have 17 tracks that I have to allocate to a 90-minute cassette. I need to have the optimal allocation that I can do for Side A, in other words, the optimal group of tracks for that side.
I know there's a formula for that, unfortunately I can't remember and I can't find an online resource for the subject. Please help. Thanks.