Linear Programming Exam Questions
Linear Programming Exam Questions
Neglecting the strong duality theorem—where primal and dual optimal solutions yield the same objective value—can lead to incorrect assessments of solution quality and potentially missed optimal solutions. In Source 1, relying solely on primal without dual verification might miss constraints binding at optimality or errors in calculations that duality checks can expose . For example, using only primal optimization might suggest feasible solutions under weak conditions, whereas checking dual consistency can highlight optimal setting errors, emphasizing gaps in solution verification.
Adding the constraint x1 + x2 ≤ 8 can potentially alter the optimal solution by reducing the feasible region. Originally, the optimal solution was (x1, x2) = (5, 4), where their sum was 9, exceeding the new upper limit. This necessitates a reevaluation such that the new feasible corner points satisfy all constraints, including x1 + x2 ≤ 8. One likely outcome is verifying remaining feasible corner solutions within or on the boundary of the reduced feasible region . Subsequently, solving for an intersection of binding constraints could yield a new optimal solution within this adjusted region.
Changes in c1, the coefficient of x1 in the objective function, affect the optimal solution by modifying the weight of x1's contribution to the objective's value. Sensitivity analysis helps determine a range within which the current basis stays optimal. This range ensures no changes are necessary to the basic feasible solution. Within this range, adjustments in c1 do not change the identity of the basic variables nor violate optimal conditions regarding the simplex tableau and reduced costs . Evaluating the dual constraints and primal feasibility ensures within-range changes don’t introduce a better vertex.
Sensitivity analysis examines how the solution changes with respect to changes in parameters, such as constraint bounds. For the given LP, b1 (right hand side of 4x1 + x2 ≤ 24) can only vary within certain bounds without changing the optimal basis. To find this range, one examines where substituting values into the dual simplex tableau keeps the non-negativity condition and satisfies slack variable non-negativity. These inequalities consistently help maintain the optimal tableau form without a need to pivot . Specifically, the range needs computation by preserving feasibility and optimality, likely requiring checking reduced costs and slack conditions.
Complementary slackness states that for each pair of primal and dual constraints, the product of the primal slack and dual variable is zero at optimality, and vice versa. Here, dual optimality with y1 = 0, y2 = 1, y3 = 2 implies the constraints with positive dual variables must be tight in the primal solution . Given this, one verifies that constraint 2 (2x1 - x2 ≤ 7) and constraint 3 (x2 ≤ 3) in the primal must be tight, meaning they hold as equalities at the optimal solution. Using the relationships between primal and dual solutions, x1 and x2 can be solved as the primal solution satisfying these equalities along with the optimal value under constraints.
This situation is explained by the Fundamental Theorem of Alternative which states that for a given system of inequalities, either the system Ax ≥ 0, Ax ≠ 0 has a solution or its alternative system ATy = 0, y > 0 does, but not both. The reason lies in the nature of orthogonality; if there exists a y such that ATy = 0 and y > 0, this implies no nontrivial positive combination of columns of A can result in the zero vector under Ax ≠ 0. Conversely, if such a combination was possible, it would violate the existence of the dual solution y > 0 satisfying ATy = 0 .
The big-M method is used in linear programming to handle constraints by introducing artificial variables with large penalty 'M' to ensure they are non-basic in an optimal solution. For the minimization problem provided, Minimize -x1 - 2x2 + x3 subject to certain constraints, artificial variables are introduced to convert inequalities to equalities which facilitate using the simplex method . Through iterative adjustment, these artificial variables are either driven out of the basis, or if they remain due to being influenced by the large M penalties, they would optimally have zero value, effectively enforcing the constraints while minimizing the objective function.
Point x0 cannot be an optimal solution because if A x0 < b, this indicates that x0 is strictly inside the feasible region without being on the boundary where the optimal solutions typically lie. Moreover, since x0 > 0, all decision variables are positive but do not satisfy the equality necessary for maximizing the objective function under the given constraints. The optimal solution in linear programming is generally found at the boundary of the feasible region where the objective function's value is maximized or minimized .
To set up a simplex tableau, slack variables are introduced to convert inequalities into equalities, allowing the application of the simplex method. For the given problem Max 13x1 + 5x2 subject to constraints, slack variables w1, w2, and w3 are added to each constraint (e.g., 4x1 + x2 + w1 = 24). Their purpose is twofold: they maintain the equality form necessary for the simplex tableau while also providing a measure of how far a solution is from binding the constraint. The tableau then takes the form of an augmented matrix, with columns for each variable and constraint, facilitating row operations until an optimal solution is reached.
The simplex method is an algorithmic approach used for solving linear programming problems. It iteratively moves along the edges of the feasible region defined by the constraints to find the optimal vertex (corner point). In the given example, the problem is to maximize x1 - 2x2 + x3 subject to certain constraints . Using the simplex method, one starts at a feasible solution and shifts from one vertex to another by increasing the objective function value until no further increase is possible. The optimal solution is reached when all the coefficients in the objective function row (except for the pivot column) are negative or zero, implying the maximum is attained according to the problem's constraints.