资源简介
基于遗传算法的电力系统无功优化程序,可以帮您更好的进行电力系统的优化,使用标准的MATLAB程序
代码片段和文件信息
function [bestmembestvalnfeval] = devec3(fnameVTRDXVminXVmaxyNPitermaxFCRstrategyrefresh);
% minimization of a user-supplied function with respect to x(1:D)
% using the differential evolution (DE) algorithm of Rainer Storn
% (http://www.icsi.berkeley.edu/~storn/code.html)
%
% Special thanks go to Ken Price (kprice@solano.community.net) and
% Arnold Neumaier (http://solon.cma.univie.ac.at/~neum/) for their
% valuable contributions to improve the code.
%
% Strategies with exponential crossover further input variable
% tests and arbitrary function name implemented by Jim Van Zandt
% 12/97.
%
% Output arguments:
% ----------------
% bestmem parameter vector with best solution
% bestval best objective function value
% nfeval number of function evaluations
%
% Input arguments:
% ---------------
%
% fname string naming a function f(xy) to minimize
% VTR “Value To Reach“. devec3 will stop its minimization
% if either the maximum number of iterations “itermax“
% is reached or the best parameter vector “bestmem“
% has found a value f(bestmemy) <= VTR.
% D number of parameters of the objective function
% XVmin vector of lower bounds XVmin(1) ... XVmin(D)
% of initial population
% *** note: these are not bound constraints!! ***
% XVmax vector of upper bounds XVmax(1) ... XVmax(D)
% of initial population
% y problem data vector (must remain fixed during the
% minimization)
% NP number of population members
% itermax maximum number of iterations (generations)
% F DE-stepsize F from interval [0 2]
% CR crossover probability constant from interval [0 1]
% strategy 1 --> DE/best/1/exp 6 --> DE/best/1/bin
% 2 --> DE/rand/1/exp 7 --> DE/rand/1/bin
% 3 --> DE/rand-to-best/1/exp 8 --> DE/rand-to-best/1/bin
% 4 --> DE/best/2/exp 9 --> DE/best/2/bin
% 5 --> DE/rand/2/exp else DE/rand/2/bin
% Experiments suggest that /bin likes to have a slightly
% larger CR than /exp.
% refresh intermediate output will be produced after “refresh“
% iterations. No intermediate output will be produced
% if refresh is < 1
%
% The first four arguments are essential (though they have
% default values too). In particular the algorithm seems to
% work well only if [XVminXVmax] covers the region where the
% global minimum is expected. DE is also somewhat sensitive to
% the choice of the stepsize F. A good initial guess is to
% choose F from interval [0.5 1] e.g. 0.8. CR the crossover
% probability constant from interval [0 1] helps to maintain
% the diversity of the population and is rather
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 13663 2006-04-16 06:41 基于遗传算法matlab优化程序\devec3.m
文件 428 2006-04-16 06:42 基于遗传算法matlab优化程序\rosen.m
文件 1691 2006-04-16 06:42 基于遗传算法matlab优化程序\run1.m
文件 784 2006-04-16 06:42 基于遗传算法matlab优化程序\run2.m
文件 5825 2006-04-16 06:42 基于遗传算法matlab优化程序\yue.m
文件 5797 2010-04-08 21:32 基于遗传算法matlab优化程序\yue2.m
目录 0 2010-04-14 13:35 基于遗传算法matlab优化程序
----------- --------- ---------- ----- ----
28188 7
- 上一篇:matlab ar模型卡尔曼滤波代码
- 下一篇:故障树的MATLAB程序。
相关资源
- 故障树的MATLAB程序。
- matlab ar模型卡尔曼滤波代码
- NSGA2-matlaB
-
buck-boost的simuli
nk电路仿真图 - 粒子群 matlab简单优化过的 TSP
- Matlab增量式PID算法仿真
- matlab 数据处理 求绝对误差 剔除粗
- 基于MATLAB的基带传输位同步信号提取
- 基于MATLAB的图像分割含GUI界面
- matlab写的GMM代码
- MATLAB ADOV 路由仿真代码
- turbo码的matlab仿真
- 基于BP神经网络的PID控制器的Matlab仿真
- matlab逻辑回归应用代码十分详细附数
- 各种滤波器程序 matlab
- AOA定位的扩展卡尔曼滤波定位算法M
- 对数极坐标变换matlab程序
- 地震波剖面图的形成matlab
- 倾斜界面求波的反透射系数matlab
- MATLAB课程设计报告
- 混沌logistic的matlab仿真
- L-K光流法matlab实现
- 利用bp神经网络实现0~9数字识别,
- 基于MATLAB的直接序列扩频通信系统误
- 潮流计算之前推回代法的matlab程序
- HHT MATLAB工具箱
- fft-piv矢量估计matlab代码
- 利用Matlab进行车辆检测与车型识别
- 压缩在感知之广义正交匹配追踪法G
- 压缩感知之分段正交匹配追踪法StOM
评论
共有 条评论