<?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 How to get each part of the whole objective function? in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/How-to-get-each-part-of-the-whole-objective-function/m-p/209322#M1057</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My objective function Z is a summation of many portions, at initial solving, I just define objective function as Z = sum .....&amp;nbsp; Now I need some parts of it, like Z1 = sum ... ; Z2 = sum... ; Z3 = sum...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Z= Z1 + Z2 +Z3 + ... ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I define each Z1, Z2, Z3 ? Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Details is as the attachment below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Last several lines after "quit" is I want to add)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jul 2015 20:01:19 GMT</pubDate>
    <dc:creator>Crubal</dc:creator>
    <dc:date>2015-07-22T20:01:19Z</dc:date>
    <item>
      <title>How to get each part of the whole objective function?</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/How-to-get-each-part-of-the-whole-objective-function/m-p/209322#M1057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My objective function Z is a summation of many portions, at initial solving, I just define objective function as Z = sum .....&amp;nbsp; Now I need some parts of it, like Z1 = sum ... ; Z2 = sum... ; Z3 = sum...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Z= Z1 + Z2 +Z3 + ... ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I define each Z1, Z2, Z3 ? Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Details is as the attachment below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Last several lines after "quit" is I want to add)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 20:01:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/How-to-get-each-part-of-the-whole-objective-function/m-p/209322#M1057</guid>
      <dc:creator>Crubal</dc:creator>
      <dc:date>2015-07-22T20:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get each part of the whole objective function?</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/How-to-get-each-part-of-the-whole-objective-function/m-p/209323#M1058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the IMPVAR statement to declare each part:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/ormpug/68156/HTML/default/viewer.htm#ormpug_optmodel_syntax03.htm#ormpug.optmodel.npximpvarstmt" title="http://support.sas.com/documentation/cdl/en/ormpug/68156/HTML/default/viewer.htm#ormpug_optmodel_syntax03.htm#ormpug.optmodel.npximpvarstmt"&gt;SAS/OR(R) 14.1 User's Guide: Mathematical Programming&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then declare your objective as:&lt;/P&gt;&lt;P&gt;min Z = Z1 + Z2 + ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way, you don't have to repeat the expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 20:20:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/How-to-get-each-part-of-the-whole-objective-function/m-p/209323#M1058</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2015-07-22T20:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to get each part of the whole objective function?</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/How-to-get-each-part-of-the-whole-objective-function/m-p/209324#M1059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's helpful! Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 22:49:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/How-to-get-each-part-of-the-whole-objective-function/m-p/209324#M1059</guid>
      <dc:creator>Crubal</dc:creator>
      <dc:date>2015-07-22T22:49:19Z</dc:date>
    </item>
  </channel>
</rss>

