user2705569
user2705569

Reputation: 11

Error message in fortran (Optimizing routine)

I am using fortran and I have the following error message: undefined reference to `newuoa_h_' does anyone know how to run NEWUOA_H(n,npt,x,rhobeg,rhoend,iprint,maxfun,w,mv) in fortran?

thanks

Upvotes: 1

Views: 148

Answers (1)

user1220978
user1220978

Reputation:

Your missing function seems to be here in the otkpp optimization library.

You may have to install it, or at list to extract the functions you need (there is a C++ wrapper, but the algorithms are written in Fortran).

By the way, if you use also LMBM, there is a note on Napsu Karmitsa's site (the author) which is not on Google groups: The software is free for academic teaching and research purposes but I ask you to refer at least one of the references given below if you use it". I don't know who wrote newuoa, but otkpp itself is under GPLv3, and it's author, Seppo Pulkkinen, is a student under Karmitsa's supervision (see here).

edit

After more search, it appears newuoa has been written by M. J. D. Powell (a numerical analyst well known in the optimization field), now retired. The source code is also here, in Fortran together with an f2c translation. The fortran code is "totally free" according to this site.

Upvotes: 1

Related Questions