简体   繁体   English

fortran中的错误消息(优化例程)

[英]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? 我正在使用fortran,但出现以下错误消息:对“ newuoa_h_”的未定义引用有人知道如何在fortran中运行NEWUOA_H(n,npt,x,rhobeg,rhoend,iprint,maximfun,w,mv)吗?

thanks 谢谢

Your missing function seems to be here in the otkpp optimization library. 你缺少的功能似乎是这里otkpp优化库。

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). 您可能必须安装它,或在列表中提取所需的功能(有C ++包装程序,但算法是用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 ). 顺便说一句,如果您还使用LMBM,则Napsu Karmitsa的网站 (作者)上有一条注释,该注释不在Google 网上论坛上: 该软件是免费的,可用于学术教学和研究,但我请您至少参考以下内容之一:如果您使用它,则在下面给出引用 。“我不知道是谁编写了newuoa,但是otkpp本身受GPLv3约束,它的作者Seppo Pulkkinen是Karmitsa监督下的一名学生(请参见此处 )。

edit 编辑

After more search, it appears newuoa has been written by MJD Powell (a numerical analyst well known in the optimization field), now retired. 经过更多搜索后,似乎纽奥瓦由MJD Powell (在优化领域广为人知的数值分析器)撰写,现已退休。 The source code is also here , in Fortran together with an f2c translation. 源代码也在此处 ,在Fortran中以及f2c转换。 The fortran code is " totally free " according to this site. 根据该站点,fortran代码是“ 完全免费的 ”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM