<?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: sas or package - blackbox in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/sas-or-package-blackbox/m-p/796688#M9084</link>
    <description>&lt;P&gt;According to the documentation "blackbox" is not one of the solvers available. The available solvers are listed&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/ormpug/ormpug_optmodel_syntax11.htm#ormpug.optmodel.npxsolvestmt" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Feb 2022 20:09:16 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2022-02-16T20:09:16Z</dc:date>
    <item>
      <title>sas or package - blackbox</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/sas-or-package-blackbox/m-p/796684#M9083</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use SAS OR package (BlackBox). I am getting error when I run the following code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR 573-782: Solver 'blackbox' is unknown.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use nlp package to solve this problem, I am getting output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also is there a way for us to get graphical output for this issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like ODS graphics on;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc optmodel;
var x {1..2};
x[1].lb = -5;
x[1].ub = 10;
x[2].lb = 0;
x[2].ub = 15;
num pi = constant('PI');
min f = (x[2]-(5.1/(4*pi^2))*x[1]^2+5*x[1]/pi-6)^2 + 10*(1-1/(8*pi))*cos(x[1]) + 10;
solve with blackbox;
print x;
quit;&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 19:59:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/sas-or-package-blackbox/m-p/796684#M9083</guid>
      <dc:creator>dht115</dc:creator>
      <dc:date>2022-02-16T19:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: sas or package - blackbox</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/sas-or-package-blackbox/m-p/796688#M9084</link>
      <description>&lt;P&gt;According to the documentation "blackbox" is not one of the solvers available. The available solvers are listed&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/ormpug/ormpug_optmodel_syntax11.htm#ormpug.optmodel.npxsolvestmt" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 20:09:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/sas-or-package-blackbox/m-p/796688#M9084</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-02-16T20:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: sas or package - blackbox</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/sas-or-package-blackbox/m-p/796701#M9085</link>
      <description>&lt;P&gt;The black-box optimization solver is available via the SOLVE WITH BLACKBOX statement starting with SAS/OR 15.2:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/ormpug/15.2/ormpug_lsosolver_toc.htm" target="_blank"&gt;SAS Help Center: The Black-Box Optimization Solver&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before that, in SAS/OR 15.1, it was called the local search optimization solver and invoked via the SOLVE WITH LSO statement:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/ormpug/ormpug_lsosolver_toc.htm?homeOnFail=" target="_blank"&gt;SAS Help Center: The Local Search Optimization Solver&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In later releases, SOLVE WITH LSO still works as a hidden alias for SOLVE WITH BLACKBOX.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC OPTMODEL does support ODS tables:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/v_022/ormpug/ormpug_optmodel_odstables.htm" target="_blank"&gt;SAS Help Center: ODS Table and Variable Names&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are looking for graphical output, you can instead use the CREATE DATA statement to create SAS data sets and then use SGPLOT or other procedures to produce plots.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 20:36:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/sas-or-package-blackbox/m-p/796701#M9085</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2022-02-16T20:36:48Z</dc:date>
    </item>
  </channel>
</rss>

