<?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 Allowed Increased Right Han Side (Mathematical Programming) in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Allowed-Increased-Right-Han-Side-Mathematical-Programming/m-p/651264#M9200</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How Do I show the allowed increased right han side for an specific constraint in SAS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for Help&lt;/P&gt;&lt;P&gt;apcor&lt;/P&gt;</description>
    <pubDate>Thu, 28 May 2020 02:57:07 GMT</pubDate>
    <dc:creator>apcor</dc:creator>
    <dc:date>2020-05-28T02:57:07Z</dc:date>
    <item>
      <title>Allowed Increased Right Han Side (Mathematical Programming)</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Allowed-Increased-Right-Han-Side-Mathematical-Programming/m-p/651264#M9200</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How Do I show the allowed increased right han side for an specific constraint in SAS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for Help&lt;/P&gt;&lt;P&gt;apcor&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 02:57:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Allowed-Increased-Right-Han-Side-Mathematical-Programming/m-p/651264#M9200</guid>
      <dc:creator>apcor</dc:creator>
      <dc:date>2020-05-28T02:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Allowed Increased Right Han Side (Mathematical Programming)</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Allowed-Increased-Right-Han-Side-Mathematical-Programming/m-p/651274#M9201</link>
      <description>&lt;P&gt;Please describe what you mean by "increased right hand side"."Increased" from what? to what value?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It might be best to show an example of the code you are working with or attempting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 04:08:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Allowed-Increased-Right-Han-Side-Mathematical-Programming/m-p/651274#M9201</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-05-28T04:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Allowed Increased Right Han Side (Mathematical Programming)</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Allowed-Increased-Right-Han-Side-Mathematical-Programming/m-p/651287#M9202</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For example in this case:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data profit_per_Lot;
input product $ profit;
datalines;
High 400
Supreme 1000
;
data Additive_per_Lot;
input additive $ High Supreme;
datalines;
A 15 10
B 5 15
;
%let Capacity_Plant = 22; /*Capacidad de la Planta*/
%let UB_AdditiveA = 300;
%let UB_AdditiveB = 280;
proc optmodel;
set &amp;lt;string&amp;gt; Products;
num Profit {Products};
read data profit_per_lot into Products = [product] Profit = profit;
print Profit;


set &amp;lt;string&amp;gt; Additive;
num Composition {Products, Additive};
read data Additive_per_Lot into Additive = [additive] {i in Products}
	&amp;lt;Composition[i, additive] = col(i)&amp;gt;;
print Composition;

var Prod {Products} &amp;gt;=0; /*How much should I produce from each product*/
impvar Revenue = sum {i in Products} Profit[i]*Prod[i];

con AdditiveAvailableA {j in Additive: j='A'}:
	sum {i in Products} Prod [i] * Composition [i,j] &amp;lt;= &amp;amp;UB_AdditiveA;
con AdditiveAvailableB {j in Additive: j='B'}:
	sum {i in Products} Prod [i] * Composition [i,j] &amp;lt;= &amp;amp;UB_AdditiveB;
con CapacityAvailable:
	sum {i in Products} Prod [i] &amp;lt;= &amp;amp;Capacity_Plant;

max R = Revenue;
solve;
print Prod AdditiveAvailableA.body AdditiveAvailableB.body;
print AdditiveAvailableA.dual AdditiveAvailableA.lb AdditiveAvailableA.ub AdditiveAvailableA.status;
print AdditiveAvailableB.dual AdditiveAvailableB.lb AdditiveAvailableB.ub;

QUIT;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;For the restriction&amp;nbsp;&lt;CODE class=" language-sas"&gt;AdditiveAvailableA&lt;/CODE&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know in which range the dual price of this resource is kept (UB_AdditiveA = 300). I know I can calculate it manually because it is a simple example but is there a command that allows me to get this range directly?&lt;/P&gt;&lt;P&gt;Thanks for Help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 05:14:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Allowed-Increased-Right-Han-Side-Mathematical-Programming/m-p/651287#M9202</guid>
      <dc:creator>apcor</dc:creator>
      <dc:date>2020-05-28T05:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Allowed Increased Right Han Side (Mathematical Programming)</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Allowed-Increased-Right-Han-Side-Mathematical-Programming/m-p/651347#M9203</link>
      <description>&lt;P&gt;It is SAS/OR problem. Plz post it at OR forum,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1636"&gt;@RobPratt&lt;/a&gt;&amp;nbsp; is there .&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 10:59:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Allowed-Increased-Right-Han-Side-Mathematical-Programming/m-p/651347#M9203</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-05-28T10:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Allowed Increased Right Han Side (Mathematical Programming)</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Allowed-Increased-Right-Han-Side-Mathematical-Programming/m-p/652320#M9207</link>
      <description>&lt;P&gt;Ok Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 18:11:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Allowed-Increased-Right-Han-Side-Mathematical-Programming/m-p/652320#M9207</guid>
      <dc:creator>apcor</dc:creator>
      <dc:date>2020-06-01T18:11:45Z</dc:date>
    </item>
  </channel>
</rss>

