This is a real life question.. I have a list of N favorite songs from an artist. Out of all M albums from the artist ever published,I want to buy a few albums to cover all of my N favorite songs, but I also want to minimize my spending. How to set up this problem as an optimization problem and how to solve it?
I feel this is an binary optimization program, as I either buy an album or not buy it.