<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.96.4909.6802"?>
<regions>
  <settings>
    <identity>
      <id>8b66f02f-7c9b-41b7-9854-5deb8a9c28c6</id>
      <revision>41</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="39" right="39" top="39" bottom="39" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependences>
      <assembly name="SMath Studio Desktop" version="0.96.4909.6802" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Text Region" version="1.9.4909.6785" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="Hyperlink Region" version="1.0.5029.30284" guid="4938d1a8-ad11-4de8-afbf-d76d069cfbf8" />
      <assembly name="MaximaPlugin" version="1.0.5115.5713" guid="44011c1e-5d0d-4533-8e68-e32b5badce41" />
      <assembly name="Math Region" version="0.96.4909.6802" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Mathcad File Access Functions" version="1.0.5036.4937" guid="02a1c2c5-590e-46bb-bcf6-c87856a8b14b" />
      <assembly name="Special Functions" version="1.10.4909.6779" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="Image Region" version="1.0.5033.40342" guid="63ddaef8-9a56-4ff6-938e-d590b638bf99" />
    </dependences>
  </settings>
  <region id="0" left="18" top="18" width="340" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p bold="true">Example: Linear optimization with Maxima</p>
    </text>
  </region>
  <region id="1" left="450" top="18" width="217" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="ger">
      <p href="Section Math Maxima.sm">Symbolische Mathematik mit Maxima</p>
    </text>
    <text lang="eng">
      <p href="Section Math Maxima.sm">Symbolic math with Maxima</p>
    </text>
  </region>
  <region id="2" left="450" top="36" width="61" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="ger">
      <p href="Plugin Maxima.sm">Maxima</p>
    </text>
  </region>
  <region id="3" left="450" top="54" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="ger">
      <p href="Handbook.sm">Inhalt</p>
    </text>
    <text lang="eng">
      <p href="Handbook.sm">Contents</p>
    </text>
  </region>
  <region id="4" left="18" top="72" width="28" height="26" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="False">
    <hyperlink dl="http://www.mathe-online.at/materialien/Johann.Weilharter/files/wxMaxima1/DX1007_F_Aufgaben_zur_linearen_Optimierung.pdf" flags="" sd="False" width="18" height="18">
      <description active="true" position="Right" lang="eng">
        <p>example on computermathematik.info</p>
      </description>
      <input>
        <e type="operand" style="string">http://www.mathe-online.at/materialien/Johann.Weilharter/files/wxMaxima1/DX1007_F_Aufgaben_zur_linearen_Optimierung.pdf</e>
      </input>
    </hyperlink>
  </region>
  <region id="5" left="18" top="126" width="387" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand" style="string">restart</e>
        <e type="function" preserve="true" args="1">MaximaControl</e>
      </input>
      <result action="numeric">
        <e type="operand" style="string">Restart complete.</e>
      </result>
    </math>
  </region>
  <region id="6" left="18" top="153" width="216" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">msg</e>
        <e type="operand">simplex</e>
        <e type="function" args="1">load</e>
        <e type="function" preserve="true" args="1">Maxima</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="7" left="18" top="198" width="678" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>The package "simplex" defines functions for constrained linear optimization using
