Linear Programming: Mathematical Modeling, Graphical Solutions, and Special Cases
Fundamentals of Linear Programming
Resource Allocation Context: Management decisions routinely focus on making the most effective and efficient use of scarce, limited resources such as labor, capital, machinery, and raw materials.
Definition of Linear Programming (LP): A widely utilized mathematical modeling technique designed to guide managers in planning, operational scheduling, and decision-making regarding resource allocation.
Primary Purpose: LP serves as an analytical optimization tool engineered to find the maximum or minimum value of a specific quantity subject to operational limitations.
Disciplinary Scope: Linear programming is situated within the broader discipline of mathematical programming, an integral branch of management science and operations research.
Terminology Distinction: In management science, the word programming does not refer to computer programming or software coding; rather, it denotes the mathematical formulation and systematic solving of an operational problem.
Broad Functional Applications of LP:
Accounting: Cost allocation, auditing sample optimization, and budgeting.
Agriculture: Crop rotation, land utilization, and livestock feed blending.
Finance: Portfolio selection, investment asset allocation, and capital budgeting.
Industrial and Manufacturing: Product mix determination, assembly line balancing, and production scheduling.
Marketing: Media selection, advertising budget distribution, and campaign scheduling.
Military Operations: Deployment logistics, supply chain routing, and strategic resource distribution.
Components of the General Optimization Model
Objective Function: The mathematical expression that represents the specific goal to be maximized (such as total profit, revenue, or efficiency) or minimized (such as total production cost, scrap, or transit time).
Decision Variables: The controllable variables that a manager can adjust. The selected numerical values of these variables directly dictate the resulting value of the objective function.
Constraints: Structural restrictions, limitations, or boundaries placed upon the decision variables. Constraints reflect physical, policy, financial, or technological limitations (e.g., maximum available machine hours or minimum production quotas).
Parameters: Fixed numerical constants and coefficients present within both the objective function and the constraints. These define unit resource requirements, unit profits or costs, and total resource availabilities.
Core Requirements and Assumptions of Linear Programming
Four Common Properties of All LP Problems:
Optimization Objective: Every LP problem explicitly seeks to maximize or minimize a specific quantitative measure.
Presence of Constraints: There must be structural limitations that restrict the degree to which the organization can pursue its objective.
Alternative Courses of Action: There must be multiple viable alternatives, production combinations, or variable settings from which management can choose.
Linear Relationships: The objective function and all constraint conditions must be expressed entirely as linear equations or linear inequalities (first-degree relationships with no powers, roots, or product-of-variables terms).
Five Foundational Assumptions of LP:
Certainty: Conditions of complete certainty are assumed. All parameters (coefficients in the objective function, resource consumption rates in constraints, and right-hand side capacity limits) are known with exactness and do not fluctuate during the planning period.
Proportionality: The contribution of each decision variable to the objective function, as well as its consumption of each constrained resource, is directly proportional to the value of that variable. Economies of scale, volume discounts, and setup costs are absent.
Additivity: The total value of the objective function and the total resource utilization in each constraint equal the exact algebraic sum of the individual contributions or resource consumptions resulting from each activity evaluated independently. Synergies and interaction effects do not occur.
Divisibility: Decision variables are continuous rather than restricted to integers. Solution values need not be whole numbers; fractional or decimal units (e.g., producing units) are mathematically valid.
Nonnegativity: All decision variables must assume values greater than or equal to zero (). Negative quantities of goods cannot physically be manufactured or consumed.
Systematic Steps in Formulating Linear Programs
Mathematical Model Development: LP formulation translates a real-world managerial scenario into a structured mathematical representation.
Step 1: Understand the Problem: Develop a complete understanding of the managerial situation, operational context, resource limitations, and organizational objectives.
Step 2: Identify Objectives and Constraints: Pinpoint the single quantity to be optimized (maximization or minimization) and list all restrictions, quotas, and limits that constrain performance.
Step 3: Define Decision Variables: Clearly declare mathematical variables representing the unknown quantities to be determined, specifying their exact units of measure and time intervals.
Step 4: Construct Expressions: Use the defined decision variables to write explicit mathematical expressions for the objective function and all functional constraints, concluding with nonnegativity statements.
Product Mix Formulation: Flair Furniture Company Case Study
Product Mix Context: The product mix problem is among the most widespread LP applications. A firm produces two or more items using shared, limited resources (labor, machinery, materials) and seeks to find the specific production quantity for each item that maximizes total profit contribution.
Case Scenario Details:
The Flair Furniture Company produces two products: inexpensive tables () and chairs ().
Production involves two distinct departments: Carpentry and Painting/Varnishing.
Each table () requires of carpentry and of painting and varnishing.
Each chair () requires of carpentry and of painting and varnishing.
Available resource capacity during the current production period: of carpentry time and of painting/varnishing time.
Profit margins: Each table yields a profit of \\$70, and each chair yields a profit of \\$50.
Operational Resource and Profit Breakdown:
Department | Hours Required per Table () | Hours Required per Chair () | Department Availability |
|---|---|---|---|
Carpentry | |||
Painting and Varnishing | |||
Profit per Unit | \\$70 | \\$50 | — |
Decision Variables Definition:
Complete LP Mathematical Formulation:
Objective Function:
Subject to:
Graphical Solution Methodology: Feasible Region Determination
Conceptual Definitions:
Feasible Region: The set of all possible points that simultaneously satisfy all constraints and sign restrictions in the LP problem.
Optimal Solution (Maximization): A point within the feasible region that yields the largest objective function value.
Optimal Solution (Minimization): A point within the feasible region that yields the smallest objective function value.
Steps to Establish the Feasible Region:
Step 1: Graph All Constraints: Convert each inequality into an equality line and plot it on the coordinate axes.
Step 2: Shade Feasible Half-Spaces: For each constraint, identify the side of the boundary line that satisfies the inequality condition using a test point such as .
Step 3: Identify the Overlapping Area: The intersection of all shaded half-spaces and nonnegativity conditions defines the feasible region.
Graphical Implementation for Flair Furniture:
Nonnegativity Boundaries (): The vertical axis (-axis) represents the boundary line , meaning all valid points must lie to the right (). The horizontal axis (-axis) represents , meaning all valid points must lie above (). The search space is entirely confined to the first quadrant.
Carpentry Constraint ():
Find intercepts for the boundary line :
When , ; intercept is .
When , ; intercept is .
Connecting these points yields the line. Testing gives (true), so the area below and to the left is feasible.
Point verification: Point gives (feasible). Point gives (infeasible).
Painting and Varnishing Constraint ():
Find intercepts for the boundary line :
When , ; intercept is .
When , ; intercept is .
Testing yields (true), meaning the region below and to the left is feasible.
Composite Feasible Region: The intersection forms a four-sided convex polygon bounded by the points , , the boundary intersection, and .

