Docsity

Linear Programming Problem: Maximizing Profit in Juice Production, Assignments of Production and Operations Management

Toggle sidebar
bg1
Assignment 09 LP Problem Dr. Stafford MSC 600 Spring 2005 Page 2
PROBLEM FORMULATION: Maximizing Profit
! LP PROBLEM: JUICE COMPANY MIXING PROBLEM
!
MAXIMIZE PROFIT
ST
! LET OJ_RAW, GF_RAW, AND PA_RAW BE THE QUARTS OF RAW FRUIT JUICES ACTUALLY USED
! IN NEXT MONTH'S PRODUCTION
! THESE CONSTRAINTS ACCOUNT FOR THE USAGE OF THE THREE RAW JUICES ACTUALLY USED
!
OJ_FLOW) OJ + OJIN_ALL - OJ_RAW = 0
GF_FLOW) GF + GFIN_ALL - GF_RAW = 0
PA_FLOW) PA + PAIN_ALL - PA_RAW = 0
!
! THESE NEXT CONSTRAINTS INSURE THAT ALL_IN_1 IS MADE UP OF EQUAL PARTS
! {THIRDS} OF EACH OF THE THREE RAW JUICES
!
OJIN_ALL) 3 OJIN_ALL - ALL_IN_1 = 0
GFIN_ALL) 3 GFIN_ALL - ALL_IN_1 = 0
PAIN_ALL) 3 PAIN_ALL - ALL_IN_1 = 0
!
! THIS NEXT CONSTRAINT IS REDUNDANT - - IT ACCOUNTS FOR ALL INPUTS TO ALL-IN-ONE
!
ALL_IN_1) ALL_IN_1 - OJIN_ALL - GFIN_ALL - PAIN_ALL = 0
!
! THESE NEXT CONSTRAINTS SET THE UPPER LIMITS ON RAW JUICES THAT CAN BE USED IN
! PRODUCTION. NOTE WE CONVERT FROM GALLONS TO QUARTS TO BE COMPATIBLE WITH OTHER
CONSTRAINTS
!
OJ_RAW) OJ_RAW < 1600
GF_RAW) GF_RAW < 1200
PA_RAW) PA_RAW < 800
!
! THESE NEXT CONSTRAINTS ARE ACTUALLY FUNCTIONS TO COMPUTE PROFIT, COST, AND REVENUE
!
COST) COST - 0.50 OJ_RAW - 0.40 GF_RAW - 0.35 PA_RAW = 0
REVENUE) REVENUE - 1.00 OJ - 0.80 PA - 0.90 GF - 1.10 ALL_IN_1 = 0
PROFIT) PROFIT - REVENUE + COST = 0
!
! THESE LAST TWO CONSTRAINTS TAKE CARE OF THE PRODUCT MIX REQUIREMENTS
!
T_QUARTS) T_QUARTS - OJ - GF - PA - ALL_IN_1 = 0
GF_MIX) GF - .30 T_QUARTS < 0
5 OJ - 7 PA > 0
END
pf3
pf4
pf5
pf8

Partial preview of the text

Download Linear Programming Problem: Maximizing Profit in Juice Production and more Assignments Production and Operations Management in PDF only on Docsity!

PROBLEM FORMULATION : Maximizing Profit

! LP PROBLEM: JUICE COMPANY MIXING PROBLEM

MAXIMIZE PROFIT

ST

! LET OJ_RAW, GF_RAW, AND PA_RAW BE THE QUARTS OF RAW FRUIT JUICES ACTUALLY USED

! IN NEXT MONTH'S PRODUCTION

! THESE CONSTRAINTS ACCOUNT FOR THE USAGE OF THE THREE RAW JUICES ACTUALLY USED

OJ_FLOW) OJ + OJIN_ALL - OJ_RAW = 0

GF_FLOW) GF + GFIN_ALL - GF_RAW = 0

PA_FLOW) PA + PAIN_ALL - PA_RAW = 0

! THESE NEXT CONSTRAINTS INSURE THAT ALL_IN_1 IS MADE UP OF EQUAL PARTS

! {THIRDS} OF EACH OF THE THREE RAW JUICES

OJIN_ALL) 3 OJIN_ALL - ALL_IN_1 = 0

GFIN_ALL) 3 GFIN_ALL - ALL_IN_1 = 0

PAIN_ALL) 3 PAIN_ALL - ALL_IN_1 = 0

