The code was sent by Professor Powell to Zaikun Zhang on December 16th, 2013.
The file "email.txt" is the original email. For more information on BOBYQA,
you might contact Professor Powell (mjdp@cam.ac.uk).
December 16th, 2013 Zaikun Zhang (www.zhangzk.net)
Below are the remarks from Professor Powell.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Fortran version of BOBYQA is attached. Its purpose is to seek
the least value of a function F of several variables, when derivatives
are not available, where F is specified by the user through a subroutine
called CALFUN. The name BOBYQA denotes Bound Approximation BY Quadratic
Approximation, the constraints being lower and upper bounds on every
variable, which can be set to huge values for unconstrained variables.
The algorithm is intended to change the variables to values that are close
to a local minimum of F. The user, however, should assume responsibility for
finding out if the calculations are satisfactory, by considering carefully
the values of F that occur. Details of the method of BOBYQA are given in
the report "The BOBYQA algorithm for bound constrained optimization without
derivatives", which can be reached from the "damtp.cam.ac.uk" home-page on
the web, by clicking on "Research at DAMTP", then on "Numerical Analysis"
and then on "Reports", the number of the report being 2009/NA06.
The attachments in sequence are a suitable Makefile, followed by a main
program and a CALFUN routine for the "Invdist2" problem, in order to provide
an example for testing. Then BOBYQA and its six auxiliary routines, namely
BOBYQB, ALTMOV, PRELIM, RESCUE, TRSBOX and UPDATE, are given. Finally, the
computed output that the author obtained for the Invdist2 problems is listed.
In addition to providing CALFUN, an initial vector of variables and
the lower and upper bounds, the user has to set the values of the parameters
RHOBEG, RHOEND and NPT. After scaling the individual variables if necessary,
so that the magnitudes of their expected changes are similar, RHOBEG is the
initial steplength for changes to the variables, a reasonable choice being
the mesh size of a coarse grid search. Further, RHOEND should be suitable for
a search on a very fine grid. Typically, the software calculates a vector
of variables that is within distance 10*RHOEND of a local minimum. Another
consideration is that every trial vector of variables is forced to satisfy
the lower and upper bounds, but there has to be room to make a search in all
directions. Therefore an error return occurs if the difference between the
bounds on any variable is less than 2*RHOBEG. The parameter NPT specifies
the number of interpolation conditions on each quadratic model, the value
NPT=2*N+1 being recommended for a start, where N is the number of variables.
It is often worthwhile to try other choices too, but much larger values tend
to be inefficient, because the amount of routine work of each iteration is
of magnitude NPT**2, and because the achievement of adequate accuracy in some
matrix calculations becomes more difficult. Some excellent numerical results
have been found in the case NPT=N+6 even with more than 100 variables.
The way of calling BOBYQA should be clear from the Invdist2 examples
and from the comments near the beginning of SUBROUTINE BOBYQA. There are no
restrictions on or charges for the use of the software. I hope that the time
and effort I have spent on developing the package will be helpful to much
research and to many applications.
January 5th, 2009 M.J.D. Powell (mjdp@cam.ac.uk)
没有合适的资源?快使用搜索试试~ 我知道了~
无导数优化求解器附matlab代码.zip
共198个文件
f:103个
txt:31个
m:14个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 162 浏览量
2023-12-02
21:11:53
上传
评论
收藏 644KB ZIP 举报
温馨提示
1.版本:matlab2014/2019a/2021a,内含运行结果,不会运行可私信 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。 5.作者介绍:某大厂资深算法工程师,从事Matlab算法仿真工作10年;擅长智能优化算法、神经网络预测、信号处理、元胞自动机等多种领域的算法仿真实验,更多仿真源码、数据集定制私信+。
资源推荐
资源详情
资源评论
收起资源包目录
无导数优化求解器附matlab代码.zip (198个子文件)
meson.build 4KB
meson.build 407B
meson.build 86B
cobylb.f 43KB
bobyqb.f 33KB
lincob.f 31KB
bobyqb.f 27KB
trstlp.f 26KB
newuob.f 25KB
trstlp.f 24KB
lincob.f 24KB
cobylb.f 23KB
bobyqb.f 22KB
cobyla-interface.F 22KB
lincoa-interface.F 21KB
lincoa-interface.F 20KB
cobyla-interface.F 20KB
newuob.f 20KB
uobyqb.f 19KB
lincob.f 19KB
bobyqa-interface.F 19KB
bobyqa-interface.F 18KB
newuob.f 17KB
rescue.f 16KB
rescue.f 16KB
uobyqb.f 16KB
newuoa-interface.F 15KB
uobyqa-interface.F 15KB
newuoa-interface.F 14KB
uobyqa-interface.F 14KB
trstlp.f 14KB
trsbox.f 14KB
uobyqb.f 13KB
trsbox.f 13KB
rescue.f 13KB
cobylb.f 13KB
trsbox.f 12KB
trstep.f 12KB
bigden.f 11KB
trstep.f 11KB
trstep.f 11KB
bigden.f 11KB
altmov.f 10KB
trstep.f 10KB
trstep.f 10KB
altmov.f 10KB
getact.f 10KB
bigden.f 9KB
lincoa.f 9KB
trstep.f 9KB
getact.f 9KB
altmov.f 9KB
lincoa.f 9KB
qmstep.f 9KB
getact.f 9KB
bobyqa.f 8KB
prelim.f 8KB
qmstep.f 8KB
bobyqa.f 7KB
update.f 7KB
update.f 7KB
qmstep.f 7KB
prelim.f 7KB
prelim.f 7KB
lincoa.f 6KB
update.f 6KB
cobyla.f 6KB
prelim.f 6KB
trsapp.f 6KB
trsapp.f 6KB
cobyla.f 6KB
gethuge.F 6KB
prelim.f 6KB
trsapp.f 5KB
biglag.f 5KB
biglag.f 5KB
newuoa.f 5KB
prelim.f 5KB
lagmax.f 5KB
lagmax.f 5KB
bobyqa.f 5KB
newuoa.f 5KB
biglag.f 5KB
lagmax.f 5KB
uobyqa.f 5KB
main.f 5KB
uobyqa.f 4KB
cobyla.f 4KB
update.f 4KB
update.f 4KB
main.f 3KB
update.f 3KB
newuoa.f 3KB
calcfc.f 3KB
update.f 3KB
update.f 3KB
uobyqa.f 2KB
pdfoconst.F 2KB
update.f 2KB
main.f 2KB
共 198 条
- 1
- 2
资源评论
Matlab科研辅导帮
- 粉丝: 2w+
- 资源: 7553
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功