MS 03-1 LP Formulation
MS 03-1 LP Formulation
Model Formulation
Management Science
Eunji Kim
[email protected]
▪ Difference = 5
▪ Can we do better?
Optimization 4
▪ Mathematical optimization
• The selection of a best element, with regard to some criterion, from some set
of available alternatives.
• A.k.a. mathematical programming
BEST DECISION
A problem
Optimization is Everywhere 5
▪ Personal choices
• Best career choice
• Best use of our time
• Best strategies
• Best value for the money
▪ Company choices
• Maximize values to shareholders
• Determine optimal mix of products or services
• Minimize production costs
• Minimize cost of getting product to customers
• Maximize value of advertising
• Hire the best workers
What kinds of problems can be solved? 6
Production quantity
Production Order quantity
Scheduling
Product
Design
Logistics
Component mix ratio
Shipment volume
Transportation
Marketing
Investment
Advertisement Strategy
Portfolio management Channel distribution
Site scoring Human
Resource
Team building
Assignment
The Optimization paradigm 7
▪ Decision variables: the elements that are under the control of the
decision maker
• The work schedules of each employee
• The level of investments in a portfolio
• What subjects a student should take in each semester
• “Business rules”
• No worker can work more than 5 consecutive days
• There is at most 2% investment in any stock in the portfolio
• Students must take a prerequisite of a subject before taking the subject
• “Physical laws”
• No worker can work a negative amount of time
• The amount of a goods in inventory at the end of period j is
the amount of goods arriving during period j plus
the amount of goods in inventory in period j-1 minus
the amount of goods that are sold in the period.
Optimization model 9
x1, x2, …, xn ≥ 0
Typically but not always the case
Optimization Example 11
subject to 2x + 3y ≤ 60 (constraint)
subject to x, y ≥ 0 (non-negativity constraints)
Optimization Example 14
▪ Optimization Model
▪ Terminologies
• A feasible solution satisfies all of the constraints.
The optimal solution is x=30, y=0. Here, the total score is maximized with
z=120.
Model Components 15
▪ Parameters
• Numerical coefficients and constants used in the objective function and
constraints (data).
Linear Programming 16
Linear Function and LP 17
x1, x2, …, xn ≥ 0
Typically but not always the case
▪ Resource Availability:
• 40 hrs of labor per day
• 120 lbs of clay
Model Formulation: A Maximization 26
Resource Constraints:
1x1 + 2x2 40 hours of labor
4x1 + 3x2 120 pounds of clay
Non-Negativity Constraints:
x1 0; x2 0
Model Formulation: A Maximization 27
Complete Model:
Chemical Contribution
Nitrogen Phosphate
Brand
(lb/bag) (lb/bag)
Super-gro 2 4
Crop-quick 4 3
Model Formulation: A Minimization 30
Decision Variables:
x1 = bags of Super-gro
x2 = bags of Crop-quick
Model Constraints:
2x1 + 4x2 16 lb (nitrogen constraint)
4x1 + 3x2 24 lb (phosphate constraint)
x1, x2 0 (non-negativity constraint)
Model Formulation: A Minimization 31
Complete Model: