1 / 38

Preparing for Quiz 1

Preparing for Quiz 1. Review notes, assignments Take practice quiz Read Tips on Taking On-line Exams Get a good night's rest Quiz 1 coverage: up to and including wrap-up of forecasting. Quiz Schedule. All lab sections treated the same Transition periods are crucial.

skylar
Télécharger la présentation

Preparing for Quiz 1

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. Preparing for Quiz 1 • Review notes, assignments • Take practice quiz • Read Tips on Taking On-line Exams • Get a good night's rest • Quiz 1 coverage: up to and including wrap-up of forecasting

  2. Quiz Schedule All lab sections treated the same Transition periods are crucial

  3. When you come to the lab • Find assigned computer, go to course web • You may copy materials to the desktop before the quiz starts • From USB key, CD, or email • You may not use a USB key, CD, email, etc. during the quiz • Listen carefully to instructions • Have OneCard ready.

  4. When the quiz begins • Take a deep breath! • If the first question looks too simple, it is

  5. During the quiz • Keep breathing! • Save often • Submit early, submit often • Do not worry about decimals, formatting • Later questions may depend on earlier ones. Feel free to make up answers. • If your computer freezes, raise your hand right away. You will be given extra time for computer problems beyond your control.

  6. Near the end • 5-minute warning • Stop, save, submit • Check that responses appear on confirmation web page • If you have time, do more work • Don’t risk late penalty ! • When done: delete files from desktop

  7. Things to watch for… • Practice finding good solutions without Solver • Error messages in Solver: • “Error in set target cell not met” • If you see a message you do not recognize, raise your hand immediately and we will help with the tech issue • Do not try to fix this for 20 min and then tell us since we will not be able to give you an extra 20 min on the quiz

  8. Reminders • Quiz Review Session, Thu 5:30 – 6:30 pm, BUS B-24+28 • Optional • Q&A session, no new material

  9. MGTSC 352 Lecture 9: Aggregate Planning Overview of Planning: Matching Demand and Capacity Case 2: Mountain WearLeduc Control Example

  10. Intermediate Short-range Long-range • Job assignment • Machine loading • Job sequencing • Lot sizing • Order quantities • Aggregate levels of: • Workforce • Inventory • Output • Subcontracting • Backorders • Product design • Location • Layout • Capacity • Process 0 2 mo. 18 mo. 5 yrs.? Overview of Planning (pg. 46)

  11. Sequence of Planning (pg. 47) Corporate Strategy External Conditions Demand Forecasts Aggregate Plan Manufacturing Service Master Production Schedule Weekly Workforce + Customer Schedule MRP =Materials Requirements Planning Daily Schedule

  12. Influencing demand ? Changing capacity ? Matching Demand and Capacity

  13. Influencing demand Pricing Promotion Back orders New demand Changing capacity Hiring/firing Overtime/slack time Part-time workers Subcontracting Inventories Matching Demand and Capacity (pg.48)

  14. Case 2: Mountain Wear (pg. 96)

  15. Decide … how much to produce how much inventory to carry how many people to hire or lay off how much overtime to use … in order to satisfy demand and minimize cost AGGREGATE PLANNING Let’s look at the first aggregate plan in the case … Case 2: Mountain Wear For next week: read case (pg. 96), fill in the blanks on pages 49-50 in course pack

  16. Leduc Control (pgs.52-53) • The mysteries of solver unraveled … • … slowly • How many units of each product to produce for the next period? • Simpler than Mountain Wear

  17. Leduc Control • Products: AS 1012 and HL 734 • Production planning meeting: • Howie Jones (CEO) • Homer Simpson (Production) • Andy Marshall (Marketing) • Tania Tinoco (Accountant) • Kim Becalm (you)

  18. Homer

  19. Andy • Can sell all we produce • No room to raise prices

  20. Tania

  21. More From Tania Tania’s conclusion: produce 200 AS 1012 and 0 HL 734 Do you agree?

  22. Leduc Control Example (pg. 60) • A linear problem • The “set cell” is linear function of changing cells • All constraints are linear functions of changing cells • A linear function is one that involves • addition (or subtraction) • multiplication of a constant with a changing cell • no other operations • mathematically ax + by  linear function of two variables (x and y)

  23. Linear vs. nonlinear • If possible, use a linear formulation • Solver will work more reliably • Convert Y/X ≤ 0.5 to Y ≤ 0.5X • Quick-and-dirty approach: • Click “Assume Linear Model” and solve • If solver complains, unclick, try again

  24. Leduc Control Example – Alternative Representations (pg. 61) • Spreadsheet formulation (what we did in class) • In English • Maximize net contribution • By varying the production levels of the two products • Subject to constraints: • Use no more than 200 PSoCs • Use no more than 1566 hours of assembly time • Use no more than 2880 hours of programming • (Do not produce negative units)

  25. Algebraic Formulation

  26. Matrix Formulation

  27. Formulation in AMPL (= Algebraic Mathematical Programming Language) param NUM_RESOURCES; param NUM_PRODUCTS; set RESOURCES:=1..NUM_RESOURCES; set PRODUCTS:=1..NUM_PRODUCTS; param c {PRODUCTS} >= 0; # net margin per unit param A {RESOURCES, PRODUCTS} >= 0; # per-unit resource requirements param b {RESOURCS} >= 0; # resource availability var x {PRODUCTS} >=0; # number to make of each product # Objective: # Maximize the total net margin maximize total_net_margin: sum {i in PRODUCTS} c[i]*x[i]; # Constraints: # resource availability constraints subject to res_constr {j in RESOURCS}: sum{i in PRODUCTS} A[i,j] x[i] <= b[j];

  28. Which Formulation is Best? • Depends on what you want to do: • Understand the problem • Solve the problem • Small problem • Big problem • Communicate the problem • Develop a new/improved solver

  29. Possible Solver Outcomes (pg. 63) Optimization Model Run Solver Optimal Solution Found Unbounded Problem  Infeasible Problem 

  30. Unbounded Problem • How will you know: • What it means: • Possible to achieve infinite profit • Either you will become filthy rich, or (more likely) there is something wrong with your model • How to fix it: look for missing constraints

  31. Infeasible Problem • How will you know: • What it means: • Impossible to satisfy all constraints • Possible reasons: • You need more resources • You over-constrained the problem

  32. Unbounded/Infeasible Problem • Means solver cannot solve • The values returned are meaningless • You need to look at your model

  33. Is the plan still optimal? If not, how will it change? (pg. 65) • Howie realizes that he underestimated the net margin for each AS by $65. • Howie realizes that he overestimated the net margin for each AS by $65. • Howie discovers a new market where he can sell both AS and HLs at a 20% higher net margin than originally estimated.

  34. More Post-Optimality Analysis • Another semiconductor supplier offers Howie 5 more PsoCs for a premium of $150 each (above and beyond the going rate of $720 per unit). Should Howie buy these PSoCs? • Howie sometimes helps out with programming the LCDs, thereby increasing the amount of available programming time. Should he help out in this cycle? If so, how long should he help out? • Howie’s nephew offers to work in assembly for a premium rate of $12 per hour (above and beyond the going rate of $20 per hour). Should Howie hire his nephew? For how many hours?

  35. SolverTable (pg. 67) • Combines Solver and Data Table • Solves the problem repeatedly and reports all solutions • Free add-in • see COURSE DOCUMENTS > RESOURCES > SOFTWARE on course web

  36. Excel Solver Advantages (pg. 69) • comes with Excel (no additional cost) • has the same familiar user interface as other Excel components • can solve problems with integer constraints and nonlinear problems • can be automated using VBA

  37. Excel Solver Disadvantages • limited to 200 variables and 100 constraints (Premium: 800 variables, no limit on constraints) • somewhat inconvenient (Ex: B12 + B13 ≤ B14 not allowed) • can be slow when solving large problems with integer constraints (Premium Solver much faster) • not very reliable (sometimes fails to find a solution)(Premium is more robust)

  38. Other solvers • Survey • http://lionhrtpub.com/orms/surveys/LP/LP-survey.html • $1,000 ... $10,000 • Can solve very large problems (200,000 constraints) • Usually require front-end modeling language • Premium solver: $1,000 http://www.solver.com/

More Related