AM 121: Intro to Optimization Models and Methods

Similar documents
Basic Components of an LP:

Fixture List 2018 FIFA World Cup Preliminary Competition

Cruise Line Agencies of Alaska. Cruise Ship Calendar for 2016 FOR PORT(S) = KTN AND SHIP(S) = ALL AND VOYAGES = ALL

Cruise Line Agencies of Alaska. Cruise Ship Calendar for 2016 FOR PORT(S) = KTN AND SHIP(S) = ALL AND VOYAGES = ALL

Cruise Line Agencies of Alaska. Cruise Ship Calendar for 2012 FOR PORT(S) = KTN AND SHIP(S) = ALL AND VOYAGES = ALL

Cruise Line Agencies of Alaska. Cruise Ship Calendar for 2013 FOR PORT(S) = KTN AND SHIP(S) = ALL AND VOYAGES = ALL

EMPLOYMENT APPLICATION {PLEASE Print Clearly}

TIMESHEET EXCEL TEMPLATES USER GUIDE. MS-Excel Tool User Guide

Charts, Tables, and Graphs

Overtime Pay. 1. Am I entitled to overtime pay? 2. How do I calculate my overtime pay? YOUR LEGAL RIGHTS

SAFE Employment Application

Linear Programming II: Minimization 2006 Samuel L. Baker Assignment 11 is on page 16.

U11 Boys Black March 21st Monday 6:00-7:30 p.m. Damien Training Field 2 March 24th Thursday 4:30-6:00 p.m. Damien Training Field 2 March 28th Monday 6

Monday Tuesday Wednesday Thursday Friday Saturday Sunday. Day 4 20-Minute Aerobics Solution. Day 3 Lower Body Weight Training

DECEMBER 2015 PTAB Public Hearing Schedule

Pay Guide - Hospitality Industry (General) Award 2010 [MA000009]

Strategy Deployment Through Collaborative Planning. Linking the Strategy to Practical Activity

New Year Holiday Period Traffic Fatality Estimate,

CPLEX Tutorial Handout

Pay Guide - Contract Call Centres Award 2010 [MA000023]

Rural Wage Guide 2015/2016

ASPECTS OF AGGREGATE PLANNING. Aggregate planning focuses on intermediate-rang production planning problems.

Proposal for 48/72 Schedule

Linear Programs: Variables, Objectives and Constraints

1 Aggregate Production Planning

Sample Schedule FOUR-TEAM LEAGUE

Demand

Biweekly Pay Transition. Non-Exempts to a biweekly pay cycle

Regional Membership Supplement. USA Canada Caribbean Islands 417-EN (313)

Achievement Test Administration Schedule: January 2016

Linear Programming Supplement E

A Production Planning Problem

eday Lessons Physical Education: High School PE I, PE II, and Advanced PE

Payroll Tax Requirements

Demand forecasting & Aggregate planning in a Supply chain. Session Speaker Prof.P.S.Satish

TEACHING AGGREGATE PLANNING IN AN OPERATIONS MANAGEMENT COURSE

COMPENSATION POLICY DOCUMENTATION OF LABOR COSTS In the OPERATION OF THE CACFP REQUIRED by FNS Instruction 796-2, Rev 3

The following information has been obtained in relation to the contract:

Pay Guide - Plumbing and Fire Sprinklers Award 2010 [MA000036]

Pay Guide - Children's Services Award 2010 [MA000120]

Address: Street. If you are under 18 years of age, do you have a work permit? Yes If you have ever worked under another name, please identify:

MOS 3330 Test 2 Review Problems & Solutions

FALL 2015 ACADEMIC CALENDARS

Chapter 2 Solving Linear Programs

SAMPLE PARENTING TIME GUIDELINES. 1. Both parents are fit and able to provide care for the children

IN TOUGH ECONOMIC TIMES: 4 Key Considerations & 7 Creative Solutions for Immediate Savings

M-DCPS Mathematics Department K-8 i-ready Implementation Plan