the simplex algorithm.</p>
    </text>
  </region>
  <region id="8" left="18" top="252" width="362" height="32" color="#000000" bgColor="#ffff80" fontSize="10">
    <math>
      <input>
        <e type="operand">objective_function</e>
        <e type="operand">constraints</e>
        <e type="function" args="2">maximize.lp</e>
      </input>
    </math>
  </region>
  <region id="9" left="18" top="279" width="362" height="32" color="#000000" bgColor="#ffff80" fontSize="10">
    <math>
      <input>
        <e type="operand">objective_function</e>
        <e type="operand">constraints</e>
        <e type="function" args="2">minimize.lp</e>
      </input>
    </math>
  </region>
  <region id="10" left="18" top="333" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p bold="true">Example 1</p>
    </text>
  </region>
  <region id="11" left="18" top="369" width="132" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="operand">y</e>
        <e type="function" args="2">Q</e>
        <e type="operand">4</e>
        <e type="operand">x</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="1">-</e>
        <e type="operand">y</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="12" left="198" top="369" width="132" height="62" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">NB</e>
        <e type="operand">x</e>
        <e type="operand">2</e>
        <e type="operand">y</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">+</e>
        <e type="operand">1</e>
        <e type="operator" args="2">≤</e>
        <e type="operand">5</e>
        <e type="operand">x</e>
        <e type="operator" args="2">*</e>
        <e type="operand">2</e>
        <e type="operand">y</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">-</e>
        <e type="operand">5</e>
        <e type="operator" args="2">≥</e>
        <e type="operand">x</e>
        <e type="operand">2</e>
        <e type="operand">y</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">-</e>
        <e type="operand">9</e>
        <e type="operator" args="2">≤</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="5">sys</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="13" top="432" color="#000000" bgColor="#ffffff">
    <area collapsed="false">
      <title lang="ger">
        <p>Generate Q plot</p>
      </title>
    </area>
    <region id="14" left="18" top="450" width="191" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">msg</e>
          <e type="operand">draw</e>
          <e type="function" args="1">load</e>
          <e type="function" preserve="true" args="1">Maxima</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="15" left="225" top="450" width="364" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">dir</e>
          <e type="operand" style="string" />
          <e type="function" preserve="true" args="1">DocumentDirectory</e>
          <e type="function" preserve="true" args="1">CurrentDirectory</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="16" left="756" top="459" width="441" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">dir</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">D:\FHB\Software\SMath\Activebook\activebook\</e>
        </result>
      </math>
    </region>
    <region id="17" left="18" top="477" width="651" height="244" color="#000000" bgColor="#ffffff" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">opts</e>
          <e type="operand">user_preamble</e>
          <e type="operand" style="string">set term svg noenhanced size 400,400  dynamic</e>
          <e type="operand" style="string">set view map;set grid</e>
          <e type="operand" style="string">set bmargin at screen 0.17;set tmargin at screen 0.95</e>
          <e type="operand" style="string">set lmargin at screen 0.1;set rmargin at screen 0.85</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" preserve="true" args="6">sys</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">background_color</e>
          <e type="operand" style="string">#fefefe</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">xyplane</e>
          <e type="operand">0</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">terminal</e>
          <e type="operand">svg</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">enhanced3d</e>
          <e type="operand">true</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">file_name</e>
          <e type="operand" style="string">Q1</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">xlabel</e>
          <e type="operand" style="string">x</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">ylabel</e>
          <e type="operand" style="string">y</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">xu_grid</e>
          <e type="operand">100</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">yv_grid</e>
          <e type="operand">100</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">10</e>
          <e type="operand">1</e>
          <e type="function" preserve="true" args="12">sys</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="18" left="18" top="720" width="836" height="42" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">opts</e>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="function" args="2">Q</e>
          <e type="operand">NB</e>
          <e type="operand">1</e>
          <e type="function" preserve="true" args="2">el</e>
          <e type="bracket">(</e>
          <e type="operand">NB</e>
          <e type="operand">2</e>
          <e type="function" preserve="true" args="2">el</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">&amp;</e>
          <e type="operand">NB</e>
          <e type="operand">3</e>
          <e type="function" preserve="true" args="2">el</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">&amp;</e>
          <e type="function" args="1">charfun</e>
          <e type="operator" args="2">*</e>
          <e type="operand">x</e>
          <e type="operand">6</e>
          <e type="operator" args="1">-</e>
          <e type="operand">6</e>
          <e type="operand">y</e>
          <e type="operand">6</e>
          <e type="operator" args="1">-</e>
          <e type="operand">6</e>
          <e type="function" args="7">explicit</e>
          <e type="function" args="2">draw3d</e>
          <e type="function" preserve="true" args="1">Maxima</e>
        </input>
        <result action="symbolic">
          <e type="operand">?explicit</e>
          <e type="function" args="1">gr3d</e>
        </result>
      </math>
    </region>
    <region id="19" top="756" color="#000000" bgColor="#ffffff">
      <area terminator="true" />
    </region>
  </region>
  <region id="20" left="441" top="774" width="295" height="277" color="#000000" bgColor="#ffffff" fontSize="10">
    <image width="285" height="269">
      <input>
        <e type="operand" style="string">Q1.svg</e>
      </input>
    </image>
  </region>
  <region id="21" left="18" top="792" width="358" height="46" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="operand">y</e>
        <e type="function" args="2">Q</e>
        <e type="operand">NB</e>
        <e type="function" args="2">maximize.lp</e>
        <e type="function" preserve="true" args="1">Maxima</e>
      </input>
      <result action="none">
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operand">y</e>
        <e type="operand">5</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">≡</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">≡</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">sys</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="4">mat</e>
      </result>
    </math>
  </region>
  <region id="22" left="18" top="846" width="366" height="46" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="operand">y</e>
        <e type="function" args="2">Q</e>
        <e type="operand">NB</e>
        <e type="function" args="2">minimize.lp</e>
        <e type="function" preserve="true" args="1">Maxima</e>
      </input>
      <result action="none">
        <e type="operand">22</e>
        <e type="operator" args="1">-</e>
        <e type="operand">y</e>
        <e type="operand">2</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">≡</e>
        <e type="operand">x</e>
        <e type="operand">5</e>
        <e type="operator" args="2">≡</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">sys</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="4">mat</e>
      </result>
    </math>
  </region>
  <region id="23" left="18" top="900" width="387" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>The output can be used to assign the values to
the variables:</p>
    </text>
  </region>
  <region id="24" left="18" top="945" width="255" height="48" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">22</e>
        <e type="operator" args="1">-</e>
        <e type="operand">y</e>
        <e type="operand">2</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">≡</e>
        <e type="operand">x</e>
        <e type="operand">5</e>
        <e type="operator" args="2">≡</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">sys</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="4">mat</e>
        <e type="function" preserve="true" args="1">Assign</e>
      </input>
      <result action="numeric">
        <e type="operand">22</e>
        <e type="operator" args="1">-</e>
        <e type="operand">2</e>
        <e type="operator" args="1">-</e>
        <e type="operand">5</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">sys</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="4">mat</e>
      </result>
    </math>
  </region>
  <region id="25" left="297" top="954" width="114" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="operand">y</e>
        <e type="function" args="2">Q</e>
      </input>
      <result action="numeric">
        <e type="operand">22</e>
        <e type="operator" args="1">-</e>
      </result>
    </math>
  </region>
  <region id="26" left="18" top="1062" width="450" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="ger">
      <p italic="true">$Author: mkraska $
$Date: 2013-10-10 03:03:39 +0200 (Do, 10. Okt 2013) $ </p>
    </text>
  </region>
</regions>