! THIS NEXT CONSTRAINT IS REDUNDANT - - IT ACCOUNTS FOR ALL INPUTS TO ALL-IN-ONE

ALL_IN_1) ALL_IN_1 - OJIN_ALL - GFIN_ALL - PAIN_ALL = 0

! THESE NEXT CONSTRAINTS SET THE UPPER LIMITS ON RAW JUICES THAT CAN BE USED IN

! PRODUCTION. NOTE WE CONVERT FROM GALLONS TO QUARTS TO BE COMPATIBLE WITH OTHER

CONSTRAINTS

OJ_RAW) OJ_RAW < 1600

GF_RAW) GF_RAW < 1200

PA_RAW) PA_RAW < 800

! THESE NEXT CONSTRAINTS ARE ACTUALLY FUNCTIONS TO COMPUTE PROFIT, COST, AND REVENUE

COST) COST - 0.50 OJ_RAW - 0.40 GF_RAW - 0.35 PA_RAW = 0

REVENUE) REVENUE - 1.00 OJ - 0.80 PA - 0.90 GF - 1.10 ALL_IN_1 = 0

PROFIT) PROFIT - REVENUE + COST = 0

! THESE LAST TWO CONSTRAINTS TAKE CARE OF THE PRODUCT MIX REQUIREMENTS

T_QUARTS) T_QUARTS - OJ - GF - PA - ALL_IN_1 = 0

GF_MIX) GF - .30 T_QUARTS < 0

5 OJ - 7 PA > 0

END

SOLUTION #1: OPTIMAL SOLUTION: Maximizing Profits

REDUCED

SLACK OR DUAL

SLACK OR

SOLUTION #3: OPTIMAL SOLUTION: Maximizing Profits

This solution spells out all the parts of a profit function so we can do sensitivity analyses on the selling prices and on the cost of the raw materials.

The alternate objective function to solution 1 is:

MAXIMIZE 1.00 OJ + 0.80 PA + 0.90 GF + 1.10 ALL_IN_

  • 0.50 OJ_RAW - 0.40 GF_RAW - 0.35 PA_RAW

Subject to same constraints as in Solution

OBJ FN VALUE: 2240.

REDUCED SLACK OR DUAL

VARIABLE VALUE COST ROW SURPLUS PRICES

OJ 800.00 0.00 OJ_FLOW) 0.00 1.

PA 0.00 0.60 GF_FLOW) 0.00 0.

GF 400.00 0.00 PA_FLOW) 0.00 1.

ALL_IN_1 2400.00 0.00 OJIN_ALL) 0.00 -0.

OJ_RAW 1600.00 0.00 GFIN_ALL) 0.00 -0.

GF_RAW 1200.00 0.00 PAIN_ALL) 0.00 -0.

PA_RAW 800.00 0.00 ALL_IN_1) 0.00 0.

OJIN_ALL 800.00 0.00 OJ_RAW) 0.00 0.

GFIN_ALL 800.00 0.00 GF_RAW) 0.00 0.

PAIN_ALL 800.00 0.00 PA_RAW) 0.00 1.

COST 1560.00 0.00 COST) 0.00 0.

REVENUE 3800.00 0.00 REVENUE) 0.00 0.

PROFIT 2240.00 0.00 PROFIT) 0.00 0.

T_QUARTS 3600.00 0.00 T_QUARTS) 0.00 0.

GF_MIX) 680.00 0.

OJ_TO_PA) 4000.00 0.

RANGES IN WHICH THE BASIS IS UNCHANGED:

OBJ COEFFICIENT RANGES

CURRENT ALLOWABLE ALLOWABLE

VARIABLE COEF INCREASE DECREASE

OJ 1.000000 0.60 0.

PA 0.800000 0.60 INFINITY

GF 0.900000 0.60 0.

ALL_IN_1 1.100000 INFINITY 0.

OJ_RAW -0.500000 INFINITY 0.

GF_RAW -0.400000 INFINITY 0.

PA_RAW -0.350000 INFINITY 1.

OJIN_ALL 0.000000 INFINITY 0.

GFIN_ALL 0.000000 INFINITY 0.

PAIN_ALL 0.000000 INFINITY 0.

COST 0.000000 INFINITY 1.

REVENUE 0.000000 INFINITY 0.

PROFIT 0.000000 INFINITY 1.