Production Planning & Control. Chapter 2. Aggregate Planning & Master Production Scheduling. Chapter2 1

Employee Central Payroll Time Sheet

ACADEMIC CALENDAR June 2016

1) A 2) B 3) C 4) D 5) A & B 6) C & D

KS2 Missing Digits Non-Calculator Level 3/4 Number of practice sheets: 9 MathSphere MathSphere

Nasdaq Dubai TRADING HOLIDAYS AND SETTLEMENT CALENDAR REVISION For Equities Outsourced to the DFM (T+2)

AGGREGATE & CAPACITY PLANNING

TILA RESPA Procedural Impacts Are You Ready? Presenters. CUNA Mutual Group 2015 All rights reserved. 1. July 7, 2015

Rose Bowl Aquatics Center Application for Employment

Farmer s Market Team Leader Job Description

RENTAL INFORMATION. (310) Fiji Way, Marina del Rey, California Catalina 14/RS Vision/Laser $15 $15 $30

1 How to request a tee time

-2- City Carrier Assistants Joint Questions and Answers

Scheduling Algorithm with Optimization of Employee Satisfaction

Universidad del Turabo MANA 705 DL Workshop Eight W8_8_3 Aggregate Planning, Material Requirement Planning, and Capacity Planning

Vessel Name SAFMARINE CHAMBAL MAERSK CAIRO MAERSK CASABLANCA SAFMARINE CHACHAI 1118WW 1138WW 1158WW 1178WW. XIAMEN Sunday, July 03, 2016

Fixed Cost. Marginal Cost. Fixed Cost. Marginal Cost

Ithaca College London Center. Guidelines for application and participation Important dates: Summer/Fall 2016 and Spring 2017 Cost estimates

New York Marathon Train Start Date: May 6, 2013

Planning and Scheduling Operations in Dynamic Supply Chain

ISTANBUL KEMERBURGAZ UNIVERSITY ACADEMIC CALENDAR

Models for Incorporating Block Scheduling in Blood Drive Staffing Problems

Sensitivity Analysis with Excel

MBA Curriculum Alignment Matrices California State University, Sacramento

SET GOALS. Identify jobs that interest you and write the titles on the following page.

Non-Traditional Full-Time Assignments Otherwise Known as Traditional Part-Time Assignments:

The University of Wisconsin Milwaukee Business Administration 478-Supply Chain Analytics Midterm 01 Oct. 8 at 9 PM

information available. There is a tremendous amount of sensitivity information, or information

Pay Guide - Hair and Beauty Industry Award 2010 [MA000005]

FRACTIONS. The student will be able to: Essential Fraction Vocabulary

2016 BELMONT PARK SPRING / SUMMER MEET POST TIMES/WAGERING MENU

What are some things to consider when deciding if a career is a good fit?

Lesson Lesson 2.2 ~ Adding Integers

Feidhmeannacbt na Seirbhise Sliinte Health Service Executive

8th Grade Personal Fitness Plan

Bethalto Public Library District EMPLOYMENT PREVIEW

You are ready to register for credit courses

K.J.SOMAIYA JUNIOR COLLEGE OF ARTS & COMMERCE TIME-TABLE FOR HSC BOARD PRACTICAL EXAMINATION MATHEMATICS AND STATISTICS

Financial Mathematics

IEOR 4404 Homework #2 Intro OR: Deterministic Models February 14, 2011 Prof. Jay Sethuraman Page 1 of 5. Homework #2

Using CPLEX. =5 has objective value 150.

Pay Guide - Telecommunications Services Award 2010 [MA000041]

Unit 13 Handling data. Year 4. Five daily lessons. Autumn term. Unit Objectives. Link Objectives

12-week Half Marathon Training Program By Ben Wisbey

Pay Guide - Horse and Greyhound Training Award 2010 [MA000008]

Social and Community Services (SACS) Award (NSW) Social, Community, Home Care and Disability Services Industry (SCHCADS) Award December 2012.