Finding the Optimal Solution: Isoprofit Line Method
Method Concept: An isoprofit line represents every combination of decision variables that yields the exact same total profit. All isoprofit lines for a given LP problem share the identical slope ().
Step-by-Step Procedure:
Step 1: Assume an arbitrary, easily calculated profit figure to begin (e.g., \\$2{,}100).
Step 2: Formulate the line equation: .
Step 3: Calculate the intercepts:
If ,
If ,
Plot the line through and .
Step 4: Select progressively higher profit targets to observe the outward progression:
For \\$2{,}800: and
For \\$3{,}500: and
For \\$4{,}200: and (located entirely outside the feasible region, indicating infeasibility at this profit level)
Step 5: Slide the objective function line in the direction of increasing profit (upward and to the right) while strictly maintaining its slope.
Step 6: Identify the final point within the feasible region that the line touches immediately before leaving the region entirely. That point of tangency is the optimal solution.
Optimal Solution Result: The last contact point occurs at coordinates , which lies on the maximum profit line of \\$4{,}100:

Finding the Optimal Solution: Corner Point Method
Mathematical Foundation: According to the Fundamental Theorem of Linear Programming, an optimal solution to any linear programming problem will always occur at one of the corner points (also referred to as extreme points) of the feasible region.
Corner Point Method Procedure:
Step 1: Graph all constraints and identify the feasible region.
Step 2: Identify the coordinates of every corner point bounding the feasible region.
Step 3: Calculate the objective function value at each corner point.
Step 4: Select the corner point that produces the best value (maximum profit or minimum cost). This is the optimal solution.
Algebraic Intersection Computation for Flair Furniture:
The upper-right extreme point is formed by the intersection of the two binding constraint equations:
Solve simultaneously using elimination:
Multiply equation (2) by :
Subtract equation (3) from equation (1):
Substitute into equation (2):
The intersection point is .
Profit Evaluation at All Feasible Corner Points:
Corner Point | Number of Tables () | Number of Chairs () | Objective Function: |
|---|---|---|---|
Origin | 70(0) + 50(0) = \\$0 | ||
Table Intercept | 70(50) + 50(0) = \\$3{,}500 | ||
Chair Intercept | 70(0) + 50(80) = \\$4{,}000 | ||
Simultaneous Intersection | 70(30) + 50(40) = \\$4{,}100 |
Managerial Conclusion: Producing and per week generates the absolute maximum profit of \\$4{,}100.
Summary Comparison of Graphical Solution Methods
Isoprofit / Isocost Method:
Step 1: Graph all constraints and trace the boundary of the feasible region.
Step 2: Select an arbitrary profit (or cost) level and graph the corresponding linear equation to establish its slope.
Step 3: Translate the line parallel to itself in the direction of increasing profit (or decreasing cost). The last point touched in the feasible region is the optimal solution.
Step 4: Read or compute the coordinates of this final contact point and calculate the optimal objective value.
Corner Point Method:
Step 1: Graph all constraints and find the feasible region.
Step 2: Identify all corner points (vertices) of the feasible region, solving constraint equations simultaneously where lines intersect.
Step 3: Evaluate the objective function at each corner point.
Step 4: Choose the corner point offering the highest value (for maximization) or lowest value (for minimization).
Comprehensive Application: Ali's Woodcarving Company Case Study
Problem Context: Ali's Woodcarving Co. manufactures two lines of wooden toys: soldiers () and trains ().
Revenue and Cost Parameters:
Soldiers: Selling price = \\$27, raw material cost = \\$10, variable labor and overhead cost = \\$14. \text{Unit Profit Contribution for Soldiers} = 27 - (10 + 14) = 27 - 24 = \\$3
Trains: Selling price = \\$21, raw material cost = \\$9, variable labor and overhead cost = \\$10. \text{Unit Profit Contribution for Trains} = 21 - (9 + 10) = 21 - 19 = \\$2
Labor Operations and Weekly Limits:
Two skilled labor crafts are required: finishing and carpentry.
Each soldier requires of finishing labor and of carpentry labor.
Each train requires of finishing labor and of carpentry labor.
Weekly available labor: Ali can acquire all needed raw materials, but has access to only of finishing labor and of carpentry labor per week.
Demand Restrictions:
Demand for trains is completely unlimited.
Market demand for soldiers is limited to a maximum of per week ().
Data Summary Table:
Parameter / Department | Soldiers () | Trains () | Weekly Availability / Limit |
|---|---|---|---|
Finishing Labor | |||
Carpentry Labor | |||
Market Demand | Maximum | Unlimited | (soldiers only) |
Selling Price | \\$27 | \\$21 | — |
Raw Materials Cost | \\$10 | \\$9 | — |
Labor & Overhead Cost | \\$14 | \\$10 | — |
Net Profit per Unit | \\$3 | \\$2 | — |
Linear Programming Formulation:
Decision Variables:
Objective Function:
Constraints:
Evaluation of Feasible Corner Points:
Corner Point 1: (x_1 = 0, x_2 = 0) \implies P = 3(0) + 2(0) = \\$0
Corner Point 2: (x_1 = 40, x_2 = 0) \implies P = 3(40) + 2(0) = \\$120
Corner Point 3: Intersection of and finishing line : Check carpentry: (satisfied). Coordinates: (40, 20) \implies P = 3(40) + 2(20) = 120 + 40 = \\$160
Corner Point 4: Intersection of finishing constraint () and carpentry constraint ():
Subtract equations:
Solve for :
Check demand constraint: (satisfied).
Coordinates: (20, 60) \implies P = 3(20) + 2(60) = 60 + 120 = \\$180
Corner Point 5: (x_1 = 0, x_2 = 80) \implies P = 3(0) + 2(80) = \\$160
Optimal Production Decision: The optimal solution is . Ali maximizes weekly profit at \\$180 by manufacturing and each week.
Special Cases in Linear Programming
The Four Special Anomalies in LP:
No feasible solution (Infeasibility)
Unboundedness
Redundancy
Alternate optimal solutions
Special Case 1: No Feasible Solution (Infeasibility):
Definition: Occurs when no single combination of values for the decision variables satisfies all constraint equations and nonnegativity restrictions simultaneously. The feasible region does not exist (it is empty).
Practical Reality: Frequent in complex organizations when conflicting or overly restrictive operating targets are established by different departments.
Resolution: One or more constraints must be systematically relaxed, adjusted, or eliminated until an overlapping feasible region emerges.
Mathematical Example: Subject to:
Analysis: The first two constraints restrict the upper limit of to at most (when in ). However, the third constraint mandates that . Because cannot simultaneously be less than or equal to and greater than or equal to , the constraint areas do not overlap.

