https://mintoc.de/index.php?title=Marine_population_dynamics_problem_(TACO)&feed=atom&action=history
Marine population dynamics problem (TACO) - Revision history
2024-03-29T01:05:56Z
Revision history for this page on the wiki
MediaWiki 1.25.2
https://mintoc.de/index.php?title=Marine_population_dynamics_problem_(TACO)&diff=1108&oldid=prev
JonasSchulze: Text replacement - "\<bibref\>(.*)\<\/bibref\>" to "<bib id="$1" />"
2015-12-30T20:32:09Z
<p>Text replacement - "\<bibref\>(.*)\<\/bibref\>" to "<bib id="$1" />"</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 20:32, 30 December 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="L1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>This page contains a model of the [[Marine population dynamics problem]] in [http://www.ampl.org AMPL] format, making use of the TACO toolkit for AMPL control optimization extensions. This problem is due to <<del class="diffchange diffchange-inline">bibref></del>Rothschild1997<del class="diffchange diffchange-inline"><</del>/<del class="diffchange diffchange-inline">bibref</del>>. The original model using a collocation formulation can be found in the [http://www.mcs.anl.gov/~more/cops/ COPS library].</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>This page contains a model of the [[Marine population dynamics problem]] in [http://www.ampl.org AMPL] format, making use of the TACO toolkit for AMPL control optimization extensions. This problem is due to <<ins class="diffchange diffchange-inline">bib id="</ins>Rothschild1997<ins class="diffchange diffchange-inline">" </ins>/>. The original model using a collocation formulation can be found in the [http://www.mcs.anl.gov/~more/cops/ COPS library].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Note that you will need to include a generic [[support AMPL files|AMPL/TACO support file]], OptimalControl.mod.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Note that you will need to include a generic [[support AMPL files|AMPL/TACO support file]], OptimalControl.mod.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>To solve this model, you require an optimal control or NLP code that uses the TACO toolkit to support the AMPL optimal control extensions.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>To solve this model, you require an optimal control or NLP code that uses the TACO toolkit to support the AMPL optimal control extensions.</div></td></tr>
</table>
JonasSchulze
https://mintoc.de/index.php?title=Marine_population_dynamics_problem_(TACO)&diff=1084&oldid=prev
JonasSchulze: Text replacement - "<bibreferences/>" to "<biblist />"
2015-12-30T20:28:25Z
<p>Text replacement - "<bibreferences/>" to "<biblist />"</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 20:28, 30 December 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="L119" >Line 119:</td>
<td colspan="2" class="diff-lineno">Line 119:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== References ==</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== References ==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><<del class="diffchange diffchange-inline">bibreferences</del>/></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><<ins class="diffchange diffchange-inline">biblist </ins>/></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>   </div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>   </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Category:AMPL/TACO]]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Category:AMPL/TACO]]</div></td></tr>
</table>
JonasSchulze
https://mintoc.de/index.php?title=Marine_population_dynamics_problem_(TACO)&diff=678&oldid=prev
Ckirches: /* AMPL */
2011-09-29T20:55:25Z
<p><span dir="auto"><span class="autocomment">AMPL</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 20:55, 29 September 2011</td>
</tr><tr><td colspan="2" class="diff-lineno" id="L45" >Line 45:</td>
<td colspan="2" class="diff-lineno">Line 45:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div> diff(u[ne],t) = g[ne-1]*u[ne-1] - m[ne]*u[ne];</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div> diff(u[ne],t) = g[ne-1]*u[ne-1] - m[ne]*u[ne];</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>data <del class="diffchange diffchange-inline">cops_marine</del>.dat;</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>data <ins class="diffchange diffchange-inline">marine_taco</ins>.dat;</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>option solver ...;</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>option solver ...;</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="L53" >Line 53:</td>
<td colspan="2" class="diff-lineno">Line 53:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></source></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></source></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>This is the file <del class="diffchange diffchange-inline">cops_marine</del>.dat</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>This is the file <ins class="diffchange diffchange-inline">marine_taco</ins>.dat</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><source lang="AMPL"></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><source lang="AMPL"></div></td></tr>
</table>
Ckirches
https://mintoc.de/index.php?title=Marine_population_dynamics_problem_(TACO)&diff=677&oldid=prev
Ckirches: Reference for marine pop problem (TACO)
2011-09-29T20:54:16Z
<p>Reference for marine pop problem (TACO)</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 20:54, 29 September 2011</td>
</tr><tr><td colspan="2" class="diff-lineno" id="L1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>This page contains a model of the [[Marine population dynamics problem]] in [http://www.ampl.org AMPL] format, making use of the TACO toolkit for AMPL control optimization extensions. The original model using a collocation formulation can be found in the [http://www.mcs.anl.gov/~more/cops/ COPS library].</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>This page contains a model of the [[Marine population dynamics problem]] in [http://www.ampl.org AMPL] format, making use of the TACO toolkit for AMPL control optimization extensions<ins class="diffchange diffchange-inline">. This problem is due to <bibref>Rothschild1997</bibref></ins>. The original model using a collocation formulation can be found in the [http://www.mcs.anl.gov/~more/cops/ COPS library].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Note that you will need to include a generic [[support AMPL files|AMPL/TACO support file]], OptimalControl.mod.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Note that you will need to include a generic [[support AMPL files|AMPL/TACO support file]], OptimalControl.mod.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>To solve this model, you require an optimal control or NLP code that uses the TACO toolkit to support the AMPL optimal control extensions.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>To solve this model, you require an optimal control or NLP code that uses the TACO toolkit to support the AMPL optimal control extensions.</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="L25" >Line 25:</td>
<td colspan="2" class="diff-lineno">Line 25:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>param z {1..nm,1..ne};              # observations</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>param z {1..nm,1..ne};              # observations</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>var g {1..ne-1}  >= 0, <= 1; <del class="diffchange diffchange-inline">                    </del># growth rates</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>var g {1..ne-1}  >= 0, <= 1; <ins class="diffchange diffchange-inline">        </ins># growth rates</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>var m {1..ne} >= 0, <= 1; <del class="diffchange diffchange-inline">                      </del># mortality rates</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>var m {1..ne} >= 0, <= 1; <ins class="diffchange diffchange-inline">          </ins># mortality rates</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>var u {1..ne};</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>var u {1..ne};</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td colspan="2" class="diff-lineno" id="L117" >Line 117:</td>
<td colspan="2" class="diff-lineno">Line 117:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Mathematical notation at [[Marine population dynamics problem]]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Mathematical notation at [[Marine population dynamics problem]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* [[:Category:AMPL | AMPL]] (using a fixed discretization) at the [http://www.mcs.anl.gov/~more/cops/ COPS library]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* [[:Category:AMPL | AMPL]] (using a fixed discretization) at the [http://www.mcs.anl.gov/~more/cops/ COPS library]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">== References ==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><bibreferences/></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>   </div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>   </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Category:AMPL/TACO]]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Category:AMPL/TACO]]</div></td></tr>
</table>
Ckirches
https://mintoc.de/index.php?title=Marine_population_dynamics_problem_(TACO)&diff=662&oldid=prev
Ckirches: Marine population dynamics problem (TACO)
2011-09-29T19:08:16Z
<p>Marine population dynamics problem (TACO)</p>
<p><b>New page</b></p><div>This page contains a model of the [[Marine population dynamics problem]] in [http://www.ampl.org AMPL] format, making use of the TACO toolkit for AMPL control optimization extensions. The original model using a collocation formulation can be found in the [http://www.mcs.anl.gov/~more/cops/ COPS library].<br />
Note that you will need to include a generic [[support AMPL files|AMPL/TACO support file]], OptimalControl.mod.<br />
To solve this model, you require an optimal control or NLP code that uses the TACO toolkit to support the AMPL optimal control extensions.<br />
<br />
=== AMPL ===<br />
<br />
This is the source file marine_taco.mod<br />
<source lang="AMPL"><br />
# ----------------------------------------------------------------<br />
# Marine population dynamics problem using AMPL and TACO<br />
# (c) Christian Kirches, Sven Leyffer<br />
#<br />
# Source: COPS 3.1 collocation formulation - March 2004<br />
# Alexander S. Bondarenko - Summer 1998<br />
# ----------------------------------------------------------------<br />
include OptimalControl.mod;<br />
<br />
var t;<br />
<br />
param ne > 0, integer; # number of differential equations<br />
param nm > 0, integer; # number of measurements<br />
<br />
param tau {1..nm}; # times at which observations made<br />
param tf := tau[nm]; # ODEs defined in [0,tf]<br />
<br />
param z {1..nm,1..ne}; # observations<br />
var g {1..ne-1} >= 0, <= 1; # growth rates<br />
var m {1..ne} >= 0, <= 1; # mortality rates<br />
var u {1..ne};<br />
<br />
minimize l2error{j in 1..nm}:<br />
eval ( sum {s in 1..ne} (u[s] - z[j,s])^2, tau[j] );<br />
<br />
subject to g_bounds {s in 1..ne-1}: g[s] >= 0;<br />
<br />
subject to m_bounds {s in 1..ne}: m[s] >= 0;<br />
<br />
subject to de_1:<br />
diff(u[1],t) = -(m[1]+g[1])*u[1];<br />
<br />
subject to de_s {s in 2..ne-1}:<br />
diff(u[s],t) = g[s-1]*u[s-1] - (m[s]+g[s])*u[s]; <br />
<br />
subject to de_ne:<br />
diff(u[ne],t) = g[ne-1]*u[ne-1] - m[ne]*u[ne];<br />
<br />
data cops_marine.dat;<br />
<br />
option solver ...;<br />
<br />
solve;<br />
<br />
</source><br />
<br />
This is the file cops_marine.dat<br />
<br />
<source lang="AMPL"><br />
param ne := 8;<br />
param nm := 21;<br />
<br />
# Time measurements<br />
<br />
param tau :=<br />
1 0.0<br />
2 0.5<br />
3 1.0<br />
4 1.5<br />
5 2.0<br />
6 2.5<br />
7 3.0<br />
8 3.5 <br />
9 4.0<br />
10 4.5<br />
11 5.0<br />
12 5.5<br />
13 6.0<br />
14 6.5<br />
15 7.0<br />
16 7.5<br />
17 8.0<br />
18 8.5<br />
19 9.0<br />
20 9.5<br />
21 10.0;<br />
<br />
# Measurements<br />
<br />
param z:<br />
1 2 3 4 5 6 7 8 := <br />
1 20000.0 17000.0 10000.0 15000.0 12000.0 9000.0 7000.0 3000.0<br />
2 12445.0 15411.0 13040.0 13338.0 13484.0 8426.0 6615.0 4022.0<br />
3 7705.0 13074.0 14623.0 11976.0 12453.0 9272.0 6891.0 5020.0<br />
4 4664.0 8579.0 12434.0 12603.0 11738.0 9710.0 6821.0 5722.0<br />
5 2977.0 7053.0 11219.0 11340.0 13665.0 8534.0 6242.0 5695.0<br />
6 1769.0 5054.0 10065.0 11232.0 12112.0 9600.0 6647.0 7034.0<br />
7 943.0 3907.0 9473.0 10334.0 11115.0 8826.0 6842.0 7348.0<br />
8 581.0 2624.0 7421.0 10297.0 12427.0 8747.0 7199.0 7684.0<br />
9 355.0 1744.0 5369.0 7748.0 10057.0 8698.0 6542.0 7410.0<br />
10 223.0 1272.0 4713.0 6869.0 9564.0 8766.0 6810.0 6961.0<br />
11 137.0 821.0 3451.0 6050.0 8671.0 8291.0 6827.0 7525.0<br />
12 87.0 577.0 2649.0 5454.0 8430.0 7411.0 6423.0 8388.0<br />
13 49.0 337.0 2058.0 4115.0 7435.0 7627.0 6268.0 7189.0<br />
14 32.0 228.0 1440.0 3790.0 6474.0 6658.0 5859.0 7467.0<br />
15 17.0 168.0 1178.0 3087.0 6524.0 5880.0 5562.0 7144.0<br />
16 11.0 99.0 919.0 2596.0 5360.0 5762.0 4480.0 7256.0<br />
17 7.0 65.0 647.0 1873.0 4556.0 5058.0 4944.0 7538.0<br />
18 4.0 44.0 509.0 1571.0 4009.0 4527.0 4233.0 6649.0<br />
19 2.0 27.0 345.0 1227.0 3677.0 4229.0 3805.0 6378.0<br />
20 1.0 20.0 231.0 934.0 3197.0 3695.0 3159.0 6454.0<br />
21 1.0 12.0 198.0 707.0 2562.0 3163.0 3232.0 5566.0;<br />
</source><br />
<br />
== Other Descriptions ==<br />
<br />
Other descriptions of this problem are available in<br />
<br />
* Mathematical notation at [[Marine population dynamics problem]]<br />
* [[:Category:AMPL | AMPL]] (using a fixed discretization) at the [http://www.mcs.anl.gov/~more/cops/ COPS library]<br />
<br />
[[Category:AMPL/TACO]]</div>
Ckirches