FEBRUARY 2016 PTAB Public Hearing Schedule

Position Announcement Math Solutions Consultant (part- time position)

What's a backup cycle?

This branch is closing but your bank is always open

Transcription:

AM 121: Intro to Optimization Models and Methods Lecture 3: Applications, Examples, Exercises. Yiling Chen SEAS Lecture 3: Lesson plan The Post Office Problem The SailCo Problem The SAVE-IT Company A Simple AMPL Example (AMPL: A Modeling Language for Mathematical Programming) From problem to LP + a little AMPL

Post Office Problem Union rules state that each full-time employee must work 5 consecutive days and then receive 2 days off. Formulate an LP to minimize the number of fulltime employees who must be hired. Day Number of full-time employees required 1=Monday 17 2=Tuesday 13 3=Wednesday 15 4=Thursday 19 5=Friday 14 6=Saturday 16 7=Sunday 11 Note: will need solution to be integral!

Variation 1: Forced overtime Post office can force employees to work a 6 th day each week Pay $100/day, $130 for the overtime day. Formulate an LP to minimize cost of meeting weekly labor requirements Day Number of full-time employees required 1=Monday 17 2=Tuesday 13 3=Wednesday 15 4=Thursday 19 5=Friday 14 6=Saturday 16 7=Sunday 11 Note: will need solution to be integral!

Variation 2: Maximizing Weekends! Post office has 25 fulltime employees. Cannot hire or fire. Day Number of full-time employees required 1=Monday 17 2=Tuesday 13 Formulate an LP to schedule employees in order to maximize the number of weekend days off received by the employees 3=Wednesday 15 4=Thursday 19 5=Friday 14 6=Saturday 16 7=Sunday 11 Note: will need solution to be integral!

Variation 3:Part-time employees Now allowed to hire parttime employees Full-time: 8 hours a day, 5 consecutive days (2 days off). Cost $15/hour. Part-time: 4 hours a day, 5 consecutive days (2 days off). Cost $10/hour. Part-time limited by union to 25% of weekly labor (in terms of working hours). Formulate an LP to minimize the post office s weekly labor costs. Day 1=Monday 2=Tuesday 3=Wednesday 4=Thursday 5=Friday 6=Saturday 7=Sunday Number of full-time employees required 8*17=136 hrs 8*13=104 hrs 8*15=120 hrs 8*19=152 hrs 8*14=112 hrs 8*16=128 hrs 8*11=88 hrs Note: will need solution to be integral!

The SailCo Problem SailCo must determine how many sailboats to produce in each of next quarters. Must meet demand in each Q. Boats made in a Q can be used to meet demand in same Q. Formulate an LP to determine a production schedule to minimize the sum of the production and inventory costs. Q1 Q2 Q3 Q4 demand 40 60 75 25 production cost $400/boat, first 40 boats in a quarter $450/boat for additional boats inventory cost $20/boat/quarter for boats on hand at end of a quarter (after production has occurred and demand satisfied) initial inventory: 10 sailboats at start of Q1 h t : represents # boats on hand at end of quarter x t : number of boats made less than 40 y 4 : number of boats made above 40

Variation 1: Better handling of the Rolling Horizon Notice that the plan leaves you with zero boats on hand at the end of Q4. Modify the LP to ensure that will end planning horizon with 10 boats in inventory. In practice, because this is a rolling horizon problem we would only implement for Q1 (produce 40 boats). Now observe demand. Suppose d 1 =35. Then Q2 begins with inventory of 10+40-35=15 Now solve LP for Q2 Q5 and starting with 15 boats. Suppose projected demand for Q5 is 36 Q1 Q2 Q3 Q4 Q5 forecast demand 40 60 75 25 36 actual demand 35 keep inventory of 10 at end of planning horizon. Formulation for start of Q2:

Variation 2: Production-smoothing costs [Require at least 10 boats on hand at the end] Suppose that there is a concern about making production smooth across periods. Increase in production: $400/boat (training) Decrease in production: $500/boat (severance pay, decreasing morale, etc.) Assume 50 boats made during the Q preceding Q 1 New constraints: x 2 + y 2 (x 1 + y 1 )=c 2 = c + 2 c 2 to capture change in production from period to period

Solution: (40,40,40,40) + (15,15,15,15) Why will the optimal solution not have both c + t > 0 and c t > 0? E.g., suppose production 70 in period 2 and 60 in period 1. What assignments to c + t and are feasible? c t Variation 3: Allowing demands to be backlogged Suppose now that demands can be backlogged and met in future periods Penalty of $100/boat for each quarter that demand is unmet. Must meet all demand by end of Q4. Idea: modify the formulation so that h + 2 h 2 = h+ 1 h 1 + x 1 = y 1 d 1 represents the potential backlog (at end of period) through h 2. Drop requirement that inventory be non-negative (except for final period) Include penalty in objective, e.g. add term +100h 2

The SAVE-IT Company Operates a reclamation center. Collects 4 types solid materials and treats so they can be amalgamated into a saleable product of 3 different grades. Formulate an LP to determine amount of each grade and mix of materials for each grade, maximizing profit (sales amalg. cost) Have grants of $30,000 for complete treatment cost (can t treat more than this) and at least half of each material must be collected and treated. Material Availability (lbs per week) Treatment cost 1 3000 3 $/lb 2 2000 6 $/lb 3 4000 4 $/lb 4 1000 5 $/lb Grade Spec A 1 <= 30% 2 >= 40 % 3 <= 50% 4 =20% B 1 <= 50% 2 >= 10% 4 = 10% Amalg. cost Sales price 3 $/lb 8.5 $/ lb 2.5 $/lb 7 $/lb C 1 <= 70% 2 $/lb 5.5 $/ lb

Variation 1: Pay for treatment SAVE-IT recognizes that it might be able to to make more profits and improve environment. Negotiates matching funds that will provide a 80% rebate on treatment cost above 30,000 per week. Formulate an LP that (a) uses all of 30,000, (b) treats at least half of every material, (c) may in addition treat more if this is profitable.

introduce y = 3(X A1 + x B1 + x C1 ) + 6(x A2 + x B2 + x C2 )+ 4(X A3 + x B3 + x C3 ) + 5(x A4 + x B4 + x C4 ) 30000 y 0 Add ( 0.8y) to the objective

An AMPL Example Product A Product B Profit Per Unit 5 8 Machine time 1 1 Storage Space 5 9 max 5x 1 + 8x 2 s.t. x 1 + x 2! 6 5x 1 + 9x 2! 45 x 1, x 2 " 0 Total machine time = 6; Total storage space = 45; example.mod set PRODUCT; set RESOURCE; param usage {i in RESOURCE, j in PRODUCT}; param profit {j in PRODUCT}; param avail {i in RESOURCE}; var X {j in PRODUCT}>=0; maximize Total_Profit: sum {j in PRODUCT} profit[j]*x[j]; subject to Resource_Constraints {i in RESOURCE}: sum{j in PRODUCT} usage[i, j]*x[j]<=avail[i]; example.dat set PRODUCT := A B; set RESOURCE := machine space; param usage: A B:= machine 1 1 space 5 9; param profit:= A 5 B 8; param: avail:= machine 6 space 45; Solve by AMPL Install AMPL according to instructions Start AMPL at command line ampl: model example.mod; ampl: data example.dat; ampl: option solver cplexamp; ampl: solve; IBM ILOG License Manager: "IBM ILOG Optimization Suite for Academic Initiative" is accessing CPLEX 12 with option(s): "e m b q ". CPLEX 12.2.0.0: No LP presolve or aggregator reductions. optimal solution; objective 41.25 2 dual simplex iterations (1 in phase I) ampl: display X; X [*] := A 2.25 B 3.75 ;