SOLVE LP
THROUGH
GRAPHICAL
REPRESENTATION
AND EXCEL
SOLVER
BUSINESS ANALYTICS FOR OPTIMAL
PERFORMANCE
ARPEE
C. ARRUEJO,
MIT
Linear Programming
Back to
Topics
SOLUTIONS
GRAPH
A graphicalmethod involvesformulating a set of linear
inequalitiessubject tothe constraints.
Example: Problem
Back to
Topics
A farmer has recently acquired an 110 hectares piece of land. He has decided to grow Wheat and
barley on that land. Due to the quality of the sun and the region’s excellent climate, the entire
production of Wheat and Barley can be sold. He wants to know how to plant each variety in the 110
hectares, given the costs, net profits and labor requirements according to the data shown below:
The farmer has a budget of US$10,000 and an availability of 1,200 man-days during the planning
horizon. Find the optimal solution and the optimal value.
Example: Solution
Back to
Topics
A. Formulation of Linear Problem
Step 1: Identify the decision variables
The total area for growing Wheat = X (in hectares)
The total area for growing Barley = Y (in hectares)
X and Y are my decision variables.
Example: Solution
Back to
Topics
Step 2: Write the objective function
Since the production from the entire land can be sold in the
market. The farmer would want to maximize the profit for his
total produce. We are given net profit for both Wheat and
Barley. The farmer earns a net profit of US$50 for each
hectare of Wheat and US$120 for each Barley.
Our objective function (given by Z) is,
Max Z = 50X + 120Y
Example: Solution
Back to
Topics
Step 3: Writing the constraints
• 100X + 200Y ≤ 10,000
• 10X + 30Y ≤ 1200
• X + Y ≤ 110
Example: Solution
Back to
Topics
Step 4: The non-negativity restriction
The values of X and Y will be greater than or equal to 0. This
goes without saying.
X ≥ 0, Y ≥ 0
Example: Graphical
Method
Back to
Topics
• 100X + 200Y ≤ 10,000 can
be simplified to X + 2Y ≤ 100
by dividing by 100.
• 10X + 30Y ≤ 1200 can be
simplified to X + 3Y ≤ 120 by
dividing by 10.
• The third equation is in its
simplified form, X + Y ≤ 110.
Example: Graphical
Method
Back to
Topics
• To maximize profit the
farmer should produce
Wheat and Barley in 60
hectares and 20 hectares
of land respectively.
• The maximum profit the
company will gain is,
Max Z = 50 * (60) + 120 * (20)
Example
Back to
Topics

More Related Content

PDF
Extract information from pie
DOCX
Operations research: An Introduction to Management Science, Quantative Appro...
DOCX
Case study
PPTX
3.3.33
PPTX
Alg lesson 12
PPTX
Break even point
PPTX
Lesson 2
PDF
Functions in Economics Part-I.pdf
Extract information from pie
Operations research: An Introduction to Management Science, Quantative Appro...
Case study
3.3.33
Alg lesson 12
Break even point
Lesson 2
Functions in Economics Part-I.pdf

What's hot (15)

PPTX
Applications of calculus in commerce and economics
PPTX
Set theory - Number of Elements 2
PPT
Advanced Functions 12
DOCX
Math my p
PDF
Application of Functions in Business and Economics
PDF
Functions in Economics Part II.pdf
PPTX
Applications of calculus in commerce and economics ii
PPT
Ch20
DOC
tugas linier
PDF
7th math c2 -l61
PPT
Chapter1.8
PPT
PDF
Ch01 23
PDF
Break even point
PDF
BOOTH Algorithm for Multiplication
Applications of calculus in commerce and economics
Set theory - Number of Elements 2
Advanced Functions 12
Math my p
Application of Functions in Business and Economics
Functions in Economics Part II.pdf
Applications of calculus in commerce and economics ii
Ch20
tugas linier
7th math c2 -l61
Chapter1.8
Ch01 23
Break even point
BOOTH Algorithm for Multiplication
Ad

Similar to LP formulation and solution (20)

