Results 1 to 4 of 4

Math Help - Base food combination permutations based on given criteria

  1. #1
    Newbie
    Joined
    May 2011
    Posts
    2

    Base food combination permutations based on given criteria

    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.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Aug 2007
    From
    USA
    Posts
    3,111
    Thanks
    2
    Will you also be combining in groups that make sense? Ot that taste good?
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    May 2011
    Posts
    2
    Nothing was specified about making sure only so much of each food group was present.
    I believe he is trying to prove something totally, no matter which foods you mix and match.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor
    Joined
    Aug 2007
    From
    USA
    Posts
    3,111
    Thanks
    2
    I'm game, but why can't I send a PM?
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 12
    Last Post: August 25th 2011, 08:10 PM
  2. permutations and combination
    Posted in the Discrete Math Forum
    Replies: 3
    Last Post: January 8th 2011, 06:38 AM
  3. [SOLVED] Combination and Permutations
    Posted in the Discrete Math Forum
    Replies: 2
    Last Post: September 14th 2010, 03:42 PM
  4. 2 question in permutations and Combination
    Posted in the Pre-Calculus Forum
    Replies: 5
    Last Post: February 27th 2010, 03:15 AM
  5. Permutations & Combination Problems - Need Help
    Posted in the Statistics Forum
    Replies: 1
    Last Post: January 27th 2009, 05:21 PM

Search Tags


/mathhelpforum @mathhelpforum