<?xml-stylesheet type="text/xsl" href="../styles/pmathml.xsl"?>
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dsi="http://www.w3.org/1999/xlink" xmlns:m="http://www.w3.org/1998/Math/MathML" xml:space="preserve"><head><meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"/><title>E05JCF : NAG Library, Mark 22</title><link rel="stylesheet" href="../styles/libdoc.css" type="text/css"/><script type="text/javascript">
   function showLevel(_levelId){
    var thisLevel = document.getElementById(_levelId);
    var thisplus = document.getElementById( _levelId.concat('plus'));
    var thisminus = document.getElementById( _levelId.concat('minus'));
    if(thisLevel.style.display != "block"){
     thisLevel.style.display = "block";
     thisplus.style.display = "none";
     thisminus.style.display = "inline";
     }
    else{
     thisLevel.style.display = "none";
     thisminus.style.display = "none";
     thisplus.style.display = "inline";
     }
    }
  </script></head><body><hr/><div><a class="rout" href="../../pdf/E05/e05jcf.pdf">E05JCF (PDF version)</a></div><div><a class="chap" href="e05conts.xml">E05 Chapter Contents</a></div><div><a class="chapint" href="e05intro.xml">E05 Chapter Introduction</a></div>
<div><a class="htmltoc" href="../FRONTMATTER/manconts.xml">NAG Library Manual</a></div><hr/><h1 class="libdoc">NAG Library Routine Document<br/><br/>E05JCF</h1><div class="paramtext"><div class="header"><b>Note:</b>&#160; before using this routine, please read the Users' Note for your implementation to check the interpretation of <span class="bitalic">bold italicised</span> terms and other implementation-dependent details.</div></div> 
<div class="htmltoc">
<h2 class="htmltoc"><span class="htmltochead" onclick="showLevel('htmltoc');"><span class="htmltocplus" id="htmltocplus">+</span><span class="htmltocminus" id="htmltocminus">&#8722;</span></span>&#160;Contents</h2>
<div class="htmltocitem" id="htmltoc">
<div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#purpose">1&#160;&#160;<b>Purpose</b></a>
</div><div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#specification">2&#160;&#160;<b>Specification</b></a>
</div><div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#description">3&#160;&#160;<b>Description</b></a>
</div><div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#references">4&#160;&#160;<b>References</b></a>
</div><div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#parameters">5&#160;&#160;<b>Parameters</b></a>
</div><div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#errors">6&#160;&#160;<b>Error Indicators and Warnings</b></a>
</div><div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#accuracy">7&#160;&#160;<b>Accuracy</b></a>
</div><div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#fcomments">8&#160;&#160;<b>Further Comments</b></a>
</div><div class="htmltoc">
<span class="htmltoc" onclick="showLevel('tocexample');"><span class="htmltocplus" id="tocexampleplus">+</span><span class="htmltocminus" id="tocexampleminus">&#8722;</span></span>
<a class="htmltoc" href="#example">9&#160;&#160;<b>Example</b></a>
<div class="htmltocitem" id="tocexample">
<div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#examtext">9.1&#160;&#160;<b>Program Text</b></a>
</div><div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#examdata">9.2&#160;&#160;<b>Program Data</b></a>
</div><div class="htmltoc">
<span class="htmltocplus">&#160;&#160;&#160;</span>
<a class="htmltoc" href="#examresults">9.3&#160;&#160;<b>Program Results</b></a>
</div>
</div>
</div>
</div>
</div><h2 class="standard"><a class="sec" name="purpose" id="purpose"/>1&#160;&#160;Purpose</h2>
<div class="paramtext">E05JCF may be used to supply optional parameters to <a class="rout" href="../E05/e05jbf.xml">E05JBF</a> from an external file.  The initialization routine <a class="rout" href="../E05/e05jaf.xml">E05JAF</a> <b>must</b> have been called before calling E05JCF.</div><h2 class="standard"><a class="sec" name="specification" id="specification"/>2&#160;&#160;Specification</h2>
<table class="fspec"><tr><td class="tdfspec1">SUBROUTINE&#160;E05JCF&#160;(</td><td class="tdfspec2"><a class="arg" href="#IOPTS">IOPTS</a>, <a class="arg" href="#COMM">COMM</a>, <a class="arg" href="#LCOMM">LCOMM</a>, <a class="arg" href="#IFAIL">IFAIL</a>)</td></tr><tr><td class="tdfspec1">INTEGER</td><td class="tdfspec2">IOPTS, LCOMM, IFAIL</td></tr><tr><td class="tdfspec1"><b><i>double&#160;precision</i></b></td><td class="tdfspec2">COMM(LCOMM)</td></tr></table><h2 class="standard"><a class="sec" name="description" id="description"/>3&#160;&#160;Description</h2>
<div class="paramtext">E05JCF may be used to supply values for optional parameters to

