<?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 Related question about Sparse Modeling about my earlier post in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/Related-question-about-Sparse-Modeling-about-my-earlier-post/m-p/868830#M3881</link>
    <description>&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;This is a related question to my earlier post. Since its a tangential question, I am posting it as a new thread. The link to the actual thread is &lt;A href="https://communities.sas.com/t5/Mathematical-Optimization/Network-Optimization-question/m-p/868593#M3875" target="_self"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just a tangential question of the same model: This is about how sparse modeling. In the sample set I gave you for my actual problem, the cost from IC to DC is different. that can be one flavor of the model and is totally fine to have that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, there is another flavor where the cost from IC to dest_code is always the same. See table below. It is $100 per kg from BUD_A to JFK.&amp;nbsp; Just that there are different Dest_Codes and so I have it as $100 for each possible combination of it. While this is not wrong, can we make this more efficient by building a sparse set of {BUD_A to JFK}?&amp;nbsp; If yes, how do it do it? The first thought that came to my mind was if the cost is $100 for all the dest_code when why can't we have one dest_code and say JFK instead of JFK_N_OP_3 etc etc and be done with it. I need the granular definition of dest_code for me to compare what happened originally vs what SAS model gave. So , that is where I am coming from. Please help me with you thoughts.&lt;/P&gt;&lt;PRE&gt;Mot1	Dest_Code	Outbound_Rate
BUD_A	JFK_N_OP_3	100
BUD_A	JFK_N_SY_3	100
BUD_A	JFK_N_CH_3	100
BUD_A	JFK_N_RA_3	100
BUD_A	JFK_N_SY_2	100
BUD_A	JFK_N_OP_2	100&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Apr 2023 10:08:56 GMT</pubDate>
    <dc:creator>Santha</dc:creator>
    <dc:date>2023-04-10T10:08:56Z</dc:date>
    <item>
      <title>Related question about Sparse Modeling about my earlier post</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Related-question-about-Sparse-Modeling-about-my-earlier-post/m-p/868830#M3881</link>
      <description>&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;This is a related question to my earlier post. Since its a tangential question, I am posting it as a new thread. The link to the actual thread is &lt;A href="https://communities.sas.com/t5/Mathematical-Optimization/Network-Optimization-question/m-p/868593#M3875" target="_self"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just a tangential question of the same model: This is about how sparse modeling. In the sample set I gave you for my actual problem, the cost from IC to DC is different. that can be one flavor of the model and is totally fine to have that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, there is another flavor where the cost from IC to dest_code is always the same. See table below. It is $100 per kg from BUD_A to JFK.&amp;nbsp; Just that there are different Dest_Codes and so I have it as $100 for each possible combination of it. While this is not wrong, can we make this more efficient by building a sparse set of {BUD_A to JFK}?&amp;nbsp; If yes, how do it do it? The first thought that came to my mind was if the cost is $100 for all the dest_code when why can't we have one dest_code and say JFK instead of JFK_N_OP_3 etc etc and be done with it. I need the granular definition of dest_code for me to compare what happened originally vs what SAS model gave. So , that is where I am coming from. Please help me with you thoughts.&lt;/P&gt;&lt;PRE&gt;Mot1	Dest_Code	Outbound_Rate
BUD_A	JFK_N_OP_3	100
BUD_A	JFK_N_SY_3	100
BUD_A	JFK_N_CH_3	100
BUD_A	JFK_N_RA_3	100
BUD_A	JFK_N_SY_2	100
BUD_A	JFK_N_OP_2	100&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 10:08:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Related-question-about-Sparse-Modeling-about-my-earlier-post/m-p/868830#M3881</guid>
      <dc:creator>Santha</dc:creator>
      <dc:date>2023-04-10T10:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Related question about Sparse Modeling about my earlier post</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Related-question-about-Sparse-Modeling-about-my-earlier-post/m-p/868886#M3884</link>
      <description>&lt;P&gt;If various dest_codes can be merged into one when they have the same costs, that sounds like a good way to reduce the model size.&amp;nbsp; You can do this in the input data creation steps rather than changing the optimization model.&amp;nbsp; Any comparisons between solutions with different granularity can be done in postprocessing, outside of PROC OPTMODEL.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 16:01:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Related-question-about-Sparse-Modeling-about-my-earlier-post/m-p/868886#M3884</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2023-04-10T16:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Related question about Sparse Modeling about my earlier post</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Related-question-about-Sparse-Modeling-about-my-earlier-post/m-p/869080#M3885</link>
      <description>&lt;P&gt;Thanks Rob. I will do that if we are going to do that flavor of the model where the various dest_codes can be merged. thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 11:23:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Related-question-about-Sparse-Modeling-about-my-earlier-post/m-p/869080#M3885</guid>
      <dc:creator>Santha</dc:creator>
      <dc:date>2023-04-11T11:23:58Z</dc:date>
    </item>
  </channel>
</rss>

