r/OperationsResearch • • 6h ago

What is linear programming?

Linear Programming (LP) is a mathematical method used to find the best possible solution to a problem when there are limited resources, while following certain restrictions or conditions.

In simple words: Linear programming helps us maximize profit or minimize cost under given constraints. A simple real-life example Suppose a factory makes two products: Chairs and Tables.

  • Each chair earns ₹500 profit.
  • Each table earns ₹800 profit.
  • The factory has limited labour and wood. The factory wants to decide how many chairs and tables to make to earn the maximum profit.

We use linear programming to find the best combination. The 4 main parts of Linear Programming Term

Meaning

  1. Decision variables:The unknown quantities we need to find (e.g., number of chairs and tables). 2.Objective function What we want to maximize or minimize (e.g., profit). 3.Constraints :Limitations or restrictions (e.g., limited wood or labour). 4.Non-negativity Variables cannot be negative (e.g., we cannot make −5 chairs).
1 Upvotes

0 comments sorted by