MIT and James Orlin © 2003 1 More Linear Programming Models.

Slides:



Advertisements
Similar presentations
February 7, 2002 A brief review of Linear Algebra Linear Programming Models Handouts: Lecture Notes.
Advertisements

To accompany lecture on February 7 Some additional Linear Programs (not covered in lecture) – Airplane Revenue Management – Tomotherapy.
Computational Methods for Management and Economics Carla Gomes Module 6c Initialization in Simplex (Textbook – Hillier and Lieberman)
Optimization problems using excel solver
BU Decision Models Integer_LP1 Integer Optimization Summer 2013.
Linear Programming Problem
Lesson 08 Linear Programming
Linear Programming (LP) (Chap.29)
Goal Programming How do you find optimal solutions to the following?
Introduction to Mathematical Programming OR/MA 504 Chapter 6 Goal programming and Multiple Objective Optimization.
Radiotherapy Planning Stephen C. Billups University of Colorado at Denver
Deterministic methods of operations research Introduction.
Non Linear Programming 1
MIT and James Orlin © Nonlinear Programming Theory.
Computational Methods for Management and Economics Carla Gomes Module 5 Modeling Issues.
1 Optimization – Part II More Applications of Optimization to Operations Management In this session, we continue our discussion of “Optimization” and its.
INFM 718A / LBSC 705 Information For Decision Making Lecture 4.
Computational Methods for Management and Economics Carla Gomes
Integer Programming Integer programming is a solution method for many discrete optimization problems Programming = Planning in this context Origins go.
Lecture outline Support vector machines. Support Vector Machines Find a linear hyperplane (decision boundary) that will separate the data.
Review of Reservoir Problem OR753 October 29, 2014 Remote Sensing and GISc, IST.
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm.
Radiotherapy for Brain Tumours What do I need to know? Dr Matthew Foote Radiation Oncologist Princess Alexandra Hospital Queensland.
Chapter 10. Resource Allocation
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved. 1.
1© 2003 by Prentice Hall, Inc. Upper Saddle River, NJ The Wyndor Glass Company Problem (Hillier and Liberman) The Wyndor Glass Company is planning.
Introduction to Mathematical Programming OR/MA 504 Chapter 5 Integer Linear Programming.
1 Lecture 4 Maximal Flow Problems Set Covering Problems.
Introduction to Linear Programming
Optimization of Gamma Knife Radiosurgery Michael Ferris University of Wisconsin, Computer Sciences David Shepard University of Maryland School of Medicine.
Data Mining to Aid Beam Angle Selection for IMRT Stuart Price-University of Maryland Bruce Golden- University of Maryland Edward Wasil- American University.
Modeling and Optimization of Aggregate Production Planning – A Genetic Algorithm Approach B. Fahimnia, L.H.S. Luong, and R. M. Marian.
Optimization Models Mathematical optimization models usually contain an objective (what to do) constraints (the rules that must be followed). Also referred.
Building “ Problem Solving Engines ” for Combinatorial Optimization Toshi Ibaraki Kwansei Gakuin University (+ M. Yagiura, K. Nonobe and students, Kyoto.
Product Mix & Master Production Scheduling
Integer Programming Integer programming is a solution method for many discrete optimization problems Programming = Planning in this context Origins go.
Spreadsheet Modeling & Decision Analysis:
Linear Programming.  Linear Programming provides methods for allocating limited resources among competing activities in an optimal way.  Any problem.
Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning. 6-1 Integer Linear Programming Chapter 6.
Deterministic Operations Research Models J. Paul Brooks Jill R. Hardin Department of Statistical Sciences and Operations Research November 28, 2006.
1 Spreadsheet Modeling & Decision Analysis: A Practical Introduction to Management Science, 3e by Cliff Ragsdale.
Operational Research & ManagementOperations Scheduling Workforce Scheduling 1.Days-Off Scheduling 2.Shift Scheduling 3. Cyclic Staffing Problem (& extensions)
Lecture 6 – Integer Programming Models Topics General model Logic constraint Defining decision variables Continuous vs. integral solution Applications:
DISTRIBUTION AND NETWORK MODELS (1/2)
1 Managing Flow Variability: Safety Inventory Operations Management Session 23: Newsvendor Model.
Chapter 1 Introduction n Introduction: Problem Solving and Decision Making n Quantitative Analysis and Decision Making n Quantitative Analysis n Model.
1 The Geometry of Linear Programs –the geometry of LPs illustrated on GTC Handouts: Lecture Notes February 5, 2002.
Production Planning Basic Inventory Model Workforce Scheduling Enhance Modeling Skills Dynamic Models.
3 Components for a Spreadsheet Optimization Problem  There is one cell which can be identified as the Target or Set Cell, the single objective of the.
8/14/04 J. Bard and J. W. Barnes Operations Research Models and Methods Copyright All rights reserved Lecture 6 – Integer Programming Models Topics.
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
Managerial Economics Linear Programming Aalto University School of Science Department of Industrial Engineering and Management January 12 – 28, 2016 Dr.
Lecture 6 – Integer Programming Models Topics General model Logic constraint Defining decision variables Continuous vs. integral solution Applications:
Introduction to Integer Programming Integer programming models Thursday, April 4 Handouts: Lecture Notes.
Athula D. A. Gunawardena, Michael C. Ferris and Robert R. Meyer University of Wisconsin-Whitewater, and University of Wisconsin-Madison.
1 Linear Programming Design of mathematical model.
Understanding Radiation Therapy Lecturer Radiological Science
Managerial Economics Linear Programming
Solver & Optimization Problems
Optimization of Gamma Knife Radiosurgery
Integer Programming (정수계획법)
Goal Programming How do you find optimal solutions to the following?
FOUNDATIONS OF MODERN SCIENTIFIC PROGRAMMING
Linear Programming Problem
Dr. Arslan Ornek DETERMINISTIC OPTIMIZATION MODELS
Lecture 6 – Integer Programming Models
Chapter 1. Formulations.
Spreadsheet Modeling & Decision Analysis:
Integer Linear Programming
Presentation transcript:

MIT and James Orlin © More Linear Programming Models

MIT and James Orlin © Overview Applications –personnel scheduling –radiation therapy –production and inventory management Goals –get practice in recognizing and modeling linear constraints (and non-linear constraints) –use of models in practice

MIT and James Orlin © Overview 5 in 7 scheduling problem –The model –Practical enhancements or modifications –Two non-linear objectives that can be made linear –A non-linear constraint that can be made linear Radiation treatments and Math Programming –Overview of how math programming arises in radiation treatment design –Formulation as math programs –Discussion issues

MIT and James Orlin © Overview 5 in 7 scheduling problem –The model

MIT and James Orlin © Scheduling Postal Workers Each postal worker works for 5 consecutive days, followed by 2 days off, repeated weekly. Minimize the number of postal workers (for the time being, we will permit fractional workers on each day.)

MIT and James Orlin © Formulating as an LP Select the decision variables –Let x 1 be the number of workers who start working on Monday, and work till Friday –Let x 2 be the number of workers who start on Tuesday … –Let x 3, x 4, …, x 7 be defined similarly.

MIT and James Orlin © The linear program Minimizez = x 1 + x 2 + x 3 + x 4 + x 5 + x 6 + x 7 subject to x 1 + x 4 + x 5 + x 6 + x 7  17 x 1 + x 2 + x 5 + x 6 + x 7  13 x 1 + x 2 + x 3 + x 6 + x 7  15 x 1 + x 2 + x 3 + x 4 + x 7  19 x 1 + x 2 + x 3 + x 4 + x 5  14 x 2 + x 3 + x 4 + x 5 + x 6  16 x 3 + x 4 + x 5 + x 6 + x 7  11 x j  0 for j = 1 to 7

MIT and James Orlin © On the selection of decision variables Would it be possible to have y j be the number of workers on day j? –Workers on day j is at least d j. –Each worker works 5 days on followed by 2 days off. Conclusion: sometimes the decision variables incorporate constraints of the problem. –Hard to do this well, but worth keeping in mind –We will see more of this in integer programming.

MIT and James Orlin © Some Enhancements of the Model Suppose that there was a pay differential. The cost of workers who start work on day j is c j per worker. Minimizez = c 1 x 1 + c 2 x 2 + c 3 x 3 + … + c 7 x 7

MIT and James Orlin © Overview 5 in 7 scheduling problem –The model –Practical enhancements or modifications

MIT and James Orlin © Some Enhancements of the Model Suppose that one can hire part time workers (one day at a time), and that the cost of a part time worker on day j is PT j. Let y j = number of part time workers on day j

MIT and James Orlin © What is the Revised Linear Program? subject to x 1 + x 4 + x 5 + x 6 + x 7  17 x 1 + x 2 + x 5 + x 6 + x 7  13 x 1 + x 2 + x 3 + x 6 + x 7  15 x 1 + x 2 + x 3 + x 4 + x 7  19 x 1 + x 2 + x 3 + x 4 + x 5  14 x 2 + x 3 + x 4 + x 5 + x 6  16 x 3 + x 4 + x 5 + x 6 + x 7  11 x j  0 for j = 1 to 7 z = x 1 + x 2 + x 3 + x 4 + x 5 + x 6 + x 7 Minimize

MIT and James Orlin © Minimizez = x 1 + x 2 + x 3 + x 4 + x 5 + x 6 + x 7 subject to x 1 + x 4 + x 5 + x 6 + x 7 + y 1  17 x 1 + x 2 + x 5 + x 6 + x 7 + y 2  13 x 1 + x 2 + x 3 + x 6 + x 7 + y 3  15 x 1 + x 2 + x 3 + x 4 + x 7 + y 4  19 x 1 + x 2 + x 3 + x 4 + x 5 + y 5  14 x 2 + x 3 + x 4 + x 5 + x 6 + y 6  16 x 3 + x 4 + x 5 + x 6 + x 7 + y 7  11 x j  0, y j  0 for j = 1 to 7 + PT 1 y 1 + PT 2 y 2 + … + PT 7 y 7

MIT and James Orlin © Another Enhancement Suppose that the number of workers required on day j is d j. Let y j be the number of workers on day j. What is the minimum cost schedule, where the “cost” of having too many workers on day j is - f j (y j – d j ), which is a non-linear function? NOTE: this will lead to a non-linear program, not a linear program. We will let s j = y j – d j be the excess number of workers on day j.

MIT and James Orlin © What is the Revised Linear Program? subject to x 1 + x 4 + x 5 + x 6 + x 7  17 x 1 + x 2 + x 5 + x 6 + x 7  13 x 1 + x 2 + x 3 + x 6 + x 7  15 x 1 + x 2 + x 3 + x 4 + x 7  19 x 1 + x 2 + x 3 + x 4 + x 5  14 x 2 + x 3 + x 4 + x 5 + x 6  16 x 3 + x 4 + x 5 + x 6 + x 7  11 x j  0 for j = 1 to 7 z = x 1 + x 2 + x 3 + x 4 + x 5 + x 6 + x 7 Minimize

MIT and James Orlin © Minimize z = f 1 (s 1 ) + f 2 (s 2 ) + f 3 (s 3 ) + f 4 (s 4 ) + f 5 (s 5 ) + f 6 (s 6 ) + f 7 (s 7 ) subject to x 1 + x 4 + x 5 + x 6 + x 7 - s 1 = 17 x 1 + x 2 + x 5 + x 6 + x 7 - s 2 = 13 x 1 + x 2 + x 3 + x 6 + x 7 - s 3 = 15 x 1 + x 2 + x 3 + x 4 + x 7 - s 4 = 19 x 1 + x 2 + x 3 + x 4 + x 5 - s 5 = 14 x 2 + x 3 + x 4 + x 5 + x 6 - s 6 = 16 x 3 + x 4 + x 5 + x 6 + x 7 - s 7 = 11 x j  0, s j  0 for j = 1 to 7

MIT and James Orlin © Overview 5 in 7 scheduling problem –The model –Practical enhancements or modifications –Two non-linear objectives that can be made linear

MIT and James Orlin © A non-linear objective that often can be made linear. Suppose that one wants to minimize the maximum of the slacks, that is minimize z = max (s 1, s 2, …, s 7 ). This is a non-linear objective. But we can transform it, so the problem becomes an LP.

MIT and James Orlin © Minimize z z  s j for j = 1 to 7. subject to x 1 + x 4 + x 5 + x 6 + x 7 - s 1 = 17 x 1 + x 2 + x 5 + x 6 + x 7 - s 2 = 13 x 1 + x 2 + x 3 + x 6 + x 7 - s 3 = 15 x 1 + x 2 + x 3 + x 4 + x 7 - s 4 = 19 x 1 + x 2 + x 3 + x 4 + x 5 - s 5 = 14 x 2 + x 3 + x 4 + x 5 + x 6 - s 6 = 16 x 3 + x 4 + x 5 + x 6 + x 7 - s 7 = 11 x j  0, s j  0 for j = 1 to 7 The new constraint ensures that z  max (s 1, …, s 7 ) The objective ensures that z = s j for some j.

MIT and James Orlin © Another non-linear objective that often can be made linear. Suppose that the “goal” is to have d j workers on day j. Let y j be the number of workers on day j. Suppose that the objective is minimize  i | y j – d j | This is a non-linear objective. But we can transform it, so the problem becomes an LP.

MIT and James Orlin © Minimize  j z j z j  y j - d j for j = 1 to 7. subject to x 1 + x 4 + x 5 + x 6 + x 7 = y 1 x 1 + x 2 + x 5 + x 6 + x 7 = y 2 x 1 + x 2 + x 3 + x 6 + x 7 = y 3 x 1 + x 2 + x 3 + x 4 + x 7 = y 4 x 1 + x 2 + x 3 + x 4 + x 5 - = y 5 x 2 + x 3 + x 4 + x 5 + x 6 = y 6 x 3 + x 4 + x 5 + x 6 + x 7 = y 7 x j  0, y j  0 for j = 1 to 7 The new constraints ensure that z j  | y j – d j | for each j. The objective ensures that z j = | y j – d j | for each j. z j  d j - y j for j = 1 to 7.

MIT and James Orlin © Overview 5 in 7 scheduling problem –The model –Practical enhancements or modifications –Two non-linear objectives that can be made linear –A non-linear constraint that can be made linear

MIT and James Orlin © A ratio constraint: Suppose that we need to ensure that at least 30% of the workers have Sunday off. How do we model this? (x 1 + x 2 )/x 1 + x 2 + x 3 + x 4 + x 5 + x 6 + x 7 .3 (x 1 + x 2 ) .3 x x x x x x x x x x x x x x 7 <= 0

MIT and James Orlin © Other enhancements Require that each shift has an integral number of workers –integer program Consider longer term scheduling –model 6 weeks at a time Consider shorter term scheduling – model lunch breaks Model individual workers –permit worker preferences

MIT and James Orlin © Overview 5 in 7 scheduling problem –The model –Practical enhancements or modifications –Two non-linear objectives that can be made linear –A non-linear constraint that can be made linear Radiation treatments and Math Programming –Overview of how math programming arises in radiation treatment design –Formulation as math programs –Discussion issues

MIT and James Orlin © Math Programming and Radiation Therapy Excerpted (with small modifications) from notes developed by Rob Freund (with help from Peng Sun) Lecture notes from

MIT and James Orlin © Radiation Therapy Overview High doses of radiation (energy/unit mass) can kill cells and/or prevent them from growing and dividing –True for cancer cells and normal cells Radiation is attractive because the repair mechanisms for cancer cells is less efficient than for normal cells

MIT and James Orlin © Radiation Therapy Overview Recent advances in radiation therapy now make it possible to –map the cancerous region in greater detail –aim a larger number of different beamlets with greater specificity This has spawned the new field of tomotherapy “Optimizing the Delivery of Radiation Therapy to Cancer patients,” by Shepard, Ferris, Olivera, and Mackie, SIAM Review, Vol 41, pp , Also see

MIT and James Orlin © Conventional Radiotherapy Relative Intensity of Dose Delivered

MIT and James Orlin © Conventional Radiotherapy Relative Intensity of Dose Delivered

MIT and James Orlin © Conventional Radiotherapy In conventional radiotherapy –3 to 7 beams of radiation –radiation oncologist and physicist work together to determine a set of beam angles and beam intensities –determined by manual “trial-and-error” process

MIT and James Orlin © Goal: maximize the dose to the tumor while minimizing dose to the critical area Critical Area Tumor area With a small number of beams, it is difficult to achieve these goals.

MIT and James Orlin © Recent Advances More accurate map of tumor area –CT -- Computed Tomography –MRI -- Magnetic Resonance Imaging More accurate delivery of radiation –IMRT: Intensity Modulated Radiation Therapy –Tomotherapy

MIT and James Orlin © Tomotherapy: a diagram

MIT and James Orlin © Radiation Therapy: Problem Statement For a given tumor and given critical areas For a given set of possible beamlet origins and angles Determine the weight of each beamlet such that: –dosage over the tumor area will be at least a target level  L. –dosage over the critical area will be at most a target level  U.

MIT and James Orlin © Display of radiation levels

MIT and James Orlin © Linear Programming Model First, discretize the space –Divide up region into a 2D (or 3D) grid of pixels

MIT and James Orlin © More on the LP Create the beamlet data for each of p = 1,..., n possible beamlets. D p is the matrix of unit doses delivered by beam p. = unit dose delivered to pixel (i,j) by beamlet p

MIT and James Orlin © Linear Program Decision variables w = (w 1,..., w p ) w p = intensity weight assigned to beamlet p for p = 1 to n; D ij = dosage delivered to pixel (i,j)

MIT and James Orlin © An LP model minimize In an example reported in the paper, there were more than 63,000 variables, and more than 94,000 constraints (excluding upper/lower bounds) took 4 minutes to solve.

MIT and James Orlin © What to do if there is no feasible solution Use penalties: e.g., D ij   L – y ij and then penalize y in the objective. Consider non-linear penalties (e.g., quadratic) Consider costs that depend on damage rather than on radiation Develop target doses and penalize deviation from the target

MIT and James Orlin © Optimal Solution for the LP

MIT and James Orlin © An Optimal Solution to an NLP

MIT and James Orlin © Further considerations Minimize damage to critical tissue Maximize damage to tumor cells Minimize time to carry out the dosage LP depends on the technology

MIT and James Orlin © The pigskin problem (from Practical Management Science) Pigskin company makes footballs All data below is for 1000s of footballs Forecast demand for next 6 months –10, 15, 30, 35, 25 and 10 Current inventory of footballs: 5 Determine the production levels and inventory levels over the next six months –meet demand at minimum cost –satisfy constraints

MIT and James Orlin © The pigskin problem (continued) Max Production capacity: 30 per month Max Storage capacity: 10 per month Production Cost per football for next 6 months: –$12.50, $12.55, $12.70, $12.80, $12.85, $12.95 Holding cost: $.60 per football per month With your partner: write an LP to describe the problem.

MIT and James Orlin © On the formulation Choose decision variables. –Let x j = the number of footballs produced in month j (in 1000s) –Let y j = the number of footballs held in inventory from month j to month j + 1. (in 1000s) –y 0 = 5 Then write the constraints and the objective. Pigskin Spreadsheet