<a class="rout" href="../E05/e05jbf.xml">E05JBF</a>.  E05JCF reads an external file 
and each

line of the file defines a single optional parameter.  It is only necessary to supply values for those parameters whose values are to be different from their default values.</div><div class="paramtext">
Each optional parameter is defined by a single character string, 
of up to <m:math><m:mn>72</m:mn></m:math>&#160;characters, 
consisting of one or more items.  The items associated with a given optional parameter must be separated by spaces, or equals signs <m:math><m:mfenced open="[" close="]" separators=""><m:mo>=</m:mo></m:mfenced></m:math>.  Alphabetic characters may be upper or lower case.  The string 
<pre class="verbatim">Static Limit = 100</pre> 
is an example of a string used to set an optional parameter.  For each optional parameter the string contains one or more of the following items:
<table class="standard-100"><tr>
<td style="width:1.2em;" valign="baseline">&#8211;</td>
<td valign="top">a mandatory keyword;</td>
</tr><tr>
<td style="width:1.2em;" valign="baseline">&#8211;</td>
<td valign="top">a phrase that qualifies the keyword;</td>
</tr><tr>
<td style="width:1.2em;" valign="baseline">&#8211;</td>
<td valign="top">a number that specifies an integer or real value.  Such numbers may be up to <m:math><m:mn>16</m:mn></m:math>&#160;contiguous characters.</td>
</tr></table>
</div><div class="paramtext">Blank strings and comments are ignored.  A comment begins with an asterisk (*) and all subsequent characters in the string are regarded as part of the comment.</div><div class="paramtext">The file containing the optional parameters must start with <span class="mono">Begin</span> and must finish with <span class="mono">End</span>.  An example of a valid options file is:
<pre class="verbatim">
Begin * Example options file 
   Static Limit = 500 
End
</pre>
</div><div class="paramtext">Optional parameter settings are preserved following a call to <a class="rout" href="../E05/e05jbf.xml">E05JBF</a> and so the keyword <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="../E05/e05jbf.xml#optparam_defaults"><m:mi mathcolor="#800080;" mathvariant="bold">Defaults</m:mi></m:maction></m:math>&#160;is provided to allow you to reset all the optional parameters to their default values before a subsequent call to <a class="rout" href="../E05/e05jbf.xml">E05JBF</a>.</div><div class="paramtext">A complete list of optional parameters, their symbolic names and default values is given in <a class="sec" href="../E05/e05jbf.xml#optparams">Section 11</a> in E05JBF.</div><h2 class="standard"><a class="sec" name="references" id="references"/>4&#160;&#160;References</h2>
<div class="paramtext">None.</div><h2 class="standard"><a class="sec" name="parameters" id="parameters"/>5&#160;&#160;Parameters</h2>
<dl><dt class="paramhead"><a name="IOPTS" id="IOPTS"/>1: &#160;&#160;&#8194; IOPTS &#8211; INTEGER<span class="pclass">Input</span></dt><dd><div class="paramtext"><i>On entry</i>: the unit number of the option file to be read.</div><div class="paramtext"><i>Constraint</i>:
  <a class="arg" href="#IOPTS">IOPTS</a> is a valid unit open for reading</div></dd><dt class="paramhead"><a name="COMM" id="COMM"/>2: &#160;&#160;&#8194; COMM(<a class="arg" href="#LCOMM">LCOMM</a>) &#8211; <span class="bitalic">double precision</span> array<span class="pclass">Communication Array</span></dt><dd><div class="paramtext"><i>On exit</i>: <a class="arg" href="#COMM">COMM</a> <b>must not</b> be altered between calls to any of the routines <a class="rout" href="../E05/e05jbf.xml">E05JBF</a>, E05JCF, <a class="rout" href="../E05/e05jdf.xml">E05JDF</a>, <a class="rout" href="../E05/e05jef.xml">E05JEF</a>, <a class="rout" href="../E05/e05jff.xml">E05JFF</a>, <a class="rout" href="../E05/e05jgf.xml">E05JGF</a>, <a class="rout" href="../E05/e05jhf.xml">E05JHF</a>, <a class="rout" href="../E05/e05jjf.xml">E05JJF</a>, <a class="rout" href="../E05/e05jkf.xml">E05JKF</a> and <a class="rout" href="../E05/e05jlf.xml">E05JLF</a>.</div></dd><dt class="paramhead"><a name="LCOMM" id="LCOMM"/>3: &#160;&#160;&#8194; LCOMM &#8211; INTEGER<span class="pclass">Input</span></dt><dd><div class="paramtext"><i>On entry</i>: the dimension of the array <a class="arg" href="#COMM">COMM</a> as declared in the (sub)program from which E05JCF is called.
