Chapter 2. Linear Programming: Basic Concepts

Slides:



Advertisements
Similar presentations
Chapter 2 Combinatorial Analysis 主講人 : 虞台文. Content Basic Procedure for Probability Calculation Counting – Ordered Samples with Replacement – Ordered.
Advertisements

Chapter 1. Introduction 第一章. 绪论 Copyright 2007 © 深圳大学管理学院 运筹学 2 交通控制问题.
胸痛中心的时间流程管理 上海胸科医院 方唯一.
第十章 產品訂價: 訂價的考量與策略.
-CHINESE TIME (中文时间): Free Response idea: 你周末做了什么?
破舊立新(三) 人生召命的更新 使徒行傳廿六章19-23節.
Chapter 6. Transportation and Assignment Problems
自衛消防編組任務職責 講 義 This template can be used as a starter file for presenting training materials in a group setting. Sections Right-click on a slide to add.
Chapter’s major concepts
operational research and optimize
即兴中文讲演比赛 On-Site Speech 新型比赛项目
OMC 商業智庫 劉老師講題大綱 參考資料.
第十三章 整合性行銷溝通:廣告、促銷、公共關係.
Mode Selection and Resource Allocation for Deviceto- Device Communications in 5G Cellular Networks 林柏毅 羅傑文.
XI. Hilbert Huang Transform (HHT)
Minimum Spanning Trees
3-3 Modeling with Systems of DEs
Homework 4 an innovative design process model TEAM 7
THE PRINCIPLE OF ACCOUNTING
Linear Programming: Introduction and Duality
美國大聯盟球場之旅 選擇優於市場的投資組合
作 業 管 理 指導:盧淵源教授 第四組:碩士專班 N 徐天志 N 林耀宗 N 陳丁雲
第 1 章 ERP的演变.
生產與作業管理 Chapter 15 物料需求管理 第七組組員: M 曾子鴻 M 李正文
顏色yán sè COLORS 紅色 藍色 綠色 黃色 紫色 白色 黑色 咖啡色 bái sè hēi sè hóng sè lǜ sè
Logistics 物流 昭安國際物流園區 總經理 曾玉勤.
Retail Customer Online Registration 零售顧客線上註冊教學
Decision Support System (靜宜資管楊子青)
如何製作 「保家舒」 堆肥 ,………………. 1 1.
Eviews 操作 2012/11.
Short Version : 6. Work, Energy & Power 短版: 6. 功,能和功率
第五組 : 廖震昌 / 謝坤吉 / 黃麗珍 陳曉伶 / 陳思因 / 林慧佳
XBRL未來發展趨勢 2009年12月 For information on applying this template onto existing presentations, refer to the notes on slide 3 of this presentation. The Input.
Outrigger Optimization for Super Tall Structures Under Multiple Constraints 多约束条件下超高结构伸臂系统优化.
Interval Estimation區間估計
数据分析绘图工具 ——Origin6.0.
These Views Are Not Necessarily
ZEEV ZEITIN Delft University of Technology, Netherlands
客户服务 询盘惯例.
Decision Support System (靜宜資管楊子青)
Network Design in the Supply Chain (Part1)
Chapter 5 Recursion.
有效的運用組織資源 Linear Programming (Goal Programming)
第4章 非线性规划 4.5 约束最优化方法 2019/4/6 山东大学 软件学院.
Version Control System Based DSNs
成品检查报告 Inspection Report
高性能计算与天文技术联合实验室 智能与计算学部 天津大学
Mechanics Exercise Class Ⅰ
Guide to a successful PowerPoint design – simple is best
3.5 Region Filling Region Filling is a process of “coloring in” a definite image area or region. 2019/4/19.
虚 拟 仪 器 virtual instrument
VRP工具or-tools调研 王羚宇
線性規劃模式 Linear Programming Models
從 ER 到 Logical Schema ──兼談Schema Integration
计算机问题求解 – 论题 算法方法 2016年11月28日.
Q & A.
计算机问题求解 – 论题1-5 - 数据与数据结构 2018年10月16日.
Enterprise Resource Planning System 企業資源規劃系統
赵才荣 同济大学,电子与信息工程学院,智信馆410室
动词不定式(6).
5. Combinational Logic Analysis
Resources Planning for Applied Research
2 Number Systems, Operations, and Codes
怎樣把同一評估 給與在不同班級的學生 How to administer the Same assessment to students from Different classes and groups.
MGT 213 System Management Server的昨天,今天和明天
Unit 8 How do you make a banana milk shake?
簡單迴歸分析與相關分析 莊文忠 副教授 世新大學行政管理學系 計量分析一(莊文忠副教授) 2019/8/3.
Chapter 3. The Art of Modeling with Spreadsheets
Gaussian Process Ruohua Shi Meeting
When using opening and closing presentation slides, use the masterbrand logo at the correct size and in the right position. This slide meets both needs.
Presentation transcript:

Chapter 2. Linear Programming: Basic Concepts 第二章. 线性规划: 基本概念 运筹学

Table of Contents (主要内容) Three Classic Applications of LP (Section 2.1) (线性规划的三个经典应用[第2.1节]) The Wyndor Glass Company Product Mix Problem (Section 2.2) (伟恩德玻璃制品公司产品组合问题[第2.2节]) Formulating the Wyndor Problem on a Spreadsheet (Section 2.3) (在电子表格上建立韦恩德公司问题的模型[第2.3节]) The Algebraic Model for Wyndor (Section 2.4) (韦恩德公司问题的数学模型[第2.4节])

Table of Contents (主要内容) The Graphical Method Applied to the Wyndor Problem (Section 2.5) (韦恩德公司问题的图形方法[第2.5节]) Using the Excel Solver with the Wyndor Problem (Section 2.6) (使用Excel Solver解决韦恩德公司问题[第2.6节]) A Minimization Example—The Profit & Gambit Co. (Section 2.7) (一个最小化的例子——利博公司广告组合问题[第2.7节])

Three Classic Applications of LP Product Mix at Ponderosa Industrial (潘得罗索工业公司的产品组合问题) Considered limited resources, and determined optimal mix of plywood products. (考虑了有限资源,并确定了胶合板产品的最优组合) Increased overall profitability of company by 20%. (公司的总利润增加了20%)

Three Classic Applications of LP Personnel Scheduling at United Airlines (联合航空公司的员工排程) Designed work schedules for all employees at a location to meet service requirements most efficiently. (在每个地点为所有员工设计工作排程以最有效地满足服务需求) Saved $6 million annually. (每年可节约600万美元) 线性规划 太有用了!

Three Classic Applications of LP Planning Supply, Distribution, and Marketing at Citgo Petroleum Corporation (Citgo石油公司的供应、配送和营销计划) The SDM system uses LP to coordinate the supply, distribution, and marketing of each of Citgo’s major products throughout the United States. (SDM系统使用LP来协调全美Citgo石油公司主要产品的供应、配送和营销) The resulting reduction in inventory added $14 million annually to Citgo’s profits. (库存成本的下降每年为公司增加1400万美元的收入)

Wyndor Glass Co. Product Mix Problem Wyndor has developed the following new products (韦恩德公司开发了下列新产品): An 8-foot glass door with aluminum framing. (8英尺的铝框玻璃门) A 4-foot by 6-foot double-hung, wood-framed window. (4英尺*6英尺的双把木框门) The company has three plants (公司有三个工厂) Plant 1 produces aluminum frames and hardware. (工厂1生产铝框和五金件) Plant 2 produces wood frames. (工厂2生产木框) Plant 3 produces glass and assembles the windows and doors. (工厂3生产玻璃并组装窗和门)

Wyndor Glass Co. Product Mix Problem 公司是否应该生产这两个新产品?如果生产,两个新产品的生产组合如何? Should they go ahead with launching these two new products? If so, what should be the product mix?

Wyndor Glass Co. Product Mix Problem Developing a Spreadsheet Model (建立电子表格模型) Step #1: Data Cells (第一步: 数据单元格) Enter all of the data for the problem on the spreadsheet. (在电子表格中输入问题的所有数据) Make consistent use of rows and columns. (有效利用行和列) It is a good idea to color code these “data cells” (e.g., light blue). (为这些数据单元格标上颜色便于区分和建模)

Wyndor Glass Co. Product Mix Problem Developing a Spreadsheet Model (建立电子表格模型)

