I'm not super awesome with math, and I have a small programming project I'm working on for a friend that I'm wondering if I can get help from someone at a math forum on the calculations required to do this:
I have 210 base food types weighed at 1 gram with data on 50 minerals/vitamins for each and the calorie value. I also have the values for the Recommended Dietary Allowance for each of these minerals/vitamins.
My goal is to determine which sets of food can be combined that will not exceed 2500 calories, but are also >= the RDA values.
I'll also be adding increments of gram weights doubling the previous weight: 1, 2, 4, 8, etc., all the way up to 2048. This will create an enormous amount of permutations and I'm having trouble determining the best way of figuring the food sets.
Basically, all of the minerals/vitamins that have data have to be accounted for before it can be a valid set of food.
If you need any specifics on data, I can provide it, but I was just curious if anyone even thought it was possible for to help me based on the criteria and expected outcome.