</div><div class="paramtext"><i>Constraint</i>:
  <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#LCOMM"><m:mi mathcolor="#EE0000" mathvariant="bold">LCOMM</m:mi></m:maction><m:mo>&#8805;</m:mo><m:mn>100</m:mn></m:math>.
</div></dd><dt class="paramhead"><a name="IFAIL" id="IFAIL"/>4: &#160;&#160;&#8194; IFAIL &#8211; INTEGER<span class="pclass">Input/Output</span></dt><dd>
<div class="paramtext"><i>On entry</i>: <a class="arg" href="#IFAIL">IFAIL</a> must be set to <m:math><m:mn>0</m:mn></m:math>, <m:math><m:mrow><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow><m:mtext>&#8203; or &#8203;</m:mtext><m:mn>1</m:mn></m:math>. If you are unfamiliar with this parameter you should refer to <a class="sec" href="../GENINT/essint.xml#library3">Section 3.3</a> in  the Essential Introduction for details.</div>
<div class="paramtext"><i>On exit</i>: <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#IFAIL"><m:mi mathcolor="#EE0000" mathvariant="bold">IFAIL</m:mi></m:maction><m:mo>=</m:mo><m:maction actiontype="link" dsi:type="simple" dsi:href="#errors"><m:mn mathcolor="#003399" mathvariant="bold">0</m:mn></m:maction></m:math>&#160;unless the routine detects an error (see <a class="sec" href="#errors">Section 6</a>). <div class="paramtext">For environments where it might be inappropriate to halt program execution when an error is detected, the value <m:math><m:mrow><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow><m:mtext>&#8203; or &#8203;</m:mtext><m:mn>1</m:mn></m:math>&#160;is recommended.  If the output of error messages is undesirable, then the value <m:math><m:mn>1</m:mn></m:math>&#160;is recommended.  Otherwise, if you are not familiar with this parameter, the recommended value is <m:math><m:mn>0</m:mn></m:math>.  <b>When the value <m:math><m:mrow><m:mo>-</m:mo><m:mn mathvariant="bold">1</m:mn></m:mrow><m:mtext>&#8203; or &#8203;</m:mtext><m:mn mathvariant="bold">1</m:mn></m:math>&#160;is used it is essential to test the value of <a class="arg" href="#IFAIL">IFAIL</a> on exit.</b></div></div></dd></dl><h2 class="standard"><a class="sec" name="errors" id="errors"/>6&#160;&#160;Error Indicators and Warnings</h2>
<div class="paramtext">If on entry <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#IFAIL"><m:mi mathcolor="#EE0000" mathvariant="bold">IFAIL</m:mi></m:maction><m:mo>=</m:mo><m:maction actiontype="link" dsi:type="simple" dsi:href="#errors"><m:mn mathcolor="#003399" mathvariant="bold">0</m:mn></m:maction></m:math>&#160;or <m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#errors"><m:mn mathcolor="#003399" mathvariant="bold">-1</m:mn></m:maction></m:math>, explanatory error messages are output on the current error message unit (as defined by <a class="rout" href="../X04/x04aaf.xml">X04AAF</a>).</div><div class="paramtext">Errors or warnings detected by the routine:</div>
<dl class="ifail">
<dt class="errorhead"><a name="IFeq1" id="IFeq1"/><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#IFAIL"><m:mi mathcolor="#EE0000" mathvariant="bold">IFAIL</m:mi></m:maction><m:mo>=</m:mo><m:mn>1</m:mn></m:math></dt>
<dd>
<table class="ifail"><tr><td class="ifail1">On&#160;entry,</td><td class="ifail2-90"><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#LCOMM"><m:mi mathcolor="#EE0000" mathvariant="bold">LCOMM</m:mi></m:maction><m:mo>&lt;</m:mo><m:mn>100</m:mn></m:math>,</td></tr><tr><td class="ifail1">or</td><td class="ifail2-90">the initialization routine <a class="rout" href="../E05/e05jaf.xml">E05JAF</a> has not been called.</td></tr></table>
</dd>
</dl>
<dl class="ifail">
<dt class="errorhead"><a name="IFeq2" id="IFeq2"/><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#IFAIL"><m:mi mathcolor="#EE0000" mathvariant="bold">IFAIL</m:mi></m:maction><m:mo>=</m:mo><m:mn>2</m:mn></m:math></dt>
<dd>
<div class="paramtext">Could not read options file on unit <a class="arg" href="#IOPTS">IOPTS</a>. This may be because:
<table class="standard-90"><tr>
<td style="width:2.1em;" valign="baseline"><a name="itema" id="itema"/>(a)</td>
<td valign="top"><a class="arg" href="#IOPTS">IOPTS</a> is not a valid unit number;</td>
</tr><tr>
<td style="width:2.1em;" valign="baseline"><a name="itemb" id="itemb"/>(b)</td>
<td valign="top">a file is not associated with unit <a class="arg" href="#IOPTS">IOPTS</a>, or if it is, is unavailable for read access;</td>
</tr><tr>
<td style="width:2.1em;" valign="baseline"><a name="itemc" id="itemc"/>(c)</td>
<td valign="top">one or more lines of the options file are invalid.   The correct number of word &#8216;tokens&#8217; are present, but a keyword or keyword combination is not valid;</td>
</tr><tr>
<td style="width:2.1em;" valign="baseline"><a name="itemd" id="itemd"/>(d)</td>
<td valign="top"><span class="mono">Begin</span> was found, but end-of-file was found before <span class="mono">End</span> was found;</td>
</tr><tr>
<td style="width:2.1em;" valign="baseline"><a name="iteme" id="iteme"/>(e)</td>
<td valign="top">end-of-file was found before <span class="mono">Begin</span> was found.</td>
</tr></table>
</div>
<div class="paramtext">In cases <a class="item" href="#itemc">(c)</a> and <a class="item" href="#itemd">(d)</a> all optional parameters that were set from the file before the error was encountered will remain set on exit.</div>
</dd>
</dl>
<dl class="ifail">
<dt class="errorhead"><a name="IFeq3" id="IFeq3"/><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#IFAIL"><m:mi mathcolor="#EE0000" mathvariant="bold">IFAIL</m:mi></m:maction><m:mo>=</m:mo><m:mn>3</m:mn></m:math></dt>
<dd>
<div class="paramtext">The option file contains an optional-parameter-name/numerical-value pair where the numerical value is outside the valid range expected by the option name.  See <a class="sec" href="../E05/e05jbf.xml#optparams">Section 11</a> in E05JBF for allowable values of the optional parameters.</div>
</dd>
</dl><dl class="ifail">
<dt class="errorhead"><a name="IFeq4" id="IFeq4"/><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#IFAIL"><m:mi mathcolor="#EE0000" mathvariant="bold">IFAIL</m:mi></m:maction><m:mo>=</m:mo><m:mn>4</m:mn></m:math></dt>
<dd>
<div class="paramtext">Data-type discrepancy: either a real value was associated with an integer optional parameter or a non-numeric value was associated with a numeric optional parameter.</div>
</dd>
</dl><dl class="ifail">
<dt class="errorhead"><a name="IFeq5" id="IFeq5"/><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#IFAIL"><m:mi mathcolor="#EE0000" mathvariant="bold">IFAIL</m:mi></m:maction><m:mo>=</m:mo><m:mn>5</m:mn></m:math></dt>
<dd>
<div class="paramtext">A supplied string associated with a numeric value could not be parsed.  Check that all such strings specify valid integer or real values.</div>
</dd>
</dl><dl class="ifail">
<dt class="errorhead"><a name="IFeq6" id="IFeq6"/><m:math><m:maction actiontype="link" dsi:type="simple" dsi:href="#IFAIL"><m:mi mathcolor="#EE0000" mathvariant="bold">IFAIL</m:mi></m:maction><m:mo>=</m:mo><m:mn>6</m:mn></m:math></dt>
<dd>
<div class="paramtext">A supplied optional-parameter name contained the wrong number of word &#8216;tokens&#8217;, so could not be recognized by the routine.</div>
</dd>
</dl><h2 class="standard"><a class="sec" name="accuracy" id="accuracy"/>7&#160;&#160;Accuracy</h2>
<div class="paramtext">Not applicable.</div><h2 class="standard"><a class="sec" name="fcomments" id="fcomments"/>8&#160;&#160;Further Comments</h2>
<div class="paramtext"><a class="rout" href="../E05/e05jdf.xml">E05JDF</a>, <a class="rout" href="../E05/e05jef.xml">E05JEF</a>, <a class="rout" href="../E05/e05jff.xml">E05JFF</a> or <a class="rout" href="../E05/e05jgf.xml">E05JGF</a> may also be used to supply optional parameters to

<a class="rout" href="../E05/e05jbf.xml">E05JBF</a>.</div><h2 class="standard"><a class="sec" name="example" id="example"/>9&#160;&#160;Example</h2>
<div class="paramtext">This example finds the global minimum of the &#8216;peaks&#8217; function in two dimensions

<div class="formula"><table class="formula"><tr><td class="formula"><m:math display="block">
 <m:mi>F</m:mi><m:mfenced separators=""><m:mi>x</m:mi><m:mo>,</m:mo><m:mi>y</m:mi></m:mfenced>
 <m:mo>=</m:mo>
 <m:mn>3</m:mn>
 <m:msup>
  <m:mfenced separators="">
   <m:mn>1</m:mn><m:mo>-</m:mo><m:mi>x</m:mi>
  </m:mfenced>
  <m:mn>2</m:mn>
 </m:msup>
 <m:mrow><m:mi>exp</m:mi><m:mfenced separators="">
   <m:mo>-</m:mo>
   <m:msup>
    <m:mi>x</m:mi>
    <m:mn>2</m:mn>
   </m:msup>
   <m:mo>-</m:mo>
   <m:msup>
    <m:mfenced separators="">
     <m:mi>y</m:mi><m:mo>+</m:mo><m:mn>1</m:mn>
    </m:mfenced>
    <m:mn>2</m:mn>
   </m:msup>
  </m:mfenced></m:mrow>
 <m:mo>-</m:mo><m:mn>10</m:mn>
 <m:mfenced separators="">
  <m:mfrac>
   <m:mi>x</m:mi>
   <m:mn>5</m:mn>
  </m:mfrac>
  <m:mo>-</m:mo>
  <m:msup>
    <m:mi>x</m:mi>
    <m:mn>3</m:mn>
  </m:msup>
  <m:mo>-</m:mo>
  <m:msup>
    <m:mi>y</m:mi>
    <m:mn>5</m:mn>
  </m:msup>
 </m:mfenced>
 <m:mrow><m:mi>exp</m:mi><m:mfenced separators="">
   <m:mo>-</m:mo>
   <m:msup>
    <m:mi>x</m:mi>
    <m:mn>2</m:mn>
   </m:msup>
   <m:mo>-</m:mo>
   <m:msup>
    <m:mi>y</m:mi>
    <m:mn>2</m:mn>
   </m:msup>
  </m:mfenced></m:mrow>
 <m:mo>-</m:mo>
 <m:mrow>
  <m:mfrac>
    <m:mn>1</m:mn>
    <m:mn>3</m:mn>
  </m:mfrac>
  <m:mrow><m:mi>exp</m:mi><m:mfenced separators="">
    <m:mo>-</m:mo>
    <m:msup>
     <m:mfenced separators="">
      <m:mi>x</m:mi><m:mo>+</m:mo><m:mn>1</m:mn>
     </m:mfenced>
     <m:mn>2</m:mn>
    </m:msup>
    <m:mo>-</m:mo>
    <m:msup>
     <m:mi>y</m:mi>
     <m:mn>2</m:mn>
    </m:msup>
   </m:mfenced></m:mrow>
 </m:mrow>
