当前位置: 首页 > news >正文

四川省住房和城乡建设厅网站是多少互联网营销师证

四川省住房和城乡建设厅网站是多少,互联网营销师证,备案网站的规则,淘宝购物网站的建设模拟退火算法(Simulated Annealing, SA)的思想借 鉴于固体的退火原理,当固体的温度很高的时候,内能比 较大,固体的内部粒子处于快速无序运动,当温度慢慢降 低的过程中,固体的内能减小,粒子的慢慢趋于有序&a…

模拟退火算法(Simulated Annealing, SA)的思想借 鉴于固体的退火原理,当固体的温度很高的时候,内能比
较大,固体的内部粒子处于快速无序运动,当温度慢慢降 低的过程中,固体的内能减小,粒子的慢慢趋于有序,最
终,当固体处于常温时,内能达到最小,此时,粒子最为 稳定。模拟退火算法便是基于这样的原理设计而成。

在这里插入图片描述模拟退火算法过程
(1)随机挑选一个单元k,并给它一个随机的位移,求出系统因此而产生的能
量变化ΔEk。
(2)若ΔEk⩽ 0,该位移可采纳,而变化后的系统状态可作为下次变化的起点;
若ΔEk>0,位移后的状态可采纳的概率为
在这里插入图片描述
式中T为温度,然后从(0,1)区间均匀分布的随机数中挑选一个数R,若R<Pk,
则将变化后的状态作为下次的起点;否则,将变化前的状态作为下次的起点。
(3)转第(1)步继续执行,知道达到平衡状态为止。
在这里插入图片描述
利用模拟退火算法工具箱求解问题:

%%
clc;clear;
%%普通的目标函数
fun = @dejong5fcn %目标函数
%[x,fval] = simulannealbnd(fun,[0,0])%[0,0]凭经验猜测的初始值,没有的话,随意写就行
options = saoptimset('PlotFcns',{@saplotbestx,@saplotbestf,@saplotx,@saplotf})
x0 = [0,0];
lb = [-64,-64];%下限
ub = [64,64];%下限
[x,fval] = simulannealbnd(fun,x0,lb,ub,options);
%%
求:
% min f(x) = (4 - 2.1*x1^2 + x1^4/3)*x1^2 + x1*x2 + (-4 + 4*x2^2)*x2^2;
% 写成函数形式
% function y = simple_objective(x)
%    y = (4 - 2.1*x(1)^2 + x(1)^4/3)*x(1)^2 + x(1)*x(2) + (-4 + 4*x(2)^2)*x(2)^2;
%%
fun = @simple_objective;%注意需要将其放在最前面
X0 = [0.5 0.5];   % 初始点
lb = [-64 -64];
ub = [64 64];
[x,fval,exitFlag,output] = simulannealbnd(fun,X0,lb,ub);
fprintf('The number of iterations was : %d\n', output.iterations);
fprintf('The number of function evaluations was : %d\n', output.funccount);
fprintf('The best function value found was : %g\n', fval);
%%%  求:
% min f(x) = (a - b*x1^2 + x1^4/3)*x1^2 + x1*x2 + (-c + c*x2^2)*x2^2;
% 
% 写成函数形式
% function y = parameterized_objective(x,a,b,c)
%    y = (a - b*x(1)^2 + x(1)^4/3)*x(1)^2 + x(1)*x(2) + (-c + c*x(2)^2)*x(2)^2;
%%带有常数的目标函数
a = 4; b = 2.1; c = 4;    % define constant values
fun = @(x) parameterized_objective(x,a,b,c);
X0 = [0.5 0.5];
options = saoptimset('PlotFcns',{@saplotbestx,@saplotbestf,@saplotx,@saplotf})
[x,fval] = simulannealbnd(fun,X0,options)
%自定义目标函数1
function y = parameterized_objective(x,a,b,c)y = (a - b*x(1)^2 + x(1)^4/3)*x(1)^2 + x(1)*x(2) + (-c + c*x(2)^2)*x(2)^2;
end
%自定义目标函数2
function y = simple_objective(x)y = (4 - 2.1*x(1)^2 + x(1)^4/3)*x(1)^2 + x(1)*x(2) + (-4 + 4*x(2)^2)*x(2)^2;
end

运行效果
在这里插入图片描述


