[Ipopt] example.for asks for MA_47

Daniel Feenberg feenberg at nber.org
Mon Jun 26 17:06:11 EDT 2017


I was able to follow the instructions to install ipopt on our Linux 
system, configure and make both completed without complaint after I 
obtains the HSL license and lib/include files.

Nevetheless, when I compile and run the example.f program, I get an error 
from IPOPT:

    ma47_call:  Compiled without MA47 - cannot execute this option
    init_mem: GET_STEP_FULL returns IERR =           97
    ipopt: ESTIMATE_WS returns IERR =           97

    An error occoured after           -1  Iterations.
    The error code is           97

The license came with a link to download a library, which apparently contains:

    2011-09-11
    Testing pre-release. Contains following package versions:
     * MC19 1989-03-09
     * HSL_MC68 v3.2.0
     * MA27 2003-03-19
     * MA28 1993-06-21
     * MA57 v3.7.0
     * HSL_MA77 v5.7.0
     * HSL_MA86 v1.2.0

so no MA_47. The Makefiles includes these lines related to MA_47:

   Makefile:BUILDMA47_FALSE =
   Makefile:BUILDMA47_TRUE = #
   Makefile.in:BUILDMA47_FALSE = @BUILDMA47_FALSE@
   Makefile.in:BUILDMA47_TRUE = @BUILDMA47_TRUE@

but I don't really want to insist on MA47 - I'd rather use MA77 which 
should be available. What should I do? I don't see any parameters in the 
fortran code that will help, and I don't think I can compile with MA_47 
with source not available. I must be wrong about one of those statements, 
though.

Any help much appreciated - I haven't worked with nonlinear optimizers 
since 1978.

Thanks
daniel feenberg
NBER
Cambridge MA



More information about the Ipopt mailing list