[Ipopt] 2 function evaluations for 1 iteration

Altmannshofer, Simon simon.altmannshofer at tum.de
Wed Jun 13 05:20:27 EDT 2012


Hello,

for a rather time critical application I limited the maximal iterations to 1. The IPOPT algorithm uses two function evaluations (objective, gradient, inequality constraint, inequality constraint Jacobian), see below.
How does IPOPT need 2 function evaluations for 1 iteration?
Is there an option in IPOPT to reduce the function evaluation to 1?


This is Ipopt version 3.9stable, running with linear solver ma27.
Number of nonzeros in equality constraint Jacobian...:        0
Number of nonzeros in inequality constraint Jacobian.:     9180
Number of nonzeros in Lagrangian Hessian.............:        0
Total number of variables............................:      135
                     variables with only lower bounds:        0
                variables with lower and upper bounds:      135
                     variables with only upper bounds:        0
Total number of equality constraints.................:        0
Total number of inequality constraints...............:      136
        inequality constraints with only lower bounds:        0
   inequality constraints with lower and upper bounds:      136
        inequality constraints with only upper bounds:        0
iter    objective    inf_pr   inf_du lg(mu)  ||d||  lg(rg) alpha_du alpha_pr  ls
   0 1.1921264e+005 0.00e+000 1.56e+001  -1.0 0.00e+000    -  0.00e+000 0.00e+000   0
   1 1.1203811e+005 8.57e-005 1.15e+001  -1.0 1.56e+001    -  1.00e+000 1.00e+000f  1
Number of Iterations....: 1
                                   (scaled)                 (unscaled)
Objective...............:  1.1203811422501499e+005   1.1203811422501499e+005
Dual infeasibility......:  1.1487321543176369e+001   1.1487321543176369e+001
Constraint violation....:  0.0000000000000000e+000   0.0000000000000000e+000
Complementarity.........:  1.1373351040396854e-001   1.1373351040396854e-001
Overall NLP error.......:  1.1487321543176369e+001   1.1487321543176369e+001

Number of objective function evaluations             = 2
Number of objective gradient evaluations             = 2
Number of equality constraint evaluations            = 0
Number of inequality constraint evaluations          = 2
Number of equality constraint Jacobian evaluations   = 0
Number of inequality constraint Jacobian evaluations = 2
Number of Lagrangian Hessian evaluations             = 0
Total CPU secs in IPOPT (w/o function evaluations)   =      0.005
Total CPU secs in NLP function evaluations           =      0.002
EXIT: Maximum Number of Iterations Exceeded.


Best Regards
Simon

-----------------------------------------------------
Dipl.-Ing. Simon Altmannshofer
Lehrstuhl für Regelungstechnik
Technische Universität München
Boltzmannstraße 15
85748 Garching bei München

Tel.:     +49 (89) 289-15679
Fax:      +49 (89) 289-15653
E-Mail:   simon.altmannshofer at tum.de<mailto:tobias.kloiber at tum.de>
Internet: www.rt.mw.tum.de<http://www.rt.mw.tum.de>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20120613/d2f5eb39/attachment-0001.html>


More information about the Ipopt mailing list