[Ipopt-tickets] [Ipopt] #197: IpOpt C++ pre-built DLL throws exception

Ipopt coin-trac at coin-or.org
Fri Mar 15 09:43:15 EDT 2013


#197: IpOpt C++ pre-built DLL throws exception
---------------------+------------------------
Reporter:  fastakal  |      Owner:  ipopt-team
    Type:  defect    |     Status:  new
Priority:  highest   |  Component:  Ipopt
 Version:  3.10      |   Severity:  normal
Keywords:            |
---------------------+------------------------
 I am coding my problem in c++ and using IpOpt pre-built library v3.10.1. I
 am using vc++ 2010.

 I coded the problem by implementing the required methods and inheriting
 from TNLP class, the dll file (IpOpt-vc10.dll) in Release mode throws an
 exception after calling the methods. I cannot trace where the exception
 was thrown from because It's the release version. I am not coding the
 hessian of the lagrangian but asking IpOpt to estimate it (by setting the
 option hessian_approximation to 'limited-memory' in the options file and
 by returning false in eval_h() method).

 print_level 12
 output_file ipopt.out
 hessian_approximation limited-memory
 tol 1e-7
 mu_strategy adaptive

 The runtime exception is:

 Unhandled exception at 0x770715de in WindFarm.exe: 0xC0000005: Access
 violation reading location 0x566cf290.

 ignore the name of the exe and the addresses in the exception.

 The output of IpOpt on the console before throwing the exception is shown
 in the attached image.

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



More information about the Ipopt-tickets mailing list