FixedChargeConstraints(BinaryVariables)-CalPolyPomona固定费用约束(二进制变量)-加州波莫纳

FixedChargeConstraints(BinaryVariables)-CalPolyPomona固定费用约束(二进制变量)-加州波莫纳

ID:41299716

大小:374.81 KB

页数:13页

时间:2019-08-21

FixedChargeConstraints(BinaryVariables)-CalPolyPomona固定费用约束(二进制变量)-加州波莫纳_第1页
FixedChargeConstraints(BinaryVariables)-CalPolyPomona固定费用约束(二进制变量)-加州波莫纳_第2页
FixedChargeConstraints(BinaryVariables)-CalPolyPomona固定费用约束(二进制变量)-加州波莫纳_第3页
FixedChargeConstraints(BinaryVariables)-CalPolyPomona固定费用约束(二进制变量)-加州波莫纳_第4页
FixedChargeConstraints(BinaryVariables)-CalPolyPomona固定费用约束(二进制变量)-加州波莫纳_第5页
资源描述:

《FixedChargeConstraints(BinaryVariables)-CalPolyPomona固定费用约束(二进制变量)-加州波莫纳》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、FixedChargeConstraints (BinaryVariables)HenryC.CoTechnologyandOperationsManagement,CaliforniaPolytechnicandStateUniversityDecisionvariablesx1=numberofshirtstoproducex2=numberofshortstoproducex3=numberofpantstoproduceAtmost150laborhoursand160squareyardsofclothareavailable.FixedCostPerWeekVariab

2、leCostsPerWeekSalesPriceLaborHoursCloth(Sq.Yds.)Shirts$200$6$1234Shorts$150$4$823Pants$100$8$1564Withoutlookingatthefixedcost,andignoringthefactthatthenumberofshirts,shorts,andpantstoproducemustbeintegers,thissimplifiestoanLPproblem:TheLPSolutionQuestion:Howcanwemodelthefixedcosts?Wedothisbyus

3、ingbinaryvariables.Introduceasetofinteger(binary)variablesasfollows:y1=1ifweproduceshirts(i.e.,ifx1>0),otherwise,y1=0.Y2=1ifweproduceshorts(i.e.,ifx2>0),otherwise,y2=0.Y3=1ifweproducepants(i.e.,ifx3>0),otherwise,y3=0.Howdowemodelthis?Integer(Binary)VariablesAUsefulTrickLetM=areasonablylargecon

4、stant.Forexample,M=themostnumberofshirtsyoumaywanttoproduce.Ifwestate:x1≤My1orequivalently,x1-My1≤0,thenIfx1>0,y1cannotbe0.Inotherwords,ifweproduceshirts,y1=1.WhatisM?IfweALLthelaborisusedtoproduceshirts,wecanproduce150/3=50shirts(note:thereare150availableandeachshirttakes3hourstomake).Ifallth

5、eclothisusedtoproduceshirts,wecanproduce160/4=4shirts(i.e.,thereare160sq.ydofclothandeachshirtneed4sq.yd).Thus,themostshirtswecanproduceisMinimum(50,40)=40.Followingthesameargument,themostpantswecanproduce=53,andthemostpantswecanproduce=25.FixedCostintheObjectiveFunctionAddthefollowingfixedcos

6、tstotheobjectivefunction:$200y1+$150y2+$100y3Plus3additionalconstraints:x1-40y1≤0x2-53y2≤0x3-25y3≤0BinaryVariablesinSolverDeclarey1,y2,andy3asbinaryvariablesbyaddingthefollowingconstraintsinSolver:IntegerVariablesinSolverIfneeded,youmayalsodeclarex1,x2,andx3asintegervariablesbyaddingthefollowi

7、ngconstraintsinSolver:PuttingEverythingTogether…

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。