Session 1 2 Linear Programming Basics
Session 1 2 Linear Programming Basics
Operations Research
• Parameters
• Non-negativity Constraints
• Linear Programming (LP) problems
- Linear objective function
- Linear constraints
• Why only LP?
- Majority of real-life problems can be approximated
- Efficient solution procedures
- Easy Sensitivity Analysis
Steps to be followed in solving Linear
Programming Problem
X1 + X2 <= 5
3X1 + 2X2 <= 12
Non Negativity X1, X2 >= 0
Assumptions of Linear Programming
2.9
Example Problem No. 3
• The Mighty Silver Ball Company manufactures three kinds of pinball
machines, each requiring a different manufacturing technique.
• In addition, a marketing forecast has shown that the demand for the
Super Deluxe is no more than 25 machines, demand for the Silver Ball
Special no more than 50, and demand for Bumper King no more than
100.
Super Deluxe
17 8 $300
Machine
Silver Ball
14 12 $250
Special
3. Constraints???
Maximize
Z = 300x1 +250x2 + 200x3
Subject to
1 6 AM to 10 AM 60
2 10 AM to 2 PM 70
3 2 PM to 6 PM 60
4 6 PM to 10 PM 50
5 10 PM to 2 AM 20
6 2 AM to 6 AM 30
• Nurses report to the hospital wards at the beginning of each period and work for 8
consecutive hours. The hospital wants to determine the minimal number of nurses to
employ so that there will be a sufficient number of personnel available for each period.
Problem No. 5 - Solution
• Decision variables: Let xi represent the number of nurses reporting in period ‘i’
where i varies from 1 to 6 (xi >=0)
x2+x1>=70 (Period 2)
x2+x3>=60 (Period 3)
x3+x4>=50 (Period 4)
x4+x5>=20 (Period 5)
x5+x6>=30 (Period 6)