PPTX
LPP-GRAPHICAL METHOD for Everybodys.pptx
PPTX
Introduction to Operations Research/ Management Science
PPTX
session 3 OR_L1.pptx
PPT
LPP Graphical.ppt
PPT
Linear Programming problems Graphical Method.ppt
PPTX
Alg II Unit 3-4-linear programingintro
PPTX
Chapter 3 linear programming
PPTX
MFCS2-Module1.pptx
PPTX
Linear Programming
PPT
A geometrical approach in Linear Programming Problems
PPTX
PDF
Topic23_3p3_Galvin_2017_shortlinearp.pdf
PPTX
performance management and Resource optimization part-2.pptx
PPTX
Operation reasearch
PPTX
Operation Research
PPT
1.Operations Research.ppt
PPSX
Mb 106 quantitative techniques 3
PPTX
3.4 Linear Programming
PPSX
Lecture: Introduction to Linear Programming for Natural Resource Economists a...
PPTX
Flair furniture LPP problem
LPP-GRAPHICAL METHOD for Everybodys.pptx
Introduction to Operations Research/ Management Science
session 3 OR_L1.pptx
LPP Graphical.ppt
Linear Programming problems Graphical Method.ppt
Alg II Unit 3-4-linear programingintro
Chapter 3 linear programming
MFCS2-Module1.pptx
Linear Programming
A geometrical approach in Linear Programming Problems
Topic23_3p3_Galvin_2017_shortlinearp.pdf
performance management and Resource optimization part-2.pptx
Operation reasearch
Operation Research
1.Operations Research.ppt
Mb 106 quantitative techniques 3
3.4 Linear Programming
Lecture: Introduction to Linear Programming for Natural Resource Economists a...
Flair furniture LPP problem
Ad

More from Arpee Callejo (13)

PDF
Linkages - Level 3 tPhase 2 Survey Visit- University of Northern Philippines
PPTX
Excel solver
PPTX
Introduction to database
PDF
How to Create Powerful Presentations
PPTX
Microsoft PowerPoint 2013
PPTX
SUPPLY CHAIN MANAGEMENT UNIVERSITY OF NORTHERN PHILIPPINES, AN ACADEMIC INSTI...
PPTX
PARAMETER PASSING MECHANISMS
PPTX
Effects of globalization to e commerce
DOCX
Chapter 1-3
PPTX
PENSHOPPE-Adv.comp101
PPTX
PENSHOPPE [autosaved]
PPTX
Iphone 6 plus ad
PPTX
Android & IOS
Linkages - Level 3 tPhase 2 Survey Visit- University of Northern Philippines
Excel solver
Introduction to database
How to Create Powerful Presentations
Microsoft PowerPoint 2013
SUPPLY CHAIN MANAGEMENT UNIVERSITY OF NORTHERN PHILIPPINES, AN ACADEMIC INSTI...
PARAMETER PASSING MECHANISMS
Effects of globalization to e commerce
Chapter 1-3
PENSHOPPE-Adv.comp101
PENSHOPPE [autosaved]
Iphone 6 plus ad
Android & IOS

Recently uploaded (20)