Wyndor Glass Co. Product Mix Problem Developing a Spreadsheet Model (建立电子表格模型) Step #2: Changing Cells (第二步: 可变单元格) Add a cell in the spreadsheet for every decision that needs to be made. (在电子表格中为每一决策添加一个单元格) If you don’t have any particular initial values, just enter 0 in each. (如果没有任何初始值,输入0即可) It is a good idea to color code these “changing cells” (e.g., yellow with border). (为这些可变单元格标上颜色便于区分和建模)

Wyndor Glass Co. Product Mix Problem Developing a Spreadsheet Model (建立电子表格模型) 4 12 18

Wyndor Glass Co. Product Mix Problem Developing a Spreadsheet Model (建立电子表格模型) Step #3: Target Cell (第三步: 目标单元格) Develop an equation that defines the objective of the model. (建立定义模型目标的方程式) Typically this equation involves the data cells and the changing cells in order to determine a quantity of interest (e.g., total profit or total cost). (典型地,这个方程式包含了数据单元格和可变单元格的数据,以确定有关的数量值,如总利润和总成本) It is a good idea to color code this cell (e.g., orange with heavy border). (给目标单元格标记颜色)

Wyndor Glass Co. Product Mix Problem Developing a Spreadsheet Model (建立电子表格模型) 4 12 18

Wyndor Glass Co. Product Mix Problem Developing a Spreadsheet Model (建立电子表格模型) Step #4: Constraints (约束) For any resource that is restricted, calculate the amount of that resource used in a cell on the spreadsheet (an output cell). (对所有有限资源,在电子表格的输出单元格中计算出资源的使用量) Define the constraint in three consecutive cells. For example, if Quantity A ≤ Quantity B, put these three items (Quantity A, ≤, Quantity B) in consecutive cells. (在三个连续的单元格中定义约束)

Wyndor Glass Co. Product Mix Problem Developing a Spreadsheet Model (建立电子表格模型) 4 12 18

Wyndor Glass Co. Product Mix Problem A Trial Solution (试验解) 4 12 18 The spreadsheet for the Wyndor problem with a trial solution (4 doors and 3 windows) entered into the changing cells. (含试验解的韦恩德公司问题的电子表格模型,在可变单元格中输入了4扇门和3扇窗)

Wyndor Glass Co. Product Mix Problem Algebraic Model for Wyndor Glass Co. (韦恩德公司问题的数学模型) Let D = the number of doors to produce (门的生产量) W = the number of windows to produce (窗的生产量) Maximize P = $300D + $500W subject to (约束) D ≤ 4 2W ≤ 12 3D + 2W ≤ 18 and D ≥ 0, W ≥ 0. 运筹学

Wyndor Glass Co. Product Mix Problem 产品组合图形

Wyndor Glass Co. Product Mix Problem 非负约束

Wyndor Glass Co. Product Mix Problem 非负约束

Wyndor Glass Co. Product Mix Problem 非负约束

Wyndor Glass Co. Product Mix Problem Boundary Line for Constraint 3D + 2W ≤ 18 (约束条件边界线)

Wyndor Glass Co. Product Mix Problem 只改变约束条件右侧得到平行的约束边界线

Wyndor Glass Co. Product Mix Problem 3D + 2W ≤ 18 的非负可行域

Wyndor Glass Co. Product Mix Problem Graph of Feasible Region (可行域图像)

Wyndor Glass Co. Product Mix Problem Objective Function (P = 1,500) (目标函数)

Wyndor Glass Co. Product Mix Problem Finding the Optimal Solution (寻找最优解)

Summary of the Graphical Method Draw the constraint boundary line for each constraint. Use the origin (or any point not on the line) to determine which side of the line is permitted by the constraint. (画出每个函数约束的约束边界线,用原点或其它不在约束边界线上的点来确定直线的哪一边是约束条件所允许的) Find the feasible region by determining where all constraints are satisfied simultaneously. (找出由所有约束条件都同时满足所决定的可行域) Determine the slope of one objective function line. All other objective function lines will have the same slope. (确定一条目标函数线的斜率,所有其它目标函数线具有与之相同的斜率)

Summary of the Graphical Method Move a straight edge with this slope through the feasible region in the direction of improving values of the objective function. Stop at the last instant that the straight edge still passes through a point in the feasible region. This line given by the straight edge is the optimal objective function line. (在可行域范围内朝着目标函数改进的方向移动目标函数线,在它还穿过可行域的一个点时停止移动,这时得到的就是最优目标函数线) A feasible point on the optimal objective function line is an optimal solution. (最优目标函数线上的可行点是一个最优解)

