Definition of Linear Programming Problem
Definition 1
A linear programming problem, shortly referred to as LP, is an optimization problem that is linear in both its objective function and constraints. Simply put, a linear problem looks to find for which the objective function , given vectors , is and for given matrices and , it satisfies while optimizing the function value of . It is generally represented as follows. In such problems, any solution that meets the constraint conditions is called a Feasible Solution, among which the one that maximizes or minimizes the objective function is known as the Optimal Solution.
- means transpose.
- Optimization refers to either maximization or minimization.
Explanation
Definition
The term linear is aptly named because both the objective function and constraints involved are linear. This means that the equations do not contain squared terms, logarithms, or any other form of nonlinear functions, and the constraints must also be in the form of (in)equality matrix expressions. This contrasts with problems expressed in equalities primarily dealt with in [Matrix Algebra](../../categories/Linear Algebra), [Linear Algebra](../../categories/Linear Algebra).
Program here does not refer to computer applications as we commonly understand, but rather to schedules or tasks. In practical applications of linear programming, each variable can represent various elements such as time, energy, resources, etc.
For example, in economics or business management, maximizing these elements would likely correspond to utility, while minimizing them pertains to costs. If it involves creating an optimal work schedule by allocating employees with varying efficiencies and work hours to certain tasks, linear programming would be the foremost method to consider.
Examples 2
Let’s consider the linear problem as mentioned above. While it may seem complicated at first glance due to the five conditions, the variables involved are only and . When these are plotted on a -dimensional plane, the following illustration shows the region that satisfies the conditions.
All points within this region are feasible solutions, as they, at a minimum, meet the constraint conditions. The goal is to find the point among these where the objective function is maximized. Geometrically, this is where the line of feasible solutions intersects in such a way that is maximized, or in other words, the point where the -intercept of the line is the greatest.
The actual solution to this example is such that is met by . Interestingly, this solution might feel familiar. If one has gone through the standard educational curriculum, they might have encountered similar problems around their first year of high school. Thus, the basic idea behind this is simple enough that even students just graduated from middle school could grasp it. The term ’linear’ itself indicates that, regardless of how the solution is derived, the concept is straightforward.