PDF
Votre score augmente si vous choisissez une catégorie et que vous rédigez une...
PPTX
ai agent creaction with langgraph_presentation_
PPTX
DS-40-Pre-Engagement and Kickoff deck - v8.0.pptx
PPT
DU, AIS, Big Data and Data Analytics.ppt
PPTX
MBA JAPAN: 2025 the University of Waseda
PDF
A biomechanical Functional analysis of the masitary muscles in man
PPTX
Tapan_20220802057_Researchinternship_final_stage.pptx
PPT
PROJECT CYCLE MANAGEMENT FRAMEWORK (PCM).ppt
PPT
statistics analysis - topic 3 - describing data visually
PPTX
Copy of 16 Timeline & Flowchart Templates – HubSpot.pptx
PPTX
Lesson-01intheselfoflifeofthekennyrogersoftheunderstandoftheunderstanded
PPTX
1 hour to get there before the game is done so you don’t need a car seat for ...
PPTX
New ISO 27001_2022 standard and the changes
PPT
Image processing and pattern recognition 2.ppt
PDF
REAL ILLUMINATI AGENT IN KAMPALA UGANDA CALL ON+256765750853/0705037305
PPTX
CHAPTER-2-THE-ACCOUNTING-PROCESS-2-4.pptx
PDF
Navigating the Thai Supplements Landscape.pdf
PPTX
chuitkarjhanbijunsdivndsijvndiucbhsaxnmzsicvjsd
PPTX
statsppt this is statistics ppt for giving knowledge about this topic
PDF
CS3352FOUNDATION OF DATA SCIENCE _1_MAterial.pdf
Votre score augmente si vous choisissez une catégorie et que vous rédigez une...
ai agent creaction with langgraph_presentation_
DS-40-Pre-Engagement and Kickoff deck - v8.0.pptx
DU, AIS, Big Data and Data Analytics.ppt
MBA JAPAN: 2025 the University of Waseda
A biomechanical Functional analysis of the masitary muscles in man
Tapan_20220802057_Researchinternship_final_stage.pptx
PROJECT CYCLE MANAGEMENT FRAMEWORK (PCM).ppt
statistics analysis - topic 3 - describing data visually
Copy of 16 Timeline & Flowchart Templates – HubSpot.pptx
Lesson-01intheselfoflifeofthekennyrogersoftheunderstandoftheunderstanded
1 hour to get there before the game is done so you don’t need a car seat for ...
New ISO 27001_2022 standard and the changes
Image processing and pattern recognition 2.ppt
REAL ILLUMINATI AGENT IN KAMPALA UGANDA CALL ON+256765750853/0705037305
CHAPTER-2-THE-ACCOUNTING-PROCESS-2-4.pptx
Navigating the Thai Supplements Landscape.pdf
chuitkarjhanbijunsdivndsijvndiucbhsaxnmzsicvjsd
statsppt this is statistics ppt for giving knowledge about this topic
CS3352FOUNDATION OF DATA SCIENCE _1_MAterial.pdf

LP formulation and solution

  • 1. SOLVE LP THROUGH GRAPHICAL REPRESENTATION AND EXCEL SOLVER BUSINESS ANALYTICS FOR OPTIMAL PERFORMANCE ARPEE C. ARRUEJO, MIT
  • 2. Linear Programming Back to Topics SOLUTIONS GRAPH A graphicalmethod involvesformulating a set of linear inequalitiessubject tothe constraints.
  • 3. Example: Problem Back to Topics A farmer has recently acquired an 110 hectares piece of land. He has decided to grow Wheat and barley on that land. Due to the quality of the sun and the region’s excellent climate, the entire production of Wheat and Barley can be sold. He wants to know how to plant each variety in the 110 hectares, given the costs, net profits and labor requirements according to the data shown below: The farmer has a budget of US$10,000 and an availability of 1,200 man-days during the planning horizon. Find the optimal solution and the optimal value.
  • 4. Example: Solution Back to Topics A. Formulation of Linear Problem Step 1: Identify the decision variables The total area for growing Wheat = X (in hectares) The total area for growing Barley = Y (in hectares) X and Y are my decision variables.
  • 5. Example: Solution Back to Topics Step 2: Write the objective function Since the production from the entire land can be sold in the market. The farmer would want to maximize the profit for his total produce. We are given net profit for both Wheat and Barley. The farmer earns a net profit of US$50 for each hectare of Wheat and US$120 for each Barley. Our objective function (given by Z) is, Max Z = 50X + 120Y
  • 6. Example: Solution Back to Topics Step 3: Writing the constraints • 100X + 200Y ≤ 10,000 • 10X + 30Y ≤ 1200 • X + Y ≤ 110
  • 7. Example: Solution Back to Topics Step 4: The non-negativity restriction The values of X and Y will be greater than or equal to 0. This goes without saying. X ≥ 0, Y ≥ 0
  • 8. Example: Graphical Method Back to Topics • 100X + 200Y ≤ 10,000 can be simplified to X + 2Y ≤ 100 by dividing by 100. • 10X + 30Y ≤ 1200 can be simplified to X + 3Y ≤ 120 by dividing by 10. • The third equation is in its simplified form, X + Y ≤ 110.
  • 9. Example: Graphical Method Back to Topics • To maximize profit the farmer should produce Wheat and Barley in 60 hectares and 20 hectares of land respectively. • The maximum profit the company will gain is, Max Z = 50 * (60) + 120 * (20)