Wyndor Glass Co. Product Mix Problem Identifying the Target Cell and Changing Cells (确定目标单元格和可变单元格) Choose the “Solver” from the Tools menu. (从工具菜单中选择“Solver”) Select the cell you wish to optimize in the “Set Target Cell” window. (在“Set Target Cell”中选择要优化的单元格) Choose “Max” or “Min” depending on whether you want to maximize or minimize the target cell. (根据需要选择“Max”或者“Min”选项) Enter all the changing cells in the “By Changing Cells” window. (在“By Changing Cells”窗体中输入所有可变单元格)

Wyndor Glass Co. Product Mix Problem 4 12 18

Wyndor Glass Co. Product Mix Problem Adding Constraints (添加约束) To begin entering constraints, click the “Add” button to the right of the constraints window. (在约束窗体的右侧点击“Add”按钮添加约束) Fill in the entries in the resulting Add Constraint dialogue box. (在添加约束对话框中填入相应内容)

Wyndor Glass Co. Product Mix Problem 4 12 18

Wyndor Glass Co. Product Mix Problem The Complete Solver Dialogue Box (设置完成的Solver对话框)

Wyndor Glass Co. Product Mix Problem Some Important Options (一些重要选项) Click on the “Options” button, and click in both the “Assume Linear Model” and the “Assume Non-Negative” box. (单击“Options”按钮,并且选中“Assume Linear Model”和“Assume Non-Negative”选项) “Assume Linear Model” tells the Solver that this is a linear programming model. (“Assume Linear Model”选项使Solver确定该模型为线性规划模型) “Assume Non-Negative” adds nonnegativity constraints to all the changing cells. (“Assume Non-Negative”选项给所有可变单元格添加非负约束条件)

Wyndor Glass Co. Product Mix Problem

Wyndor Glass Co. Product Mix Problem The Optimal Solution (最优解) 4 12 18

The Profit & Gambit Co. Management has decided to undertake a major advertising campaign that will focus on the following three key products: (管理层决定集中在下列三个主要产品上实行大规模广告活动) A spray prewash stain remover. (一种喷雾去污剂) A liquid laundry detergent. (一种液体洗涤剂) A powder laundry detergent. (一种洗衣粉) The campaign will use both television and print media (这一广告活动将采用电视和印刷媒体) The general goal is to increase sales of these products. (总目标是要增加所有这些产品的销售量)

The Profit & Gambit Co. Management has set the following goals for the campaign: (管理层设定了如下广告目标) Sales of the stain remover should increase by at least 3%.(喷雾去污剂至少增加3%的市场份额) Sales of the liquid detergent should increase by at least 18%.(液体洗涤剂至少增加18%的市场份额) Sales of the powder detergent should increase by at least 4%.(洗衣粉至少增加4%的市场份额)

The Profit & Gambit Co. 要以最低的总成本满足销售目标,公司应该在每种媒体上做多少钱的广告? How much should they advertise in each medium to meet the sales goals at a minimum total cost?

Profit & Gambit Co. Spreadsheet Model The Profit & Gambit Co. Profit & Gambit Co. Spreadsheet Model (电子表格模型)

Algebraic Model for Profit & Gambit (数学模型) The Profit & Gambit Co. Algebraic Model for Profit & Gambit (数学模型) Let: TV = the number of units of advertising on television (电视广告的单位数量) PM = the number of units of advertising in the print media (印刷媒体的广告数量) Minimize Cost = TV + 2PM (in millions of dollars)

Algebraic Model for Profit & Gambit (数学模型) The Profit & Gambit Co. Algebraic Model for Profit & Gambit (数学模型) subject to: Stain remover increased sales: PM ≥ 3 (喷雾去污剂的销售增量) Liquid detergent increased sales: 3TV + 2PM ≥ 18 (喷雾去污剂的销售增量) Powder detergent increased sales: –TV + 4PM ≥ 4 And TV ≥ 0, PM ≥ 0.

Applying the Graphical Method (应用图形方法) The Profit & Gambit Co. Applying the Graphical Method (应用图形方法)

The Optimal Solution (最优解) The Profit & Gambit Co. The Optimal Solution (最优解)

The end of chapter 2