[Ipopt-tickets] [Ipopt] #171: suspect a bug in AmplTNLP.cpp

Ipopt coin-trac at coin-or.org
Wed Oct 26 04:42:32 EDT 2011


#171: suspect a bug in AmplTNLP.cpp
--------------------+-------------------------------------------------------
Reporter:  baharev  |       Owner:  ipopt-team
    Type:  defect   |      Status:  new       
Priority:  normal   |   Component:  Ipopt     
 Version:  3.10     |    Severity:  normal    
Keywords:           |  
--------------------+-------------------------------------------------------
 I suspect that line 572 in AmplTNLP.cpp (Revision 2056:
 /stable/3.10/Ipopt/src/Apps/AmplSolver)

 {{{
     else if (!iRow & !jCol && values) {
 }}}

 was intended as to be


 {{{
     else if (!iRow && !jCol && values) {
 }}}


 Even if it is not a bug, "Suggested parenthesis around expression '!iRow &
 !jCol'" to quote gcc.

-- 
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/171>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.



More information about the Ipopt-tickets mailing list