Editor's Notes

  • #3: Then the inequalities are plotted on a X-Y plane. Once we have plotted all the inequalities on a graph the intersecting region gives us a feasible region. The feasible region explains what all values our model can take. And it also gives us the optimal solution.
  • #5: To solve this problem, first we gonna formulate our linear program. Formulation of Linear Problem
  • #6: To solve this problem, first we gonna formulate our linear program. Formulation of Linear Problem
  • #7: Step 3: Writing the constraints  1. It is given that the farmer has a total budget of US$10,000. The cost of producing Wheat and Barley per hectare is also given to us. We have an upper cap on the total cost spent by the farmer. So our equation becomes: 100X + 200Y ≤ 10,000  2. The next constraint is, the upper cap on the availability on the total number of man-days for planning horizon. The total number of man-days available are 1200. As per the table, we are given the man-days per hectare for Wheat and Barley. 10X + 30Y ≤ 1200 3. The third constraint is the total area present for plantation. The total available area is 110 hectares. So the equation becomes, X + Y ≤ 110
  • #8: Step 3: Writing the constraints  1. It is given that the farmer has a total budget of US$10,000. The cost of producing Wheat and Barley per hectare is also given to us. We have an upper cap on the total cost spent by the farmer. So our equation becomes: 100X + 200Y ≤ 10,000  2. The next constraint is, the upper cap on the availability on the total number of man-days for planning horizon. The total number of man-days available are 1200. As per the table, we are given the man-days per hectare for Wheat and Barley. 10X + 30Y ≤ 1200 3. The third constraint is the total area present for plantation. The total available area is 110 hectares. So the equation becomes, X + Y ≤ 110
  • #9: Step 3: Writing the constraints  100X + 200Y ≤ 10,000  10X + 30Y ≤ 1200 X + Y ≤ 110 Since we know that X, Y ≥ 0. We will consider only the first quadrant. To plot for the graph for the above equations, first I will simplify all the equations. 100X + 200Y ≤ 10,000 can be simplified to X + 2Y ≤ 100 by dividing by 100. 10X + 30Y ≤ 1200 can be simplified to X + 3Y ≤ 120 by dividing by 10. The third equation is in its simplified form, X + Y ≤ 110. Plot the first 2 lines on a graph in first quadrant (like shown below) The optimal feasible solution is achieved at the point of intersection where the budget & man-days constraints are active. This means the point at which the equations X + 2Y ≤ 100 and X + 3Y ≤ 120 intersect gives us the optimal solution. The values for X and Y which gives the optimal solution is at (60,20). To maximize profit the farmer should produce Wheat and Barley in 60 hectares and 20 hectares of land respectively. The maximum profit the company will gain is, Max Z = 50 * (60) + 120 * (20) =  US$5400
  • #10: Plot the first 2 lines on a graph in first quadrant (like shown below) The optimal feasible solution is achieved at the point of intersection where the budget & man-days constraints are active. This means the point at which the equations X + 2Y ≤ 100 and X + 3Y ≤ 120 intersect gives us the optimal solution. The values for X and Y which gives the optimal solution is at (60,20). To maximize profit the farmer should produce Wheat and Barley in 60 hectares and 20 hectares of land respectively. The maximum profit the company will gain is, Max Z = 50 * (60) + 120 * (20) =  US$5400
  • #11: Step 9: Once the model is saved click on Data tab then click solve. The optimal solution and values are displayed in the corresponding cells. The optimal minimum cost is US$0.90. Sara should consume 3 units of Food Item 2 and 1 unit of Food Item 3 for the required nutrient content at the minimum cost. This is solves our linear program.