1. Introduction to Linear Programming

Linear programming is a mathematical optimization technique used to allocate limited resources among competing activities in the best possible way. It solves the fundamental economic problem of scarcity by providing a systematic method for maximizing profits or minimizing costs. The process involves translating a real-world decision problem into a mathematical model with a specific, highly structured format.

Definition of Linear Programming (LP)

Linear programming is a specific class of mathematical optimization where both the objective and the constraints are strictly linear functions. The term "linear" refers to the direct proportional relationship between the variables involved. The term "programming" does not refer to computer coding. It refers instead to planning or scheduling activities. This technique was developed during World War II to solve complex military logistics problems efficiently. It provides a deterministic framework for finding the absolute best outcome under a given set of restrictions. The core goal is always to optimize a single measurable quantity. This quantity could be revenue, cost, time, or distance. By mapping out all possible choices mathematically, linear programming guarantees that the selected solution is mathematically optimal. A typical example involves a factory manager deciding exactly how many units of two different products to manufacture to achieve the highest possible profit.

Characteristics of LP

The field recognizes six primary characteristics that define a linear programming problem. Objective Function Presence. Every LP model must have a clearly defined mathematical objective. This objective is either to maximize a quantity like profit or minimize a quantity like cost. Without a specific target to optimize, the mathematical procedure has no direction to follow. The objective function provides the singular criterion against which all possible solutions are evaluated. For example, a company might seek to maximize its total revenue from selling two different products, requiring a clear mathematical statement of that goal. Structural Constraints. An LP problem is always bounded by limitations on resources or operational conditions. These constraints represent real-world restrictions such as limited machine hours, available raw materials, or labor capacity. They form the boundaries within which the optimal solution must be found. If a problem has no constraints, the solution would be infinite, which is practically impossible. A concrete example is a factory having a maximum of 40 hours of labor available per week. Non-negativity of Variables. The decision variables in an LP model cannot take negative values. This characteristic reflects the physical reality of most business and economic problems. A factory cannot produce a negative number of chairs, and a diet cannot contain a negative amount of vitamins. All variables must be greater than or equal to zero. This restricts the mathematical search space to the first quadrant of a Cartesian coordinate system. Finiteness of Alternatives. The number of decision variables and constraints must be finite. A linear programming model cannot process an infinite number of resource restrictions or product choices. This finite structure ensures that the mathematical algorithms can eventually reach a conclusion. If the parameters were infinite, the computational process would never terminate. For instance, a model might evaluate exactly three products and four machine centers, keeping the problem bounded. Mathematical Linearity. Every relationship in the model must be strictly linear. This applies to both the objective function and the constraints. There are no exponents, no multiplication of variables together, and no logarithmic functions. The graph of these relationships will always produce straight lines or flat planes. An example is the cost function C=5x+10yC = 5x + 10yC=5x+10y, which increases at a constant rate without curving. Deterministic Nature. All coefficients and parameters in the model are assumed to be known with absolute certainty. There is no probability or randomness involved in the formulation. The profit per unit, the resource availability, and the consumption rates are treated as fixed constants. If a product requires exactly 2 hours of labor, this value does not fluctuate. This characteristic distinguishes LP from stochastic programming models where parameters carry variance.