T_QUARTS 0.000000 INFINITY 0.

KEY: Homework Quiz 11 on Assignment 9: Juice LP Problem

Dr. Stafford MSC 600 Spring 2005 Version A {white}

Answer Item Question and Explanation

B 1

What is the profit for the optimal solution to this problem?

PROFIT variable = 2240. B

C 2

How many total quarts of product {all three juices plus All-in-One} are to be made under the optimal production plan?

T_QUARTS variable = 3600. C

H 3

How many quarts of pure Pineapple Juice should be bottled?

PA variable = 0.00 H

F 4

How many quarts of raw Orange Juice were used to make the All-in-One bottled?

OJIN_ALL VARIABLE = 800 {1/3 of 2400 quarts} F

G 5

How many quarts of pure Grapefruit Juice should be bottled?

GF variable = 400. G

D 6

What is the gross revenue under the optimal plan?

REVENUE variable = 3800 D

Below what price per quart would All-in-One stop being a competitive product? {If All-in-One is not competitive under current conditions, place an X in the space provided .}

A little obscure since profit{all} not in objective function. Current value is $1.10. In ranging, it can go down by 0.20. $1.10 = 0.20 = $0.90. This checks out no matter how you write the objective function. We see it in Solution #1 in the following item ALL_IN_1 0.00 INFINITY 0. With solution #3, in which we use the output variables directly in the objective function, we see it in ranging on this variable: ALL_IN_1 1.100000 INFINITY 0. Since this was so obscure, no points were taken off unless you put $1.10, or guessed at all answers.

What percent of the total product mix is Grapefruit Juice under the “maximize profits” scenario? {round to nearest 0.1 %}

GF = 400 out of 3600 total. 400/3600 = 1/9 = 11.1 %

T 9

{T/O} As structured in class, this problem would result in zero cost under the “minimize costs” scenario.

There is nothing to force us to make any juice whatsoever if we are minimizing costs. Therefore cost would go to $0.00. T

T 10

{T/O} When we maximize revenues instead of profits, the amounts of the four products bottles remain the same as their values under the “maximize profits” scenario.

Look at the two solutions - - max revenue vs max profits. The amounts of all variables

are identical in both solution scenarios. T

KEY: Homework Quiz 11 on Assignment 9: Juice LP Problem

Dr. Stafford MSC 600 Spring 2005 Version BA {green}

Answer Item Question and Explanation

D 1

What is the gross revenue under the optimal plan?

REVENUE variable = 3800 D

G 2

How many quarts of pure Grapefruit Juice should be bottled?

GF variable = 400. G

E 3

How many quarts of All-in-One Juice should be bottled?

ALL_IN_1 variable = 2400.00 E

B 4

What is the profit for the optimal solution to this problem?

PROFIT variable = 2240. B

C 5

How many total quarts of product {all three juices plus All-in-One} are to be made under the optimal production plan?

T_QUARTS variable = 3600. C

F 6

How many quarts of raw Orange Juice were used to make the All-in-One bottled?

OJIN_ALL VARIABLE = 800 {1/3 of 2400 quarts} F

T 7

{T/O} When we maximize revenues instead of profits, the amounts of the four products bottles remain the same as their values under the “maximize profits” scenario.

Look at the two solutions - - max revenue vs max profits. The amounts of all variables

are identical in both solution scenarios. T

T 8

{T/O} As structured in class, this problem would result in zero cost under the “minimize costs” scenario.

There is nothing to force us to make any juice whatsoever if we are minimizing costs. Therefore cost would go to $0.00. T

What percent of the total product mix is Grapefruit Juice under the “maximize profits” scenario? {round to nearest 0.1 %}

GF = 400 out of 3600 total. 400/3600 = 1/9 = 11.1 %

Below what price per quart would All-in-One stop being a competitive product? {If All-in-One is not competitive under current conditions, place an X in the space provided .}

A little obscure since profit{all} not in objective function. Current value is $1.10. In ranging, it can go down by 0.20. $1.10 = 0.20 = $0.90. This checks out no matter how you write the objective function. We see it in Solution #1 in the following item

ALL_IN_1 0.00 INFINITY 0.

With solution #3, in which we use the output variables directly in the objective function, we see it in ranging on this variable:

ALL_IN_1 2400.00 0.

Since this was so obscure, no points were taken off unless you put $1.10, or guessed at all answers.