[Ipopt-tickets] [Ipopt] #10: When executing the ampl interface with "halt_on_ampl_error yes" the rest of the script bails out.

Ipopt coin-trac at coin-or.org
Mon May 15 22:36:57 EDT 2006


#10: When executing the ampl interface with "halt_on_ampl_error yes" the rest of
the script bails out.
-------------------------------+--------------------------------------------
 Reporter:  soyrush at gmail.com  |       Owner:  ipopt-team       
     Type:  defect             |      Status:  new              
 Priority:  high               |   Milestone:                   
Component:  Ipopt              |     Version:  3.0 - C++ Version
 Severity:  major              |    Keywords:                   
-------------------------------+--------------------------------------------
 I'm not sure if this is the correct way that Ipopt should work, or if it's
 a bug. When I execute my ampl script with the "halt_on_ampl_error yes"
 option I get the following error message:

 Error evaluating "var =" definition 2170:
 can't evaluate exp(2998.13): No such file or directory.
 exit code 1
 <BREAK>

 After this error, the rest of my script is not executed, and therefore it
 becomes quite hard to find where or which variable is the problem (i.e.,
 where to set a new bound). Specially because after the error the values of
 the variables in AMPL don't get updated...

 If I remove the halt_on... option the solver continues, but doesn't
 converge probably due to the incorrect bound.

 I'm working on a Linux machine with the following characteristics:
 Linux distro: CentOS 4.3(Final)
 gcc version 3.4.5
 I compiled my ipopt with the default options obtainded by executing the
 configure script, and with ma27, ma19.
 ASL, blas, and Lapack where donwloaded with the get* script.


 Thanks all,
  Rodrigo López Negrete

-- 
Ticket URL: <http://projects.coin-or.org/Ipopt/ticket/10>
Ipopt <http://www.coin-or.org>
My example project


More information about the Ipopt-tickets mailing list