<?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: Proc OPTMODEL :  Order of a set   |  GAMS &amp;lt;--&amp;gt;  Optmodel comparison sheet |  MINLP solver in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-Order-of-a-set-GAMS-lt-gt-Optmodel-comparison/m-p/707912#M3255</link>
    <description>&lt;P&gt;Rob :&amp;nbsp; Thanks for the info.&lt;/P&gt;
&lt;P&gt;Is it in &amp;nbsp;(SAS 9.4, Rev. 940_20w39) or in a more recent one&lt;/P&gt;
&lt;P&gt;which is not yet listed ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Odenwald&lt;/P&gt;</description>
    <pubDate>Wed, 23 Dec 2020 15:59:55 GMT</pubDate>
    <dc:creator>ODENWALD</dc:creator>
    <dc:date>2020-12-23T15:59:55Z</dc:date>
    <item>
      <title>Proc OPTMODEL :  Order of a set   |  GAMS &lt;--&gt;  Optmodel comparison sheet |  MINLP solver</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-Order-of-a-set-GAMS-lt-gt-Optmodel-comparison/m-p/702986#M3234</link>
      <description>&lt;P&gt;Hi :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have two questions :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp; Frequently one needs a term as&amp;nbsp;&amp;nbsp; j * T[j] :&amp;nbsp; that's no problem if&amp;nbsp; j is numeric. However if you have { j in ARCS}&amp;nbsp; and your&amp;nbsp; ARCS&amp;nbsp; are&amp;nbsp; &amp;lt;NY,SF&amp;gt;&amp;nbsp; or the like you would need something as the&amp;nbsp; order function in&amp;nbsp; GAMS&amp;nbsp; ord(j) :&amp;nbsp; What is the equivalent in Optmodel ? Add :&amp;nbsp; When I write&amp;nbsp; { j in ARCS}&amp;nbsp; essentially I leave it to SAS to determine the order in which the arcs are processed: how can I recover that order ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp; People have to use what they find at their places. So it can occur that one has to translate a model formulation from&amp;nbsp; GAMS&amp;nbsp; to&amp;nbsp; SAS (Optmodel)&amp;nbsp; ore vice versa. Are you aware of any compilation of a kind of correspondence table between the two systems ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp; What is the state of the affairs with a&amp;nbsp; MINLP solver for Optmodel ??&amp;nbsp; GAMS&amp;nbsp; can&amp;nbsp; access one.&lt;/P&gt;