Special Case 2: Unboundedness:
Definition: Occurs when the value of the objective function can be increased (in a maximization model) or decreased (in a minimization model) indefinitely without violating any constraints.
Graphical Appearance: The feasible region is entirely open-ended in the direction of the objective function. The isoprofit line can move infinitely outward without encountering a limiting boundary.
Practical Implication: An unbounded solution virtually always indicates an error in model formulation, such as omitting a vital operational constraint or reversing an inequality sign (e.g., using instead of ).
Mathematical Example: Subject to:
Analysis: As and expand simultaneously toward positive infinity along the boundary ray , the objective value increases toward infinity without violating any constraints.
Special Case 3: Redundancy:
Definition: A redundant constraint is a restriction that does not affect, limit, or alter the feasible solution region.
Operational Impact: Redundant constraints introduce no mathematical errors into the problem, but identifying and eliminating them simplifies the algebraic model and reduces computation time.
Mathematical Example: Subject to:
Analysis: The constraint inherently restricts to a maximum value of when . Consequently, the constraint lies entirely beyond the active boundary and plays no role in defining the feasible region.

Special Case 4: Alternate Optimal Solutions (Multiple Optima):
Definition: Occurs when two or more distinct extreme corner points yield the exact same optimal objective value.
Graphical Condition: Occurs when the slope of the objective function (isoprofit or isocost line) is exactly parallel to the slope of a binding constraint line.
Solution Span: Every point located on the line segment connecting the two optimal corner points is also an optimal solution, yielding an infinite number of alternative optimal operating plans.
Managerial Significance: Multiple optimal solutions offer management significant operational flexibility. Decision-makers can choose among different production schedules to satisfy non-modeled criteria (such as labor stability, storage room, or supplier loyalty) without sacrificing profit.
Mathematical Example: Subject to:
Analysis: The objective function has a slope of , which is identical to the slope of the binding constraint . Evaluating the corner points along this boundary:
Point
Intersection point of and is .
Point
Any point lying on the line segment joining and yields .
Resource Utilization: Slack, Surplus, and Constraint Binding
Mathematical Definitions:
Slack:
Associated with less-than-or-equal-to () constraints, which represent resource availability caps.
Measures the unused or unconsumed amount of a limited resource.
Surplus:
Associated with greater-than-or-equal-to () constraints, which denote minimum requirement specifications.
Measures the amount by which an actual operational outcome exceeds the required minimum standard.
Constraint Classification at the Optimal Solution:
Binding Constraint: A constraint that has a slack or surplus value of zero ( or ) at the optimal solution. The resource is completely consumed, or the exact minimum requirement is met. Binding constraints form the active boundaries that limit further improvement of the objective function.
Nonbinding Constraint: A constraint that has a strictly positive slack or surplus value ( or ) at the optimal solution. Unused capacity remains, or the specification is exceeded. Marginally relaxing a nonbinding constraint has no effect on the optimal solution.
Computational Reporting: LP computer software solvers systematically generate slack and surplus values for all constraints in their standard sensitivity and optimal solution reports.
Worked Example: Constraint Slack in the Flair Furniture Case:
Given the optimal solution: , .
Carpentry Constraint ():
Actual hours consumed (LHS):
Resource limit available (RHS):
Status: Binding constraint. All are exhausted.
Painting and Varnishing Constraint ():
Actual hours consumed (LHS):
Resource limit available (RHS):
Status: Binding constraint. All are exhausted.
Operational Takeaway: Because both constraints are binding, both departments represent operational bottlenecks. To increase total weekly profit above \\$4{,}100, Flair Furniture must acquire additional capacity in both carpentry and painting/varnishing.