<?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 - output in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-output/m-p/979707#M4410</link>
    <description>&lt;P&gt;The closest you can get to returning a BestBound solution is to solve the LP relaxation:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;solve relaxint;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The resulting objective value will often be close to the first or second BestBound value that appears in the iteration log.&amp;nbsp; The first BestBound value sometimes arises from a trivial bound that considers only the objective function and the variable bounds.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Nov 2025 16:57:01 GMT</pubDate>
    <dc:creator>RobPratt</dc:creator>
    <dc:date>2025-11-28T16:57:01Z</dc:date>
    <item>
      <title>Proc Optmodel - output</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-output/m-p/979704#M4407</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva" size="2"&gt;Hi, I ran Proc optmodel and I cannot find where to find the main results.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="2"&gt;In short:&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="2"&gt;proc optmodel Presolver=AGGRESSIVE printlevel=2 ;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="verdana,geneva" size="2"&gt;ods output PrintTable=expt ProblemSummary=exps DerivMethods=exdm&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="verdana,geneva" size="2"&gt;SolverOptions=exso SolutionSummary=exss OptStatistics=exos&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="verdana,geneva" size="2"&gt;Timing=exti;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="verdana,geneva" size="2"&gt;performance details;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="2"&gt;... &lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="verdana,geneva" size="2"&gt;var H {index} binary; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="verdana,geneva" size="2"&gt;var X {index} &amp;gt;=0;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="2"&gt;con SomeConstraint;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="2"&gt;...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="2"&gt;Max obj = sum {i in index} H_coef[i] * H[i] etc &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="verdana,geneva" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="2"&gt;Solve with milp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="2"&gt;create data solution from [_n_] H X; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="verdana,geneva" size="2"&gt;run ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="2"&gt;In the log:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Node Active Sols BestInteger BestBound Gap Time&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0 1 1 1418.6565253 3892.3166109 63,55% 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0 1 1 1418.6565253 2011.9662949 29,49% 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0 1 1 1418.6565253 2004.8377545 29,24% 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;NOTE: The MILP presolver is applied again.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0 1 2 1849.9252416 2004.8377545 7,73% 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0 1 2 1849.9252416 2003.6455900 7,67% 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0 1 2 1849.9252416 2003.5910684 7,67% 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0 1 2 1849.9252416 2003.5910684 7,67% 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0 1 3 1857.4798480 2003.5910684 7,29% 0&lt;/FONT&gt;&lt;BR /&gt;NOTE: The MILP solver added 7 cuts with 21 cut coefficients at the root.&lt;BR /&gt;1 2 4 2003.4648285 2003.5910684 0,01% 0&lt;BR /&gt;NOTE: Optimal within relative gap.&lt;BR /&gt;NOTE: Objective = 2003,4648285.&lt;/P&gt;&lt;P&gt;In the solution the values of X and H are those that belng to the BestBound solution and my question is&lt;BR /&gt;how I can retrieve the values belonging to the bestinteger solution?&lt;/P&gt;&lt;P&gt;Unfortunatelly I cannot find the answer in the user guide 15.2&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;P&gt;Regards Arie&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 16:17:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-output/m-p/979704#M4407</guid>
      <dc:creator>Arrie</dc:creator>
      <dc:date>2025-11-28T16:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Optmodel - output</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-output/m-p/979705#M4408</link>
      <description>&lt;P&gt;What you have is correct, except that the RUN should instead be QUIT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The values of H and X in the resulting solution data set will correspond to the objective value reported in the BestInteger column.&amp;nbsp; You will see the same values if you execute this statement:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;print H X;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should also see the value in BestInteger if you execute this statement:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;print obj;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What makes you suspect that the values of H and X instead correspond to the BestBound column?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 16:31:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-output/m-p/979705#M4408</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2025-11-28T16:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Optmodel - output</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-output/m-p/979706#M4409</link>
      <description>&lt;P&gt;Thank you Rob. Now that I look again at the output I indeed see that I'm mistaking... Sorry for that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So that's the good news. The other way round: is it possible to get the values that belong to the bestBound solution as far as you know?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;gr Arie&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 16:37:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-output/m-p/979706#M4409</guid>
      <dc:creator>Arrie</dc:creator>
      <dc:date>2025-11-28T16:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Optmodel - output</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-output/m-p/979707#M4410</link>
      <description>&lt;P&gt;The closest you can get to returning a BestBound solution is to solve the LP relaxation:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;solve relaxint;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The resulting objective value will often be close to the first or second BestBound value that appears in the iteration log.&amp;nbsp; The first BestBound value sometimes arises from a trivial bound that considers only the objective function and the variable bounds.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 16:57:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-output/m-p/979707#M4410</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2025-11-28T16:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Optmodel - output</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-output/m-p/979708#M4411</link>
      <description>&lt;P&gt;thanks again!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 16:58:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-output/m-p/979708#M4411</guid>
      <dc:creator>Arrie</dc:creator>
      <dc:date>2025-11-28T16:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Optmodel - output</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-output/m-p/979710#M4412</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/83319"&gt;@Arrie&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Glad to see that &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1636"&gt;@RobPratt&lt;/a&gt;'s replies answered your questions. Then it would be fair and help later readers if you marked his most helpful reply as the accepted solution, not your own "thank you" post. You can correct this easily: Select his post&amp;nbsp;as the solution after clicking&amp;nbsp;"Not the Solution" in the option menu (see icon below) of the current solution.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="show_option_menu.png" style="width: 155px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/111646iB94405A970774C45/image-size/large?v=v2&amp;amp;px=999" role="button" title="show_option_menu.png" alt="show_option_menu.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 18:07:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-output/m-p/979710#M4412</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2025-11-28T18:07:42Z</dc:date>
    </item>
  </channel>
</rss>

