[Ipopt] C++ interface and .nl files

Horand Gassmann Horand.Gassmann at Dal.Ca
Wed Jan 27 13:01:54 EST 2016

This is actually not true. David Gay made available and maintains the AMPL Solver Library ASL, which can be downloaded from COIN-OR. The OS project has an interface to Ipopt that uses ASL and provides support for .nl files, even if Ipopt does not do so directly.


Horand I. Gassmann, Professor

Kenneth C. Rowe School of Business, Dalhousie University
6100 University Avenue, PO Box 15000
Halifax, Nova Scotia, Canada, B3H 4R2
ph. (902) 494-1844
fax (902) 494-1107

From: Ipopt [ipopt-bounces at coin-or.org] on behalf of Ian Washington [washinid at mcmaster.ca]
Sent: January-27-16 1:58 PM
To: ipopt at list.coin-or.org
Subject: Re: [Ipopt] C++ interface and .nl files

Short answer is NO.

You should look into modeling tools like Pyomo or Casadi. You can find
examples in each respective package.


On 01/27/2016 09:54 AM, Gianpaolo Gulletta wrote:
> Hi ,
> I have Ipopt 3.12.4 and I would like to know if there is the possibility
> to read a .nl file through c++ code and solve the problem.
> As far as I know there are not examples about it, therefore I would
> really appreciate a example code to understand how it works.
> Thank you very much.
> Best Regards,

Ipopt mailing list
Ipopt at list.coin-or.org

More information about the Ipopt mailing list