版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、例题讲解Model:title Assignment Problem;sets:worker/w1,w2,w3,w4,w5/:capacity;job/j1,j2,j3,j4,j5/:demend;routes(worker,job):cost,volume;endsetsmin=sum(routes:cost*volume);for(job(j):sum(worker(i):volume(i,j)=demend(j);for(worker(i):sum(job(j):volume(i,j)=capacity(i);data:capacity=1,1,1,1,1;demend=1,1,1,1,
2、1;cost=8 6 10 9 12 9 12 7 11 9 7 4 3 5 8 9 5 8 11 8 4 6 7 5 11;Enddataend练习For our example, we have eleven tasks (A through K) to assign to four workstations (1 through 4). The task precedence diagram looks like this:The times to complete the various tasks are given in the table below:Task:A B C D E
3、 F G H I J KMinutes:45 11 9 50 15 12 1212 12 8 9We need to find an assignment of tasks to workstations that minimize the assembly line抯 cycle time.MODEL: ! Assembly line balancing model; ! This model involves assigning tasks to stations in an assembly line so bottlenecks are avoided. Ideally, each s
4、tation would be assigned an equal amount of work.; SETS: ! The set of tasks to be assigned are A through K, and each task has a time to complete, T; TASK/ A B C D E F G H I J K/: T; ! Some predecessor,successor pairings must be observed(e.g. A must be done before B, B before C, etc.); PRED( TASK, TA
5、SK)/ A,B B,C C,F C,G F,J G,J J,K D,E E,H E,I H,J I,J /;! There are 4 workstations; STATION/1.4/; TXS( TASK, STATION): X; ! X is the attribute from the derived set TXS that represents the assignment. X(I,K) = 1 if task I is assigned to station K; ENDSETS DATA: ! Data taken from Chase and Aquilano, PO
6、M; ! There is an estimated time required for each task: A B C D E F G H I J K; T = 45 11 9 50 15 12 12 12 12 8 9; ENDDATA ! The model; ! *Warning* may be slow for more than 15 tasks; ! For each task, there must be one assigned station;FOR( TASK( I): SUM( STATION( K): X( I, K) = 1); ! Precedence cons
7、traints; ! For each precedence pair, the predecessor task I cannot be assigned to a later station than its successor task J; FOR( PRED( I, J): SUM( STATION( K): K * X( J, K) - K * X( I, K) = 0); ! For each station, the total time for the assigned tasks must be less than the maximum cycle time, CYCTI
8、ME; FOR( STATION( K): SUM( TXS( I, K): T( I) * X( I, K) = 0);Suppose task I is a predecessor to task J. If I were incorrectly assigned to a workstation later than J, the sum of the terms K * X( I, K) would exceed the sum of the terms K * X( J, K) and the constraint would be violated. Thus, this cons
9、traint effectively enforces the predecessor relations.We compute the cycle time using the following constraints:! For each station, the total time for the assigned tasks must be less than the maximum cycle time, CYCTIME; FOR( STATION( K): SUM( TXS( I, K): T( I) * X( I, K) = CYCTIME);The quantity:SUM
10、( TXS( I, K): T( I) * X( I, K)in this constraint computes the cycle time for station K. We use the FOR statement to make the CYCTIME variable greater than or equal to the cycle times for all the orkstations. If we couple this with the fact that we are minimizing CYCTIME in the objective, CYCTIME wil
11、l be squeezed into exactly equaling the maximum of the cycle times for each of the workstations. By squeezing CYCTIME to the correct value, we avoid using the MAX function. Had the MAX function been used, LINGO would have had to resort to its nonlinear solver to handle the piecewise linear MAX. Avoi
12、ding nonlinear models whenever possible is a critical modeling practice.Solving the model, we get the following nonzero values for the assignment variable X: Variable ValueSolution: ASLBALSummarizing this solution, we have:WorkstationAssigned TasksCycle Time1D502A453B, E, H, I504C, F, G, J, K50The cycle t
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年广东省云浮市郁南县“百万英才汇南粤”引进教育人才备考题库及完整答案详解一套
- 2026年广东信源物流设备有限公司招聘备考题库及完整答案详解1套
- 2026年彭泽县红光港管理服务中心招聘海关协管员备考题库及参考答案详解
- 2026年上海民生轮船有限公司招聘备考题库完整参考答案详解
- 2026年中国太平洋财产保险股份有限公司厦门分公司招聘备考题库及一套答案详解
- 2026年中华人民共和国沧源海关招聘备考题库及答案详解参考
- 2026年中国葛洲坝集团(股份)有限公司招聘备考题库及参考答案详解一套
- 2026年乌鲁木齐市米东区芦草沟卫生院面向社会公开招聘编制外工作人员备考题库及一套完整答案详解
- 2026年公开招聘中国农科院创新工程院级科研团队首席科学家的备考题库及完整答案详解一套
- 2026年四川华丰科技股份有限公司关于招聘生产管理岗位的备考题库及一套答案详解
- (人教A版)选择性必修一高二数学上册 全册综合测试卷-基础篇(原卷版)
- 导热油炉安全操作规程
- 2025购房合同(一次性付款)
- GB/T 46161.1-2025道路车辆气压制动系第1部分:管、端面密封外螺纹接头和螺纹孔
- 云南省茶叶出口竞争力分析及提升对策研究
- 绝缘技术监督培训课件
- 2025秋季学期国开电大法律事务专科《刑事诉讼法学》期末纸质考试多项选择题库珍藏版
- 东城区2025-2026学年九年级第一学期期末考试物理试题
- 《市场监督管理投诉举报处理办法》知识培训
- 地震监测面试题目及答案
- 12S522混凝土模块式排水检查井图集
评论
0/150
提交评论