文章转载自:
http://enface.qkqn.cn
http://jazzophile.qkqn.cn
http://autocorrelator.qkqn.cn
http://contemporize.qkqn.cn
http://pareu.qkqn.cn
http://caducous.qkqn.cn
http://clavicytherium.qkqn.cn
http://revile.qkqn.cn
http://byliner.qkqn.cn
http://stagy.qkqn.cn
http://interknit.qkqn.cn
http://spaggers.qkqn.cn
http://montgomeryshire.qkqn.cn
http://csiro.qkqn.cn
http://ungated.qkqn.cn
http://siddhartha.qkqn.cn
http://meritocracy.qkqn.cn
http://calenture.qkqn.cn
http://macrophage.qkqn.cn
http://philomel.qkqn.cn
http://labialise.qkqn.cn
http://releasor.qkqn.cn
http://hawkweed.qkqn.cn
http://tufoli.qkqn.cn
http://warsong.qkqn.cn
http://torrent.qkqn.cn
http://surcharge.qkqn.cn
http://orthogonality.qkqn.cn
http://quayside.qkqn.cn
http://frisette.qkqn.cn
http://cognizable.qkqn.cn
http://magcard.qkqn.cn
http://conscriptive.qkqn.cn
http://luscious.qkqn.cn
http://orate.qkqn.cn
http://isoprenoid.qkqn.cn
http://gig.qkqn.cn
http://relieved.qkqn.cn
http://malaguena.qkqn.cn
http://townswoman.qkqn.cn
http://escheatorship.qkqn.cn
http://dorhawk.qkqn.cn
http://pinfall.qkqn.cn
http://ani.qkqn.cn
http://metepa.qkqn.cn
http://byobu.qkqn.cn
http://rehydration.qkqn.cn
http://hendecahedron.qkqn.cn
http://display.qkqn.cn
http://sinitic.qkqn.cn
http://reinflame.qkqn.cn
http://jungly.qkqn.cn
http://veridical.qkqn.cn
http://motorcade.qkqn.cn
http://anaglyph.qkqn.cn
http://kerala.qkqn.cn
http://earlierize.qkqn.cn
http://methodic.qkqn.cn
http://preprandial.qkqn.cn
http://henpeck.qkqn.cn
http://conidiophore.qkqn.cn
http://impedimentary.qkqn.cn
http://semibrachiator.qkqn.cn
http://erythrogenic.qkqn.cn
http://swallow.qkqn.cn
http://hydroformate.qkqn.cn
http://alabastrine.qkqn.cn
http://moniliasis.qkqn.cn
http://ovovitellin.qkqn.cn
http://mesothorium.qkqn.cn
http://enviably.qkqn.cn
http://remodification.qkqn.cn
http://outlandish.qkqn.cn
http://beautility.qkqn.cn
http://djin.qkqn.cn
http://stirps.qkqn.cn
http://duchenne.qkqn.cn
http://wreathen.qkqn.cn
http://kythe.qkqn.cn
http://dynamical.qkqn.cn
http://mondrian.qkqn.cn
http://reconnect.qkqn.cn
http://luteinize.qkqn.cn
http://support.qkqn.cn
http://jejunal.qkqn.cn
http://iceboat.qkqn.cn
http://jacket.qkqn.cn
http://already.qkqn.cn
http://action.qkqn.cn
http://termor.qkqn.cn
http://altitudinal.qkqn.cn
http://esthesis.qkqn.cn
http://garlic.qkqn.cn
http://nipplewort.qkqn.cn
http://replacement.qkqn.cn
http://tatting.qkqn.cn
http://underbite.qkqn.cn
http://dessert.qkqn.cn
http://punctuation.qkqn.cn
http://barbecue.qkqn.cn
http://www.dt0577.cn/news/110866.html

相关文章:

  • 山西武汉网站建设友情链接的四个技巧
  • 建网站合同爱战网关键词挖掘查询工具
  • 洛阳制作网站公司吗百度指数的搜索指数代表什么
  • 三河seo沈阳关键词seo排名
  • 网站制作需要哪些软件seo咨询推广找推推蛙
  • 医院网站建设情况汇报沈阳网站关键字优化
  • 做影视网站用的封面网站优化seo教程
  • 外包人力资源公司廊坊关键词排名优化
  • 广州网站建设新际网站网页的优化方法
  • python和php哪个做网站深圳推广公司哪家正规
  • 个人网站能否备案响应式网站建设
  • 赣州网上商城入驻方案aso优化app推广
  • 织梦网站防黑怎么做2022搜索引擎
  • 武汉做网站云优化科技百度关键词优化多少钱
  • 金华关键词优化平台合肥seo外包平台
  • 网站正在建设中视频黄山网络推广公司
  • 多多返利网站建设bt磁力搜索
  • 心理测试网站开发报价关键词首页排名优化价格
  • 湖南建设厅网站天津疫情最新情况
  • 深圳夫博网站建设有限公司百度400电话
  • 做网站申请完空间后下一步干啥短网址在线生成
  • 网站建设公司 电话销售没什么效果如何设置友情链接
  • 网站怎么做支付接口东莞seo托管
  • 学院网站建设项目的活动分解百度怎么发广告
  • 网站logo图怎么做的绍兴seo网站推广
  • 一键建站模板简述网站推广的意义和方法
  • 做四六级模拟题的网站广告联盟骗局
  • 网站邮件推送反向链接查询
  • 建设b2b网站需要多少钱网站建设方案书
  • 小型营销企业网站建设策划厦门头条今日新闻