<?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: Read MPS file in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/Read-MPS-file/m-p/684805#M3213</link>
    <description>&lt;P&gt;I suspect that you have SAS/OR (SAS 9) and not SAS Optimization (SAS Viya).&amp;nbsp; If that is true, please try this example instead:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=ormpug&amp;amp;docsetTarget=ormpug_mpsds_sect024.htm&amp;amp;docsetVersion=15.2&amp;amp;locale=en"&gt;https://go.documentation.sas.com/?docsetId=ormpug&amp;amp;docsetTarget=ormpug_mpsds_sect024.htm&amp;amp;docsetVersion=15.2&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Sep 2020 21:21:57 GMT</pubDate>
    <dc:creator>RobPratt</dc:creator>
    <dc:date>2020-09-17T21:21:57Z</dc:date>
    <item>
      <title>Read MPS file</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Read-MPS-file/m-p/684801#M3212</link>
      <description>&lt;P&gt;Hi, I am reading an MPS file using this code. I got this code from this link.&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=casactmopt&amp;amp;docsetTarget=casactmopt_optimization_examples06.htm&amp;amp;docsetVersion=8.3&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=casactmopt&amp;amp;docsetTarget=casactmopt_optimization_examples06.htm&amp;amp;docsetVersion=8.3&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc cas;&lt;BR /&gt;example_fix_string = readpath ("&amp;amp;filepath.");&amp;nbsp;&lt;BR /&gt;loadactionset "optimization";&lt;BR /&gt;action optimization.loadMps /&lt;BR /&gt;mpsFileString = example_fix_string&lt;BR /&gt;casOut = {name = "example_fix" replace = true}&lt;BR /&gt;format = "FIXED";&lt;BR /&gt;run;&lt;BR /&gt;action table.fetch / table = "example_fix" to = 24;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I get this error as shown in below error log. I wonder how to fix?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;30 proc cas;&lt;BR /&gt;31 example_fix_string = readpath ("&amp;amp;filepath.");&amp;nbsp;&lt;BR /&gt;32 loadactionset "optimization";&lt;BR /&gt;33 action optimization.loadMps /&lt;BR /&gt;34 mpsFileString = example_fix_string&lt;BR /&gt;35 casOut = {name = "example_fix" replace = true}&lt;BR /&gt;36 format = "FIXED";&lt;BR /&gt;37 run;&lt;BR /&gt;ERROR: The server connection has not been specified&lt;BR /&gt;ERROR: Execution halted&lt;BR /&gt;38 action table.fetch / table = "example_fix" to = 24;&lt;BR /&gt;39 run;&lt;BR /&gt;ERROR: There is no server connection to execute the action 'table.fetch'.&lt;BR /&gt;ERROR: Execution halted&lt;BR /&gt;40 quit;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 21:08:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Read-MPS-file/m-p/684801#M3212</guid>
      <dc:creator>pathfinder1_1</dc:creator>
      <dc:date>2020-09-17T21:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Read MPS file</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Read-MPS-file/m-p/684805#M3213</link>
      <description>&lt;P&gt;I suspect that you have SAS/OR (SAS 9) and not SAS Optimization (SAS Viya).&amp;nbsp; If that is true, please try this example instead:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=ormpug&amp;amp;docsetTarget=ormpug_mpsds_sect024.htm&amp;amp;docsetVersion=15.2&amp;amp;locale=en"&gt;https://go.documentation.sas.com/?docsetId=ormpug&amp;amp;docsetTarget=ormpug_mpsds_sect024.htm&amp;amp;docsetVersion=15.2&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 21:21:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Read-MPS-file/m-p/684805#M3213</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2020-09-17T21:21:57Z</dc:date>
    </item>
  </channel>
</rss>

