
Understanding Basic Linear Programming Formulation: Elements, Problems, and Solutions
Explore the fundamental concepts of Linear Programming (LP), including decision variables, objective functions, constraints, and solutions. Learn how LP is applied in real-world scenarios like Joe's Van Conversion Shop to maximize profits by converting vans into custom types.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
Lecture 2: Basic LP Formulation MCCARL AND SPREEN TEXT CH. 2 HTTP://AGECON2.TAMU.EDU/PEOPLE/FACUL T Y/MCCARL-BRUCE/BOOKS.HTM
Elements of an LP Problem Decision Variables, ?? Level denotes amount undertaken of the respective unknowns n decision variables where j = 1, 2, , n Objective Function, F(X) Linear in form Total objective value, Z ? = ????? ??is the contribution of each ??to the objective function.
Elements of an LP Problem Constraints m different constraints ithconstraint: ??1?1+ ??2?2+ + ????? ?? i = (1, ,m) or ?????? ?? ??is the upper limit or right hand side imposed by the ithconstraint ???is the per unit use of the items in the ith constraint by a unit of ?? Exogenous Parameters ??, ???, and ?? These are the data of an LP problem
Linear Programming Problem The LP problem is to choose ?1,?2, ,??so as to max ?1?1+ ?2?2+ + ???? ?.?. ?11?1+ ?12?2+ + ?1??? ?1 ?21?1+ ?22?2+ + ?2??? ?2 ??1?1+ ??2?2+ + ????? ?? ?1, ?2, , ?? 0
Linear Programming Problem Matrix Notation Max Subject to CTX AX b X 0 X: Vector of decision variables C: Vector of decision variable coefficients A: Matrix of coefficients giving constraint usage by each variable b: Vector of right hand sides of the constraints
Elements of an LP Solution Optimal value for the objective function Optimal values for the decision variables Shadow price or Lagrange Multiplier Estimates of the change in the objective function value induced by changing the ithRHS parameter by one unit ?? ??? (Marginal Value Product of RHS) Marginal value of the change in the ithRHS parameter Reduced Cost Reduction in the objective function value when one unit of ith decision variable that is not in the solution is forced into the solution
Basic LP Application: Joes Van Conversion Shop Joe wishes to maximize profits His shop converts plain vans into custom vans Custom Vans are produced as two grades Fine Vans Fancy Vans Joe must decide how many of each van type to convert Decision Variables: the number to convert by van type Xfancy, Xfine
Basic LP Application: Joes Van Conversion Shop Both types require a $25,000 plain van Fancy vans: conversion cost $10,000 sell for $37,000 profit margin $2,000 Fine vans: conversion cost $6,000 sell for $32,700 profit margin $1,700 Mathematically: Maximize Z = 2000 Xfancy+ 1700 Xfine
Basic LP Application: Joes Van Conversion Shop Labor is a limited resource for Joe Joe s shop employs 7 people to convert vans Joe s shop operates 8 hours per day, 5 days a week Therefore, Joe has at most 280 labor hours available a week A Fancy van takes 25 labor hours A Fine van takes 20 labor hours 25 Xfancy+ 20 Xfine 280
Basic LP Application: Joes Van Conversion Shop Capacity is another limiting resource Joe s shop can work on no more than 12 vans in a week Xfancy+ Xfine 12 Non-Negativity Joe can only convert a non-negative number of vans Xfancy, X fine 0
Basic LP Application: Joes Van Conversion Shop In mathematical formulation, Joe s LP problem is: Maximize 2000 Xfancy+ 1700Xfine s.t. Xfancy+ Xfine 25 Xfancy+ 20 Xfine 280 Xfancy , Xfine 12 0
Basic LP Application: Joes Van Conversion Shop Such a problem can be solved a number of ways The answer is Z=profits= $22,800 Xfancy= 8 Xfine= 4 Have we satisfied our 3 constraints Xfancy+ Xfine= 8 + 4 = 12 12 25 Xfancy+ 20 Xfine= 25 *8 + 20*4 = 280 280 Xfancy, Xfine 0 Uses all of our labor and capacity
Basic LP Application: Joes Van Conversion Shop Shadow prices (aka Lagrange Multiplier) Capacity value = $500 per van Labor value = $60 per hour Definition of shadow price: The change in the objective function value induced by changing the ithRHS parameter by one unit Tells us how much the ithresource is worth in its current application Binding vs. Non-Binding Constraints Why is this important?
Assumptions of LP Attributes of the Model Objective Function Appropriateness Decision Variable Appropriateness Constraint Appropriateness Mathematical Relationship within the Model Proportionality Additivity Divisibility Certainty
Assumptions: Attributes of the Model Objective function Appropriateness Sole criteria for choosing among the feasible values of the decision variables Decision Variable Appropriateness The decision variables (DV) are fully manipulatable within the feasible region and under the control of the decision maker All appropriate DVs have been included in the model
Assumptions: Attributes of the Model Constraint Appropriateness Constraints fully identify the bounds placed on the decision variables Resource availability, technology, etc. Resources used and/or supplied within any single constraint are homogenous items Constraints do not improperly eliminate admissible values of the decision variables Constraints are inviolate
Assumptions: Mathematical Relationships Proportionality The contribution per unit of each variable in the objective function and constraints is assumed a constant times the variable level No economics or diseconomies of scale Example: cjis the return per unit of Xj If Xj=1, the net return from Xjis cj If Xj=100, the net return from Xjis 100*cj Also applies to resource usage (aij) in a constraint Potential Problems
Assumptions: Mathematical Relationships Additivity Contributions of variables to an equation are additive The objective function value is the sum of the individual contributions of each variable Total resource use is the sum of the resource use of each variable across all variables Examples from Joe s Van shop: Objective function: 2000 Xfancy+ 1700Xfine Labor constraint: 25 Xfancy Rules out the possibility of interaction terms in the objective function or the constraints + 20 Xfine
Assumptions: Mathematical Relationships Divisibility Decision variables can take on any non-neg. value Decision variables are continuous Assumption is violated when non-integer values make little sense Decision to construct a building Use Integer Programming instead Certainty All parameters (cj, bi, and aij) are known constants This assumption implies that LP is a non-stochastic model Potential problems Sensitivity analysis
What We Know So Far Matrix and mathematical notations Fundamental uses for LP Basic model formulation Key elements of an LP problem 7 Assumptions of LP Shadow prices and reduced costs
Where We are Going Next Applying what we know to setting up and solving an LP problem In Excel (covered in first lab) Setting up the tableau (Overheads 3)