Location:
Search - LB matlab
Search list
Description: 对Matlab中的遗传算法工具箱进行改进而得到的遗传退火进化算法。可用于一般的最优化问题,求解无约束的或带有线性约束的连续函数的全局最小值。
首先对传统的遗传算法和模拟退火算法进行改进,然后将模拟退火算法引入了遗传算法,结合两种算法的优点,得到一种新的遗传退火进化算法。它不但实现了遗传算法的全局搜索能力与模拟退火算法的局部搜索能力的结合,同时可使改进后的模拟退火算法能够充分利用遗传算法所得的全局信息。经验证,改算法能使遗传算法避免产生早熟收敛,增强了算法的全局收敛性,而且加快了算法的收敛速度。
该算法的使用方法与遗传算法相似,可参考matlab遗传算法的帮助文档。区别在于不能含有非线性约束。
使用格式:[x, fval] = ga_nn(fitnessfcn,nvars,A,b,Aeq,beq,LB,UB,options)
其中的options可以使用gatool设置后导出,也可以使用压缩包中附带的gaoptions.mat导入。
Platform: |
Size: 560929 |
Author: fengling981825 |
Hits:
Description: % [BestPop,Trace]=fmaxga(FUN,LB,UB,eranum,popsize,pcross,pmutation)
% Finds a maximum of a function of several variables.
% fmaxga solves problems of the form:
% max F(X) subject to: LB <= X <= UB
% BestPop--------最优的群体即为最优的染色体群
% Trace----------最佳染色体所对应的目标函数值
% FUN------------目标函数
% LB-------------自变量下限
% UB-------------自变量上限
% eranum---------种群的代数,取100--1000(默认1000)
% popsize--------每一代种群的规模;此可取50--100(默认50)
% pcross---------交叉的概率,此概率一般取0.5--0.85之间较好(默认0.8)
% pmutation------变异的概率,该概率一般取0.05-0.2左右较好(默认0.1)
% options--------1×2矩阵,options(1)=0二进制编码(默认0),option(1)~=0十进制编码,option(2)设定求解精度(默认1e-4)- [BestPop, Trace] = fmaxga (FUN, LB, UB, eranum, popsize, pcross, pmutation) Finds a maximum of a function of several variables. Fmaxga solves problems of the form: max F (X) subject to : LB <= X <= UB BestPop-------- optimal chromosome groups is the best group Trace---------- chromosome corresponding to the best objective function value FUN------------ objective function LB------------- variable lower limit since the UB------------- variable upper limit eranum--------- populations algebra, take 100- 1000 (default 1000) popsize-------- population size of each generation this desirable 50- 100 (default 50) pcross--------- crossover probability, the probability of a general check 0.5- 0.85 between the better (default 0.8) pmutation------ mutation probability, the probability of 0.05 general admission better about-0.2 (default 0.1) options-------- 1 × 2 matrix, options (1) = 0 binary code (default 0), option (1) ~ = 0 decimal coding, option (2 ) set accuracy (default 1e-4)
Platform: |
Size: 3072 |
Author: mmcc |
Hits:
Description: Lattice Boltzmann LBE模型在二维多孔介质流体渗流中的应用,基于geometry: D2Q9, model: BGK-Simple, yet simplistic, Lattice Boltzmann (LB) MATLAB implementation. D2H9, BGK, omega = 1, laminar flow in a 2D channel used as benchmark. Requires Image Processing Toolbox.
Platform: |
Size: 6144 |
Author: Lemon |
Hits:
Description: 在Matlab中写的Lattice Boltzmann程序,对LBM学习者很有用。-LB programing with Matlab.
Platform: |
Size: 2048 |
Author: muling811 |
Hits:
Description: 用MATLAB编写的均值滤波,中值滤波,等等滤除外加的椒盐噪声的算法-MATLAB prepared by the average filtering and median filtering, except the and so on filter with salt &pepper noise algorithm
Platform: |
Size: 1024 |
Author: rambolyb |
Hits:
Description: 用于求解多孔介质的波尔茨曼方程,采用matlab编写。-Code for lb method to analysis the pirous problem.
Platform: |
Size: 2048 |
Author: 李浩 |
Hits:
Description: 2D cavity flow, simulated by a LB method
Platform: |
Size: 2048 |
Author: solitpapa |
Hits:
Description: 详细功能中值滤波、包含内容说明中值滤波的介绍 例子和图像-Detailed functional median filtering, median filtering introduction of examples and images including the content description
Platform: |
Size: 39936 |
Author: 王广 |
Hits:
Description: Simple, yet simplistic, Lattice Boltzmann (LB) MATLAB implementation. D2H9, BGK, omega = 1, laminar flow in a 2D channel used as benchmark. Requires Image Processing Toolbox.
The code is not optimized for memory nor for speed, i.e. not efficient at all. However, it is better than almost nothing (i.e. the present MATLAB situation at Feb 2005 ? as far as I know)
Optimization for memory should consider only dry locations.
Platform: |
Size: 7168 |
Author: SeolHa |
Hits:
Description: The present matlab code derives from the basic Lattice Boltzmann code named LB BGK D2Q9 and submitted on 2005-02-10 (see Matlab Central)
MATLAB release MATLAB 7.1.0 (R14SP3)
Platform: |
Size: 7168 |
Author: SeolHa |
Hits:
Description: The MatLab code uses lattice Boltzmann (LB) method to simulate two phase flows for immiscible fluids (blue & red fluids) in 2D according to the D2Q9 scheme.
The model is also referred to as color model or chromodynamic model or ILB (immiscible LB).
This MatLab implementation of ILB saves an AVI file in dir_avi= C:\ that records frames generated by the time evolution iterations.
The code implements in D2Q9 the model originally developed by Gunstensen [Gunstensen AK, Rothman D. Lattice The MatLab code uses lattice Boltzmann (LB) method to simulate two phase flows for immiscible fluids (blue & red fluids) in 2D according to the D2Q9 scheme.
The model is also referred to as color model or chromodynamic model or ILB (immiscible LB).
This MatLab implementation of ILB saves an AVI file in dir_avi= C:\ that records frames generated by the time evolution iterations.-The MatLab code uses lattice Boltzmann (LB) method to simulate two phase flows for immiscible fluids (blue & red fluids) in 2D according to the D2Q9 scheme. The model is also referred to as color model or chromodynamic model or ILB (immiscible LB) . This MatLab implementation of ILB saves an AVI file in ' ' dir_avi = ' C: \' ' ' that records frames generated by the time evolution iterations The code implements in D2Q9 the model originally developed by Gunstensen [Gunstensen AK, Rothman D.. Lattice The MatLab code uses lattice Boltzmann (LB) method to simulate two phase flows for immiscible fluids (blue & red fluids) in 2D according to the D2Q9 scheme. The model is also referred to as color model or chromodynamic model or ILB (immiscible LB .) This MatLab implementation of ILB saves an AVI file in ' ' dir_avi = ' C: \' ' ' that records frames generated by the time evolution iterations.
Platform: |
Size: 364544 |
Author: 许雄文 |
Hits:
Description: x= linprog(f,A,b,Aeq,beq) x = linprog(f,A,b,Aeq,beq,lb,ub)(realisation linprog in medical)
Platform: |
Size: 7168 |
Author: Dimon060195
|
Hits:
Description: 二维通道层流,matlab实现,格子玻尔兹曼方法(Simple, yet simplistic, Lattice Boltzmann (LB) MATLAB implementation. D2H9, BGK, omega = 1, laminar flow in a 2D channel used as benchmark.)
Platform: |
Size: 5120 |
Author: 萤火之森1992
|
Hits:
Description: 采用matlab平台实现该非线性规划问题,采用函数为fmincon命令
fmincon命令的一般参数形式为fmincon(‘fun’,x0,A,b,Aeq,beq,lb,ub,’nonlinearcondition’),其中各个参数含义如下:
fun??? 目标函数(以求最小值为目标函数)
x0???? 最优解迭代的初始值
A,b ???线性约束不等式A*x<= b
Aeq,beq??? 线性约束等式Aeq*x =beq
lb,ub?? 自变量的上下界
nonlinearcondition???非线性约束函数,它有两个返回值,其中一个为非线性不等式约
束,另一个是非线性等式约束
在具体编写代码过程中,可以将线性约束也写在非线性约束函数nonlinearcondition中,简化代码.(The maximum value of Q function for MATLAB nonlinear correlation)
Platform: |
Size: 78848 |
Author: 未蓝将蓝 |
Hits:
Description: 一种双相流的LBM(Iilb,d2Q9)方法
根据d2q9格式,Matlab代码使用格子玻尔兹曼(LB)方法模拟二维不混溶流体(蓝色和红色流体)的两相流。(mplements Immiscible Lattice Boltzmann (ILB, D2Q9) method for two phase flows
he MatLab code uses lattice Boltzmann (LB) method to simulate two phase flows for immiscible fluids (blue & red fluids) in 2D according to the D2Q9 scheme.
The model is also referred to as color model or chromodynamic model or ILB (immiscible LB).
This MatLab implementation of ILB saves an AVI file in '' dir_avi='C:\' '' that records frames generated by the time evolution iterations.)
Platform: |
Size: 1024 |
Author: 筨honey |
Hits: