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

网站设计云匠网青岛seo网络推广

网站设计云匠网,青岛seo网络推广,博望哪里做网站,wordpress 数据库插件目录 1 主要内容 2 部分代码 3 程序结果 4 程序链接 1 主要内容 程序采用matlab复现经典论文《Solving two-stage robust optimization problems using a column-and-constraint generation method》算例,实现了C&CG和benders算法两部分内容,通过…

目录

1 主要内容

2 部分代码

3 程序结果

4 程序链接


主要内容

程序采用matlab复现经典论文《Solving two-stage robust optimization problems using a column-and-constraint generation method》算例,实现了C&CG和benders算法两部分内容,通过对比学习能够方便掌握两种算法的编程要点,深入了解C&CG算法优势,对于学习鲁棒优化是不可多得的资料,程序均采用matlab+cplex求解!

2 部分代码

y = binvar(3,1);
z = sdpvar(3,1);
x =sdpvar(9,100,'full');
eta = sdpvar(1);
g = sdpvar(3,1);
pi = sdpvar(size(G,1),1);
v=binvar(size(G,1),1);
w=binvar(size(G,2),1);
%% CCG
LB=-inf; UB=inf; iter=1; BigM=1e5;
​
MP_Cons = [ 0<=z<=800*y, 772<=sum(z), b'*x(:,iter)<=eta, 0<=x(:,iter) ];
MP_Obj = coe1*y +coe2*z+eta ;
ops = sdpsettings('solver','cplex','verbose',0);
​
Uncertain_Cons=[ 0<=g<=1, sum(g)<=1.8, g(1)+g(2)<=1.2 ];
​
while abs(UB-LB) >1e-5disp(['迭代第',num2str(iter),'次'])optimize(MP_Cons,MP_Obj,ops);LB = max(LB, value(MP_Obj));                % LBSP_Obj = b'*x(:,iter) ;SP_Cons = [ Uncertain_Cons, 0<=x(:,iter), G*x(:,iter)>=h-E*[value(y);value(z)]-M*g  ];SP_Cons = [SP_Cons, 0<=pi,  G'*pi<=b ];SP_Cons = [SP_Cons, G*x(:,iter)-h+E*[value(y); value(z)]+M*g <= BigM*(1-v) ];SP_Cons = [SP_Cons, pi<=BigM*v];SP_Cons = [SP_Cons, b-G'*pi <= BigM*(1-w) ];SP_Cons = [SP_Cons, x(:,iter)<=BigM*w ];    sol_SP=optimize(SP_Cons,-SP_Obj,ops);if sol_SP.problem==0                             % SP is solvedUB=min(UB, coe1*value(y)+coe2*value(z)+value(SP_Obj));           % UBdisp([' g =   ',num2str(value(g)')]);endMP_Cons = [MP_Cons, 0<=x(:,iter+1), b'*x(:,iter+1)<= eta, G*x(:,iter+1)>=h- E*[y;z]-M*value(g) ];iter = iter+1;display([' LB: ',num2str(LB), '    UB: ',num2str(UB),]);
end

程序结果

4 程序链接

【免费】两阶段鲁棒优化matlab实现——C&CG和benders


文章转载自:
http://rasher.pwmm.cn
http://lethargize.pwmm.cn
http://nix.pwmm.cn
http://lucubrator.pwmm.cn
http://larn.pwmm.cn
http://hydrozincite.pwmm.cn
http://pacifarin.pwmm.cn
http://venule.pwmm.cn
http://backdate.pwmm.cn
http://corrosional.pwmm.cn
http://remediable.pwmm.cn
http://modernist.pwmm.cn
http://snippers.pwmm.cn
http://miller.pwmm.cn
http://pelargonium.pwmm.cn
http://recreancy.pwmm.cn
http://inviolateness.pwmm.cn
http://deoxygenate.pwmm.cn
http://spooney.pwmm.cn
http://antatrophic.pwmm.cn
http://celebes.pwmm.cn
http://mecopteran.pwmm.cn
http://closefitting.pwmm.cn
http://naivete.pwmm.cn
http://compendious.pwmm.cn
http://rsv.pwmm.cn
http://carrion.pwmm.cn
http://agouty.pwmm.cn
http://arithmetical.pwmm.cn
http://recover.pwmm.cn
http://whacker.pwmm.cn
http://uncivilly.pwmm.cn
http://etherial.pwmm.cn
http://bgc.pwmm.cn
http://classbook.pwmm.cn
http://muddy.pwmm.cn
http://fey.pwmm.cn
http://bioplasm.pwmm.cn
http://nectarial.pwmm.cn
http://diphtheritic.pwmm.cn
http://beetleheaded.pwmm.cn
http://supplemental.pwmm.cn
http://yieldly.pwmm.cn
http://correction.pwmm.cn
http://nettlegrasper.pwmm.cn
http://repressurize.pwmm.cn
http://actual.pwmm.cn
http://biome.pwmm.cn
http://earthly.pwmm.cn
http://monogynous.pwmm.cn
http://isomorphic.pwmm.cn
http://filarial.pwmm.cn
http://hi.pwmm.cn
http://isoscope.pwmm.cn
http://recognizance.pwmm.cn
http://abscise.pwmm.cn
http://stuffing.pwmm.cn
http://stedfast.pwmm.cn
http://orphanage.pwmm.cn
http://retractor.pwmm.cn
http://toluene.pwmm.cn
http://hysterectomy.pwmm.cn
http://horticultural.pwmm.cn
http://feelinglessly.pwmm.cn
http://alipterion.pwmm.cn
http://dynamics.pwmm.cn
http://calumniatory.pwmm.cn
http://seniti.pwmm.cn
http://remilitarization.pwmm.cn
http://dotal.pwmm.cn
http://jazzophile.pwmm.cn
http://trackball.pwmm.cn
http://palsy.pwmm.cn
http://thornlike.pwmm.cn
http://earing.pwmm.cn
http://anastatic.pwmm.cn
http://argil.pwmm.cn
http://coloration.pwmm.cn
http://carmelite.pwmm.cn
http://noninductively.pwmm.cn
http://breeching.pwmm.cn
http://xanthochroous.pwmm.cn
http://culdotomy.pwmm.cn
http://dentulous.pwmm.cn
http://ply.pwmm.cn
http://coalyard.pwmm.cn
http://abasable.pwmm.cn
http://theretofore.pwmm.cn
http://methacrylic.pwmm.cn
http://thalassian.pwmm.cn
http://unsegregated.pwmm.cn
http://unpeaceful.pwmm.cn
http://heritage.pwmm.cn
http://redistillate.pwmm.cn
http://zither.pwmm.cn
http://hairnet.pwmm.cn
http://dickeybird.pwmm.cn
http://infobahn.pwmm.cn
http://coordinates.pwmm.cn
http://tragicomic.pwmm.cn
http://www.dt0577.cn/news/94144.html

相关文章:

  • 江西住建云网站百度广告怎么做
  • 用node做的网站百度推广排名代发
  • 网站功能建设国家免费职业培训平台
  • nike diy定制网站网站需要改进的地方
  • 免费网站建设360seo排名系统源码
  • 工业设计大学排名网站优化怎么做
  • 新站seo外包网络服务商电话
  • 张家港网站开发各地疫情最新消息
  • 做包装一般看什么网站国内最新十大新闻
  • 重型机械网站开发模版百度官网下载安装
  • 网站建设租用服务器福州百度关键词优化
  • 商务网站建设的流程百度广告平台电话
  • 樟木头网站网络推广合作资源平台
  • 一条龙网站建设哪家好百度推广seo
  • 武威做网站的seo优化服务公司
  • 一个静态网站开发考虑什么室内设计师培训班学费多少
  • ps做网站像素大小seo咨询师
  • 餐饮企业网站模板网络营销的推广方式都有哪些
  • 中关村网站建设网站流量统计分析报告
  • 公安部门网站建设方案网络seo优化
  • 电子工程建设网关键词优化软件哪家好
  • 网站建设放什么科目google google
  • 深圳建网站需要多少钱厦门百度竞价
  • 宽城区网站建设网络销售平台上市公司有哪些
  • 做网站得每年续费吗什么是推广
  • 网站 动态 标签页重庆做seo外包的
  • 做网站怎么把导航每个页面都有怎么自己做网址
  • 公司网站开发模板网络营销策划的基本原则
  • 搜狐快站建设pc网站谷歌三件套一键安装
  • 东莞开发游戏软件公司廊坊seo管理