1 / 66

Chapter 4. Linear Programming: Formulation and Applications

运筹学. Chapter 4. Linear Programming: Formulation and Applications. 第四章. 线性规划:建模与应用. 满足以下三个条件的模型称为线性规划模型 每一个问题都用一组决策变量(通常非负)表示某一方案,这组决策变量的值就代表一个具体方案 存在一定的约束条件,这些约束条件可以用一组线性等式或线性不等式来表示 都有一个要求达到的目标,它可用决策变量的线性函数(称为目标函数)来表示,按照问题的不同,要求目标函数实现最大化或最小化. 线性规划模型. 线性规划模型的一般形式.

bikita
Download Presentation

Chapter 4. Linear Programming: Formulation and Applications

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 运筹学 Chapter 4. Linear Programming: Formulation and Applications 第四章. 线性规划:建模与应用

  2. 满足以下三个条件的模型称为线性规划模型 每一个问题都用一组决策变量(通常非负)表示某一方案,这组决策变量的值就代表一个具体方案 存在一定的约束条件,这些约束条件可以用一组线性等式或线性不等式来表示 都有一个要求达到的目标,它可用决策变量的线性函数(称为目标函数)来表示,按照问题的不同,要求目标函数实现最大化或最小化 线性规划模型

  3. 线性规划模型的一般形式

  4. 资源分配问题(resource-allocation):资源约束。伟恩德玻璃制品公司产品组合问题资源分配问题(resource-allocation):资源约束。伟恩德玻璃制品公司产品组合问题 成本收益平衡问题(cost-benefit-trade-off):收益约束。利博公司广告组合问题,大沼泽地金色年代公司的现金流问题 网络配送问题(distribution-network):确定需求约束。 混合问题(mix):多种约束。 线性规划 建模与应用 线性规划问题的分类

  5. Super Grain Corp. Advertising-Mix Problem (Section 4.1)(超级食品公司的广告组合问题) Resource Allocation Problems & Think-Big Capital Budgeting (Section 4.2)(资源分配问题和梦大发展公司的资金预算问题) Cost-Benefit-Trade-Off Problems & Union Airways (Section 4.3)(成本收益平衡问题和联合航空公司问题) Distribution-Network Problems & Big M Co. (Section 4.4)(网络配送问题和大M公司) Table of Contents (主要内容)

  6. Continuing the Super Grain Corp. Case Study (Section 4.5) (超级食品公司案例的再研究) Mixed Formulations & Save-It Solid Waste Reclamation (Section 4.6) (混合问题和赛维特公司固体废弃物回收问题) Table of Contents (主要内容)

  7. Super Grain Corp. Advertising-Mix Problem • Goal: Design the promotional campaign for Crunchy Start. (目标:为早点谷类食品“脆始”设计出具有奖励性的商业计划) • The three most effective advertising media for this product are (该产品三种最有效的广告媒介是) • Television commercials on Saturday morning programs for children. (星期六上午儿童节目的电视广告) • Advertisements in food and family-oriented magazines. (食品与家庭导向的杂志上的广告)

  8. Super Grain Corp. Advertising-Mix Problem • Advertisements in Sunday supplements of major newspapers. (主要报纸星期天增刊上的广告) • The limited resources in the problem are (该问题的有限资源如下) • Advertising budget ($4 million). (广告预算400万美元) • Planning budget ($1 million). (计划预算100万美元) • TV commercial spots available (5). (可获得的电视广告时段有5个单位)

  9. Super Grain Corp. Advertising-Mix Problem • The objective will be measured in terms of the expected number of exposures. (广告受众的期望数量作为问题的总绩效测度) Question: At what level should they advertise Crunchy Start in each of the three media? 确定各种媒介的广告力度以获得最有效的广告组合?

  10. Cost and Exposure Data (成本和广告受众数据)

  11. Spreadsheet Formulation (电子表格模型)

  12. Algebraic Formulation (数学模型) Let (设定) TV = Number of commercials for separate spots on television (电视上的广告时段数目) M = Number of advertisements in magazines. (杂志上的广告数目)SS = Number of advertisements in Sunday supplements. (星期天增刊上的广告数目) (最大化广告受众量) Maximize Exposure = 1,300TV + 600M + 500SS

  13. 线性规划 建模与应用 Algebraic Formulation (数学模型) Subject to (约束) (广告总费用)Ad Spending: 300TV + 150M + 100SS ≤ 4,000 ($thousand) (计划总成本) Planning Cost: 90TV + 30M + 30SS ≤ 1,000 ($thousand) (电视广告的时段数目) Number of TV Spots: TV ≤ 5 andTV ≥ 0, M ≥ 0, SS ≥ 0.

  14. 假设是否合理? 数学模型是否和实际问题相吻合? 可行域的小数问题 正比的线性关系是否成立? 不同媒介之间是否相关? 目标函数的选取是否可行? 市场细分的问题 促销优惠券的问题 模型需要不断完善!! 线性规划 建模与应用 超级食品公司问题探讨

  15. 资源分配问题是将有限的资源分配到各种活动中去的线性规划问题。共性在于函数约束均可表现为:资源分配问题是将有限的资源分配到各种活动中去的线性规划问题。共性在于函数约束均可表现为: 使用的资源数量≤可用的资源数量 确定资源、资源可用量、活动、活动水平、活动消耗的资源数量以及活动对绩效测度的贡献等 目标就是在满足资源限制的条件下使活动水平能够最大化所选择的绩效测度 资源分配问题

  16. 决策变量是活动水平 活动水平与绩效测度的贡献成正比 活动水平与资源使用量成正比 需要确定三类数据:资源可用量、单位活动消耗的资源量和单位活动对绩效测度的贡献量 线性规划 建模与应用 资源分配问题

  17. Think-Big Development Co. is a major investor in commercial real-estate development projects. (梦大发展公司是商务房地产开发项目的主要投资商) They are considering three large construction projects (他们正在考虑三个大型的建筑项目) Construct a high-rise office building. (建造高层办公楼) Construct a hotel. (建造宾馆) Construct a shopping center. (建造购物中心) Think-Big Capital Budgeting Problem

  18. Each project requires each partner to make four investments: a down payment now, and additional capital after one, two, and three years. (每个项目都要求投资者在四个不同时期投资:在当前预付定金,以及一年、二年、三年后分别追加投资) 线性规划 建模与应用 Think-Big Capital Budgeting Problem

  19. 梦大公司要在每个项目中投资多少百分比,才能获得最大收益?梦大公司要在每个项目中投资多少百分比,才能获得最大收益? Think-Big Capital Budgeting Problem Question: At what fraction should Think-Big invest in each of the three projects?

  20. Financial Data for the Projects

  21. Spreadsheet Formulation

  22. Algebraic Formulation Let (假定) OB = Participation share in the office building (办公楼项目中的投资比例),H = Participation share in the hotel (宾馆项目中的投资比例),SC = Participation share in the shopping center (购物中心项目中的投资比例).(最大化总投资净现值) Maximize NPV = 45OB + 70H + 50SC

  23. Algebraic Formulation Subject to (约束) Total invested now (现期总投资): 40OB + 80H + 90SC ≤ 25 ($million) Total invested within 1 year (一年后的总投资): 100OB + 160H + 140SC ≤ 45 ($million) Total invested within 2 years (一年后的总投资) : 190OB + 240H + 160SC ≤ 65 ($million) Total invested within 3 years (一年后的总投资) : 200OB + 310H + 220SC ≤ 80 ($million) andOB ≥ 0, H ≥ 0, SC ≥ 0.

  24. Summary Summary of Formulation Procedure for Resource-Allocation Problems (资源分配问题的建模步骤总结): Identify the activities for the problem at hand. (确定当前问题的活动类型) Identify an appropriate overall measure of performance (commonly profit). (确定一个合适的总体绩效测度,通常为利润) For each activity, estimate the contribution per unit of the activity to the overall measure of performance. (估计每一种活动对于总绩效测度的单位贡献)

  25. Summary Identify the resources that must be allocated. (明确分配给各种活动的有限资源) For each resource, identify the amount available and then the amount used per unit of each activity. (对于每一种资源,确定可获得的数量以及各种活动的单位使用量) Enter the data in steps 3 and 5 into data cells. (把第3步和第5步中的数据录入数据单元格)

  26. Summary Designate changing cells for displaying the decisions. (指定可变单元格来显示活动水平的决策变量) In the row for each resource, use SUMPRODUCT to calculate the total amount used. Enter ≤ and the amount available in two adjacent cells. (在表示资源的每一行中,使用SUMPRODUCT函数计算总的资源使用量,在两个连续单元格中输入≤符号和可用资源量) Designate a target cell. Use SUMPRODUCT to calculate this measure of performance. (指定目标单元格,使用SUMPRODUCT函数计算绩效测度)

  27. Union Airways is adding more flights to and from its hub airport and so needs to hire additional customer service agents. (联合航空公司正准备增加其中心机场的往来航班,因此需要雇用更多的客户服务代理商) The five authorized eight-hour shifts are (五个审定的8小时轮班如下) Shift 1: 6:00 AM to 2:00 PM Shift 2: 8:00 AM to 4:00 PM Shift 3: Noon to 8:00 PM Shift 4: 4:00 PM to midnight Shift 5: 10:00 PM to 6:00 AM Union Airways Personnel Scheduling

  28. Union Airways Personnel Scheduling 每个轮班需要安排多少人? Question: How many agents should be assigned to each shift?

  29. Schedule Data (排程数据)

  30. Spreadsheet Formulation

  31. Algebraic Formulation Let (假定) Si = Number working shift i (for i = 1 to 5),Minimize (最小化) Cost = $170S1 + $160S2 + $175S3 + $180S4 + $195S5Subject to (约束)Total agents 6AM–8AM: S1 ≥ 48 Total agents 8AM–10AM: S1 + S2 ≥ 79 Total agents 10AM–12PM: S1 + S2 ≥ 65 Total agents 12PM–2PM: S1 + S2 + S3 ≥ 87 Total agents 2PM–4PM: S2 + S3 ≥ 64 Total agents 4PM–6PM: S3 + S4 ≥ 73

  32. Algebraic Formulation Subject to (约束)Total agents 4PM–6PM: S3 + S4 ≥ 73 Total agents 6PM–8PM: S3 + S4 ≥ 82 Total agents 8PM–10PM: S4 ≥ 43 Total agents 10PM–12AM: S4 + S5 ≥ 52 Total agents 12AM–6AM: S5 ≥ 15 andSi ≥ 0 (for i = 1 to 5)

  33. 成本收益问题是通过选择各种活动水平的组合,以最小的成本来实现最低可接受的各种收益的一类线性规划问题。共性在于函数约束均可表现为成本收益问题是通过选择各种活动水平的组合,以最小的成本来实现最低可接受的各种收益的一类线性规划问题。共性在于函数约束均可表现为 完成的水平≥最低可接受水平 指明每种收益的最低可接受水平,以及实现收益的最小成本,获得成本与收益之间的适度平衡 成本收益平衡问题需要的三类数据:每种收益的最低可接受水平、每种活动对每一收益的贡献、每种活动的单位成本 成本收益平衡问题

  34. Identify the activities for the problem at hand. (确定当前问题的活动类型) Identify an appropriate overall measure of performance (commonly cost). (确定一个合适的总体绩效测度,通常为成本) For each activity, estimate the contribution per unit of the activity to the overall measure of performance. (估计每一种活动对于总绩效测度的单位贡献) Summary Summary of Formulation Procedure for Cost-Benefit-Tradeoff Problems (成本收益平衡问题建模步骤的总结)

  35. Identify the benefits that must be achieved. (确定必须取得的收益) For each benefit, identify the minimum acceptable level and then the contribution of each activity to that benefit. (对于每一项收益,确定其最小可接受水平和每项活动对该收益的贡献大小) Enter the data in steps 3 and 5 into data cells. (将第3步和第5步的数据输入数据单元格) Designate changing cells for displaying the decisions. (指定可变单元格用于显示决策变量) Summary

  36. In the row for each benefit, use SUMPRODUCT to calculate the level achieved. Enter ≥ and the minimum acceptable level in two adjacent cells. (在表示收益的每一行中,用SUMPRODUCT函数计算获得的收益水平,在两个连续的单元格中输入≥号和最小可接受水平) Designate a target cell. Use SUMPRODUCT to calculate this measure of performance. (指定一个目标单元格,用SUMPRODUCT函数计算其绩效测度) Summary

  37. 思考教材案例“控制空气污染问题”(P112) 线性规划 建模与应用 成本收益平衡问题

  38. The Big M Company produces a variety of heavy duty machinery at two factories. One of its products is a large turret lathe. (大M公司在两个工厂生产一系列中型机器,产品之一是一种大型的六角车床) Orders have been received from three customers for the turret lathe. (该六角车床的订单来自于3个客户) The Big M Distribution-Network Problem

  39. The Big M Distribution-Network Problem How many lathes should be shipped from each factory to each customer?(应该从每一个工厂运载多少车床到每一个客户?)

  40. Some Data (有关数据)

  41. The Distribution Network (配送网络)

  42. Spreadsheet Formulation (电子表格模型)

  43. Algebraic Formulation (数学模型) Let (假定) Sij= Number of lathes to ship from i to j (i = F1, F2; j = C1, C2, C3) Minimize (最小化) Cost = $700SF1-C1 + $900SF1-C2 + $800SF1-C3 + $800SF2-C1 + $900SF2-C2 + $700SF2-C3

  44. Algebraic Formulation (数学模型) subject to (约束)Factory 1: SF1-C1 + SF1-C2 + SF1-C3 = 12 Factory 2: SF2-C1 + SF2-C2 + SF2-C3 = 15 Customer 1: SF1-C1 + SF2-C1 = 10 Customer 2: SF1-C2 + SF2-C2 = 8 Customer 3: SF1-C3 + SF2-C3 = 9andSij ≥ 0 (i = F1, F2; j = C1, C2, C3).

  45. 配送网络问题的函数约束是确定的需求约束,可表示为:配送网络问题的函数约束是确定的需求约束,可表示为: 提供的数量=需要的数量 线性规划 建模与应用 配送网络问题

  46. Continuing the Super Grain Case Study • David and Claire conclude that the spreadsheet model needs to be expanded to incorporate some additional considerations. (大卫和克莱略认为公司的电子表格模型还需要进一步扩展以增加一些考虑事项) • In particular, they feel that two audiences should be targeted — young children and parents of young children. (他们尤其觉得必须将目标观众定位为儿童及他们的家长)

  47. Continuing the Super Grain Case Study • Two new goals (两个新的目标) • The advertising should be seen by at least five million young children. (必须至少有500百万儿童看到该广告) • The advertising should be seen by at least five million parents of young children. (必须至少有500万儿童家长看到该广告) • Furthermore, exactly $1,490,000 should be allocated for cents-off coupons. (而且正好还有149万美元的预算可以分配到商家优惠卷)

  48. Benefit and Fixed-Requirement Data

  49. Spreadsheet Formulation

  50. Algebraic Formulation Let (假定) TV = Number of commercials for separate spots on television (电视上的广告时段数目)M = Number of advertisements in magazines (杂志上的广告数目)SS = Number of advertisements in Sunday supplements (星期天增刊上的广告数目) Maximize (最大化广告受众量) Exposure = 1,300TV + 600M + 500SS

More Related