</m:math></td><td class="formula2"/></tr></table></div>

on the box <m:math>
 <m:mfenced separators="" open="[" close="]"><m:mrow><m:mo>-</m:mo><m:mn>3</m:mn></m:mrow><m:mo>,</m:mo><m:mn>3</m:mn></m:mfenced>
 <m:mo>&#215;</m:mo>
 <m:mfenced separators="" open="[" close="]"><m:mrow><m:mo>-</m:mo><m:mn>3</m:mn></m:mrow><m:mo>,</m:mo><m:mn>3</m:mn></m:mfenced>
</m:math>.
</div><div class="paramtext">The function <m:math><m:mi>F</m:mi></m:math>&#160;has several local minima and one global minimum in the given box. The global minimum is approximately located at <m:math>
 <m:mfenced separators=""><m:mn>0.23</m:mn><m:mo>,</m:mo><m:mrow><m:mo>-</m:mo><m:mn>1.63</m:mn></m:mrow></m:mfenced>
</m:math>, where the function value is approximately <m:math><m:mrow><m:mo>-</m:mo><m:mn>6.55</m:mn></m:mrow></m:math>.</div><div class="paramtext">By specifying an initialization list via <a class="arg" href="../E05/e05jbf.xml#LIST">LIST</a>, <a class="arg" href="../E05/e05jbf.xml#NUMPTS">NUMPTS</a> and <a class="arg" href="../E05/e05jbf.xml#INITPT">INITPT</a> we can start <a class="rout" href="../E05/e05jbf.xml">E05JBF</a> looking close to one of the local minima and check that it really does move away from that point to one of the global minima.</div><div class="paramtext">More precisely, we choose <m:math>
 <m:mfenced separators=""><m:mrow><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow><m:mo>,</m:mo><m:mn>0</m:mn></m:mfenced>
