<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Finding the perfect lightweight hiking food in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Finding-the-perfect-lightweight-hiking-food/m-p/747914#M92789</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/41830"&gt;@RatioModelOx453&lt;/a&gt;&amp;nbsp; &amp;nbsp;And this may or may not fit in somewhere; excluding&amp;nbsp;alcohol from the conversation, Calories only come from three things: carbs (approx 4 Calories/gram), protein (approx 4 Calories/gram) and fat (approx 9 Calories/gram). For our European friends, Calorie = kilocalorie. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So your 60%/20%/20% could be by weight, or by energy load. Convention is by weight…&lt;/P&gt;</description>
    <pubDate>Thu, 18 Apr 2024 12:44:47 GMT</pubDate>
    <dc:creator>MRB3855</dc:creator>
    <dc:date>2024-04-18T12:44:47Z</dc:date>
    <item>
      <title>Finding the perfect lightweight hiking food</title>
      <link>https://community.jmp.com/t5/Discussions/Finding-the-perfect-lightweight-hiking-food/m-p/747331#M92746</link>
      <description>&lt;P&gt;This rabbit hole is just for fun: I found a &lt;A href="https://docs.google.com/spreadsheets/u/0/d/1CNxcyoTR8J2aCjdfo_zv1l-0XoVktNbXts6-ZlxtODE/htmlview?pli=1#gid=0" target="_self"&gt;huge spreadsheet&lt;/A&gt; that lists data for thousands of potential hiking foods.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is: What is the most lightweight mixture of foods that you can bring camping that has the ideal balance of macronutrients? (60% carbs, 20% protein, 20% fats).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thoughts:&lt;/P&gt;&lt;P&gt;1. You want to minimize the weighted average g/calories.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;I'll assume you can get micronutrients by taking pills.&lt;/P&gt;&lt;P&gt;3. I'll assume variety/taste doesn't matter because the goal is to carry as little weight as possible.&lt;/P&gt;&lt;P&gt;4. I'm guessing that you want to ask JMP to try a lot of possible combinations with some maximum for the number of ingredients (10?) and tell it to hit the macronutrients goal and calculate and minimize the weighted average g/calories.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But how?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 20:01:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Finding-the-perfect-lightweight-hiking-food/m-p/747331#M92746</guid>
      <dc:creator>RatioModelOx453</dc:creator>
      <dc:date>2024-04-16T20:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the perfect lightweight hiking food</title>
      <link>https://community.jmp.com/t5/Discussions/Finding-the-perfect-lightweight-hiking-food/m-p/747535#M92763</link>
      <description>&lt;P&gt;I'd start by sorting the list by distance from ideal ratio&lt;/P&gt;
&lt;P&gt;sqrt( (carbs-60)^2 + (protein-20)^2 + (fats-20)^2 )&lt;/P&gt;
&lt;P&gt;... no I wouldn't. How about this:&lt;/P&gt;
&lt;P&gt;Step 1: I'd start by sorting the list by weight and add 1 unit of lowest weight product to my bag.&lt;/P&gt;
&lt;P&gt;Step 2: Then I'd look at the ratio of all the products in the bag and add 1 unit of the lowest weight that steers the ratio in the right direction.&lt;/P&gt;
&lt;P&gt;Repeat step 2 until the bag is full. With or without replacement, according to taste.&lt;/P&gt;
&lt;P&gt;Interesting problem. You should consult a nutritionist before starting this diet!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 15:03:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Finding-the-perfect-lightweight-hiking-food/m-p/747535#M92763</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2024-04-17T15:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the perfect lightweight hiking food</title>
      <link>https://community.jmp.com/t5/Discussions/Finding-the-perfect-lightweight-hiking-food/m-p/747540#M92764</link>
      <description>&lt;P&gt;I think your approach would work. I wonder if you could do Step 1 and then Step 2 (once) and then automate the iteration of Step 2.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 15:11:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Finding-the-perfect-lightweight-hiking-food/m-p/747540#M92764</guid>
      <dc:creator>RatioModelOx453</dc:creator>
      <dc:date>2024-04-17T15:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the perfect lightweight hiking food</title>
      <link>https://community.jmp.com/t5/Discussions/Finding-the-perfect-lightweight-hiking-food/m-p/747545#M92765</link>
      <description>&lt;P&gt;Yes, use JSL to run that loop. I don't think there is a builtin platform for filling a bag, though I'm not familiar with the consumer research area in JMP.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have another variable as well, calories, which I'm not accounting for. I'm not sure how to fit that in either. Perhaps you should figure out the calorie requirement for the hike and steer each subsequent selection with that as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 15:21:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Finding-the-perfect-lightweight-hiking-food/m-p/747545#M92765</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2024-04-17T15:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the perfect lightweight hiking food</title>
      <link>https://community.jmp.com/t5/Discussions/Finding-the-perfect-lightweight-hiking-food/m-p/747914#M92789</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/41830"&gt;@RatioModelOx453&lt;/a&gt;&amp;nbsp; &amp;nbsp;And this may or may not fit in somewhere; excluding&amp;nbsp;alcohol from the conversation, Calories only come from three things: carbs (approx 4 Calories/gram), protein (approx 4 Calories/gram) and fat (approx 9 Calories/gram). For our European friends, Calorie = kilocalorie. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So your 60%/20%/20% could be by weight, or by energy load. Convention is by weight…&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 12:44:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Finding-the-perfect-lightweight-hiking-food/m-p/747914#M92789</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2024-04-18T12:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the perfect lightweight hiking food</title>
      <link>https://community.jmp.com/t5/Discussions/Finding-the-perfect-lightweight-hiking-food/m-p/748093#M92813</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/7073"&gt;@MRB3855&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it sounds like a problem you can be solving utilizing the &lt;A href="https://en.wikipedia.org/wiki/Knapsack_problem" target="_self"&gt;knapsack algorithm&lt;/A&gt;, you&amp;nbsp;may need to give it a little twist to take into account the fractions you mentioned.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 21:42:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Finding-the-perfect-lightweight-hiking-food/m-p/748093#M92813</guid>
      <dc:creator>gonzaef</dc:creator>
      <dc:date>2024-04-18T21:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the perfect lightweight hiking food</title>
      <link>https://community.jmp.com/t5/Discussions/Finding-the-perfect-lightweight-hiking-food/m-p/748094#M92814</link>
      <description>&lt;P&gt;This is a great idea. I haven't used that algorithm before.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 21:45:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Finding-the-perfect-lightweight-hiking-food/m-p/748094#M92814</guid>
      <dc:creator>RatioModelOx453</dc:creator>
      <dc:date>2024-04-18T21:45:21Z</dc:date>
    </item>
  </channel>
</rss>

