<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Xing,<br>
      <br>
      In the future, please send emails regarding Ipopt to the Ipopt
      mailing list.<br>
      <br>
      The standard Ipopt output level shows the Ipopt time at the end:<br>
      <br>
      Total CPU secs in IPOPT (w/o function evaluations)&nbsp;&nbsp; =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.008<br>
      Total CPU secs in NLP function evaluations&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.000<br>
      <br>
      You can set "print_timing_statistics=yes" to see a more detailed
      breakdown of the CPU time.<br>
      <br>
      <pre class="moz-signature" cols="72">Andreas Waechter

Associate Professor
Department of Industrial Engineering and Management Sciences
McCormick School of Engineering
Northwestern University
Evanston, IL 60208
USA
<a class="moz-txt-link-freetext" href="http://users.iems.northwestern.edu/~andreasw/">http://users.iems.northwestern.edu/~andreasw/</a></pre>
      On 08/24/2012 09:35 PM, Xing Li wrote:<br>
    </div>
    <blockquote
cite="mid:948549c2c5fa4a0ab632f2b45065c68e@EVCSPCAS3.ads.northwestern.edu"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      Dear Prof. Waechter,
      <div><br>
      </div>
      <div>Many thanks for your reading my email.&nbsp;</div>
      <div><br>
      </div>
      <div>I am using Ipopt through AMPL to solve a realtime Smart Grid
        optimization problem and I would like to get the CPU time of
        ipopt when solving each optimization problem. When using CPLEX,
        it can be easily done by a directive named "timing" and by
        setting it to &nbsp;"cplex_options ' timing = 1'; ". However, I
        didn't find any commends like this in the COIN-IN IPOPT AMPL
        commands. Therefore, I would like to hear your suggestions on
        the writing out the ipopt CPU time.&nbsp;</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>Best Regards and Thank you very much!&nbsp;</div>
      <div>
        <div><br>
        </div>
        -- <br>
        <div><font style="background-color:#ffffff" color="#000000">Xing
            Li </font></div>
        <div><font style="background-color:#ffffff" color="#000000">8/25/2012</font></div>
        <div><font color="#999999"><font color="#999999"><br>
            </font>B.S.E 2012<em><strong> </strong>Industrial and
              Operations Engineering</em></font></div>
        <div><font color="#999999">University of Michigan - Ann Arbor</font></div>
        <div>
          <div><font color="#999999">B.S.E 2012 <em>Electrical and
                Computer Engineering</em></font></div>
          <div><font color="#999999">Shanghai Jiao Tong University -
              Shanghai</font></div>
          <font color="#999999">
            <div><a moz-do-not-send="true"
                href="mailto:xingli@umich.edu" target="_blank">xingli@umich.edu</a><font
                color="#000000"> |&nbsp;<u> 734.531.8872</u></font><font
                color="#000000">&nbsp;|
              </font><a moz-do-not-send="true"
                href="http://ioe.engin.umich.edu/" target="_blank">http://ioe.engin.umich.edu/</a></div>
          </font></div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>