[Ipopt] example.for asks for MA_47

Stefan Vigerske stefan at math.hu-berlin.de
Tue Jun 27 04:57:29 EDT 2017


Hi,

I don't think there is still support for the Fortran version of Ipopt.
That said, it seems to use MA47 if option QSYMSOLV is set to 0. This is 
the default only if MA27 and MA57 are not available.
So maybe check whether configure correctly recognized the HSL library. 
It could also be that the 11 years old configure script that comes with 
Ipopt for Fortran does not work correctly anymore on current systems.

Stefan

On 06/26/2017 11:06 PM, Daniel Feenberg wrote:
> 
> 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
> 
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_ipopt&d=DwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=BRcuJnQr5NAzU29t80hk2rsLc4vrlRySBDabuq0O1ZI&m=57EzbIb1lZWTr3fdjpzyWZAc19e7ZjirjqngTqBb2K0&s=4qlCGDJyG3EauH1fhuTz92vyVVB3zID--HwZUSwnxSA&e= 
> 


-- 
http://www.gams.com/~stefan


More information about the Ipopt mailing list