&lt;P&gt;SAS&amp;nbsp; BLACKBOX -&amp;nbsp; and&amp;nbsp; LSO - solvers both say they would perform with&amp;nbsp; around&amp;nbsp; 100&amp;nbsp; variables.&lt;/P&gt;
&lt;P&gt;Frequently you find yourself with around&amp;nbsp;&amp;nbsp; 600&amp;nbsp; which can technically go to&amp;nbsp; ~ 2000&amp;nbsp; variables&amp;nbsp; ......&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I understand that&amp;nbsp; Q3&amp;nbsp; needs time for answering.&amp;nbsp; Q1&amp;nbsp; and&amp;nbsp; Q2&amp;nbsp; should go more easily.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&amp;nbsp; ODENWALD .&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 07:07:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-Order-of-a-set-GAMS-lt-gt-Optmodel-comparison/m-p/702986#M3234</guid>
      <dc:creator>ODENWALD</dc:creator>
      <dc:date>2020-12-02T07:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc OPTMODEL :  Order of a set   |  GAMS &lt;--&gt;  Optmodel comparison sheet |  MINLP solver</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-Order-of-a-set-GAMS-lt-gt-Optmodel-comparison/m-p/703190#M3235</link>
      <description>&lt;P&gt;1. Here's a simple example that creates an ord array to access the set members by position:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc optmodel; 
   set S = /A B C/; 
   str ord {1..card(S)}; 
   num count init 0; 
   for {i in S} do; 
      count = count + 1; 
      ord[count] = i; 
   end; 
   print ord; 
   print ord[2];
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;2. I'm not aware of any such table.&lt;/P&gt;
&lt;P&gt;3. We do have long-term plans to provide a generic MINLP solver.&amp;nbsp; For now, Blackbox is the best choice.&amp;nbsp; Coming soon, OPTMODEL will provide automated linearization for several common use cases.&amp;nbsp; Stay tuned!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 19:42:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-Order-of-a-set-GAMS-lt-gt-Optmodel-comparison/m-p/703190#M3235</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2020-12-02T19:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Proc OPTMODEL :  Order of a set   |  GAMS &lt;--&gt;  Optmodel comparison sheet |  MINLP solver</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-Order-of-a-set-GAMS-lt-gt-Optmodel-comparison/m-p/707905#M3254</link>
      <description>&lt;P&gt;The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=v_007&amp;amp;docsetId=casmopt&amp;amp;docsetTarget=casmopt_optmodel_details56.htm&amp;amp;locale=en" target="_self" rel="nofollow noopener noreferrer"&gt;linearization&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;feature I mentioned is now available.&amp;nbsp; The idea is that you use the nonlinear expressions directly and then call:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;solve linearize;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For several common linearizable use cases, OPTMODEL introduces the new variables and constraints for you under the hood.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 15:39:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-Order-of-a-set-GAMS-lt-gt-Optmodel-comparison/m-p/707905#M3254</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2020-12-23T15:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Proc OPTMODEL :  Order of a set   |  GAMS &lt;--&gt;  Optmodel comparison sheet |  MINLP solver</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-Order-of-a-set-GAMS-lt-gt-Optmodel-comparison/m-p/707912#M3255</link>
      <description>&lt;P&gt;Rob :&amp;nbsp; Thanks for the info.&lt;/P&gt;
&lt;P&gt;Is it in &amp;nbsp;(SAS 9.4, Rev. 940_20w39) or in a more recent one&lt;/P&gt;
&lt;P&gt;which is not yet listed ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Odenwald&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 15:59:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-Order-of-a-set-GAMS-lt-gt-Optmodel-comparison/m-p/707912#M3255</guid>
      <dc:creator>ODENWALD</dc:creator>
      <dc:date>2020-12-23T15:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Proc OPTMODEL :  Order of a set   |  GAMS &lt;--&gt;  Optmodel comparison sheet |  MINLP solver</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-Order-of-a-set-GAMS-lt-gt-Optmodel-comparison/m-p/707931#M3256</link>
      <description>&lt;P&gt;It is in SAS Optimization in SAS Viya 2020.1.1.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 17:30:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-Order-of-a-set-GAMS-lt-gt-Optmodel-comparison/m-p/707931#M3256</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2020-12-23T17:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc OPTMODEL :  Order of a set   |  GAMS &lt;--&gt;  Optmodel comparison sheet |  MINLP solver</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-Order-of-a-set-GAMS-lt-gt-Optmodel-comparison/m-p/707935#M3258</link>
      <description>&lt;P&gt;When will it show up in&amp;nbsp; SAS/OR ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Odenwald&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 17:35:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-Order-of-a-set-GAMS-lt-gt-Optmodel-comparison/m-p/707935#M3258</guid>
      <dc:creator>ODENWALD</dc:creator>
      <dc:date>2020-12-23T17:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Proc OPTMODEL :  Order of a set   |  GAMS &lt;--&gt;  Optmodel comparison sheet |  MINLP solver</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-Order-of-a-set-GAMS-lt-gt-Optmodel-comparison/m-p/707962#M3259</link>
      <description>&lt;P&gt;That is yet to be determined.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 19:25:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-Order-of-a-set-GAMS-lt-gt-Optmodel-comparison/m-p/707962#M3259</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2020-12-23T19:25:16Z</dc:date>
    </item>
  </channel>
</rss>

