<?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: Nonlinear Mix Integer Optimization in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Mix-Integer-Optimization/m-p/327910#M1647</link>
    <description>&lt;P&gt;PROC OPTMODEL does not (yet) support mixed integer nonlinear optimization, so the error message is expected. &amp;nbsp;Such problems can often be either linearized or solved indirectly. &amp;nbsp;Can you please share your data and code?&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jan 2017 02:08:06 GMT</pubDate>
    <dc:creator>RobPratt</dc:creator>
    <dc:date>2017-01-27T02:08:06Z</dc:date>
    <item>
      <title>Nonlinear Mix Integer Optimization</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Mix-Integer-Optimization/m-p/327900#M1646</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does proc optmodel support nonlinear mix integer optimization problem?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have formulated the problem and model in Proc Optmodel. I am getting following error message&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;– “ERROR: The NLP solver does not allow integer variables.”&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanking in advance&lt;/P&gt;
&lt;P&gt;Lokendra&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 00:39:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Mix-Integer-Optimization/m-p/327900#M1646</guid>
      <dc:creator>lokendra_devangan_corecompete_com</dc:creator>
      <dc:date>2017-01-27T00:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Nonlinear Mix Integer Optimization</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Mix-Integer-Optimization/m-p/327910#M1647</link>
      <description>&lt;P&gt;PROC OPTMODEL does not (yet) support mixed integer nonlinear optimization, so the error message is expected. &amp;nbsp;Such problems can often be either linearized or solved indirectly. &amp;nbsp;Can you please share your data and code?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 02:08:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Mix-Integer-Optimization/m-p/327910#M1647</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2017-01-27T02:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Nonlinear Mix Integer Optimization</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Mix-Integer-Optimization/m-p/329024#M1651</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif; color: black;"&gt;A representative expression is&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif; color: black;"&gt;Demand &amp;nbsp;= Constant x (RecommendedPrice/FullPrice)^(-1.8) x (CompetitorPrice/FullPrice)^(-1.5)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif; color: black;"&gt;RecommendedPrice is a decision variable and Revenue = Demand x RecommendedPrice is in the objective function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif; color: black;"&gt;We have some logical constraints on RecommendedPrices&amp;nbsp;which we are modeling using binary variables. The actual problem has many products for which we are determining the price and there are relationships among these prices which are either&amp;nbsp;logical (leading to binary variables) or linear.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif; color: black;"&gt;As now we know Proc Optmodel does not support this kind of problem. &amp;nbsp;We are trying to use Proc OPTLSO. &amp;nbsp;We are trying to use proc optmodel to generate QPS or MPS data but since this is not quadratic problem and also not a linear problem we get error. &amp;nbsp;In the support they suggest to use Proc FCMP to produce problem statement and use OPTLSO to solve. &amp;nbsp;Is there any otherway to get the expanded form of probelm.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif; color: black;"&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif; color: black;"&gt;Lokendra&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 10:15:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Mix-Integer-Optimization/m-p/329024#M1651</guid>
      <dc:creator>lokendra_devangan_corecompete_com</dc:creator>
      <dc:date>2017-02-01T10:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Nonlinear Mix Integer Optimization</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Mix-Integer-Optimization/m-p/329166#M1653</link>
      <description>&lt;P&gt;To use PROC OPTMODEL to generate MPS or QPS, you must remove the nonlinear parts and handle them separately with PROC FCMP, as in this doc example:&amp;nbsp;&lt;A href="http://go.documentation.sas.com/?docsetId=orlsoug&amp;amp;docsetVersion=14.2&amp;amp;docsetTarget=orlsoug_hplso_examples06.htm&amp;amp;locale=en" target="_self"&gt;Example 3.6 Using Nonlinear Constraints&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, what you have shown so far can be linearized by taking logs, with LogDemand and &lt;SPAN&gt;LogRecommendedPrice as your decision variables&lt;/SPAN&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;LogDemand &amp;nbsp;= log(Constant) -1.8&amp;nbsp;(LogRecommendedPrice - log(FullPrice)) -1.5&amp;nbsp;(log(CompetitorPrice) - log(FullPrice))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;LogRevenue = LogDemand + LogRecommendedPrice&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the full problem can be linearized, you can use the MILP solver in PROC OPTMODEL. &amp;nbsp;If you provide the full code and data, I'll take a look.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 17:18:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Mix-Integer-Optimization/m-p/329166#M1653</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2017-02-01T17:18:31Z</dc:date>
    </item>
  </channel>
</rss>