</m:math>&#160;as our initial point (see <a class="sec" href="#examresults">Section 9.3</a>), and let the initialization list be 

<div class="formula"><table class="formula"><tr><td class="formula"><m:math display="block">
 <m:mfenced><m:mtable>
  <m:mtr>
   <m:mtd><m:mrow><m:mo>-</m:mo><m:mn>3</m:mn></m:mrow></m:mtd>
   <m:mtd><m:mrow><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:mtd>
   <m:mtd><m:mn>3</m:mn></m:mtd>
  </m:mtr><m:mtr>
   <m:mtd><m:mrow><m:mo>-</m:mo><m:mn>3</m:mn></m:mrow></m:mtd>
   <m:mtd><m:mn>0</m:mn></m:mtd>
   <m:mtd><m:mn>3</m:mn></m:mtd>
  </m:mtr>
 </m:mtable></m:mfenced>
 <m:mtext>.</m:mtext>
</m:math></td><td class="formula2"/></tr></table></div></div><div class="paramtext">This example solves the optimization problem using some of the optional parameters described in <a class="sec" href="../E05/e05jbf.xml#optparams">Section 11</a> in E05JBF.</div><h3 class="standard"><a class="sec" name="examtext" id="examtext"/>9.1&#160;&#160;Program Text</h3>
<p><a class="verbatimref" href="../../examples/source/e05jcfe.f">Program Text (e05jcfe.f)</a></p><h3 class="standard"><a class="sec" name="examdata" id="examdata"/>9.2&#160;&#160;Program Data</h3>
<p><a class="verbatimref" href="../../examples/data/e05jcfe.d">Program&#160;Data (e05jcfe.d)</a></p><h3 class="standard"><a class="sec" name="examresults" id="examresults"/>9.3&#160;&#160;Program Results</h3>
<p><a class="verbatimref" href="../../examples/baseresults/e05jcfe.r">Program Results (e05jcfe.r)</a></p><div class="figure"><a name="e05jcf-plot" id="e05jcf-plot"/><img src="../figures/e05jcf-plot.png" alt="Example Program Plot for e05jcf-plot"/></div><hr/><div><a class="rout" href="../../pdf/E05/e05jcf.pdf">E05JCF (PDF version)</a></div><div><a class="chap" href="e05conts.xml">E05 Chapter Contents</a></div><div><a class="chapint" href="e05intro.xml">E05 Chapter Introduction</a></div>
<div><a class="htmltoc" href="../FRONTMATTER/manconts.xml">NAG Library Manual</a></div>
<div><hr/><a class="genint" href="../FRONTMATTER/copyright.xml">&#169; The Numerical Algorithms Group Ltd, Oxford, UK. 2009</a></div></body></html>
