2.8 MCQs-Linear Programming
Linear Programming
Basic Concepts and Formulation
1. Linear Programming (LP) is a method for:
Solving systems of linear equations
Finding the optimal value of a linear objective function subject to linear constraints
Graphing linear functions
Calculating matrix determinants
Show me the answer
Answer: 2. Finding the optimal value of a linear objective function subject to linear constraints
Explanation: Linear programming is a mathematical optimization technique used to achieve the best outcome (maximum profit, minimum cost, etc.) in a mathematical model whose requirements are represented by linear relationships. The standard form of an LP problem is:
Maximize (or Minimize): z=c1x1+c2x2+⋯+cnxn
Subject to: a11x1+a12x2+⋯+a1nxn≤b1 a21x1+a22x2+⋯+a2nxn≤b2 ⋮ am1x1+am2x2+⋯+amnxn≤bm x1,x2,…,xn≥0
2. The feasible region in an LP problem is:
The set of all points that satisfy the objective function
The set of all points that satisfy all constraints including non-negativity
The set of corner points of the constraint graph
The optimal solution point
Show me the answer
Answer: 2. The set of all points that satisfy all constraints including non-negativity
Explanation: The feasible region is the set of all possible points (solutions) that satisfy all the constraints of the LP problem, including the non-negativity restrictions xi≥0. In graphical terms (for 2-variable problems), it is the intersection of half-planes defined by the constraints. The feasible region is always a convex polygon (in 2D) or polyhedron (in higher dimensions).
3. In an LP problem, the objective function is:
A set of linear inequalities
A linear function to be maximized or minimized
The feasible region boundary
The non-negativity constraints
Show me the answer
Answer: 2. A linear function to be maximized or minimized
Explanation: The objective function is the linear function that we want to optimize (either maximize or minimize). It represents the quantity we want to optimize, such as profit, cost, revenue, etc. The general form is:
z=c1x1+c2x2+⋯+cnxn
where ci are coefficients (profit/cost per unit) and xi are decision variables.
Graphical Method
4. In the graphical method of solving LP problems, the optimal solution:
Always lies at the origin
Always lies on the boundary of the feasible region
Always lies at a corner point of the feasible region
Can be anywhere in the feasible region
Show me the answer
Answer: 3. Always lies at a corner point of the feasible region
Explanation: For linear programming problems, the Fundamental Theorem of Linear Programming states that if an optimal solution exists, then at least one optimal solution occurs at a corner point (vertex) of the feasible region. This is why the simplex method works by moving from one corner point to another along the edges of the feasible region.
5. For the constraints x+y≤4, 2x+y≤6, x≥0, y≥0, the feasible region has:
3 corner points
4 corner points
5 corner points
6 corner points
Show me the answer
Answer: 2. 4 corner points
Explanation: Let's find the corner points:
Intersection of x=0 and y=0: (0, 0)
Intersection of x=0 and x+y=4: (0, 4)
Intersection of y=0 and 2x+y=6: (3, 0)
Intersection of x+y=4 and 2x+y=6: Solve: x+y=4 and 2x+y=6 Subtract first from second: x=2, then y=2 So (2, 2)
That's 4 corner points: (0,0), (0,4), (3,0), (2,2).
6. When the objective function lines are parallel to a boundary of the feasible region:
There is no optimal solution
There is a unique optimal solution
There are multiple optimal solutions
The problem is infeasible
Show me the answer
Answer: 3. There are multiple optimal solutions
Explanation: If the objective function line (isoprofit/isocost line) is parallel to a constraint line that forms a boundary of the feasible region, then all points along that edge are optimal solutions. This gives infinitely many optimal solutions, all giving the same optimal value of the objective function.
Example: If maximizing z=2x+2y with constraints x+y≤4, x≥0, y≥0, then the entire line segment from (0,4) to (4,0) gives z=8.
Types of Solutions
7. An LP problem is said to be unbounded when:
The feasible region is empty
The objective function can be increased indefinitely
There are multiple optimal solutions
All constraints are equalities
Show me the answer
Answer: 2. The objective function can be increased indefinitely
Explanation: An LP problem is unbounded if the objective function can be made arbitrarily large (in a maximization problem) or arbitrarily small (in a minimization problem) while still satisfying all constraints. This occurs when the feasible region extends infinitely in the direction of improving the objective function value.
Graphically, the feasible region is unbounded and the objective function lines can be moved indefinitely in the improving direction without leaving the feasible region.
8. An LP problem is infeasible when:
The objective function has no maximum
The feasible region is empty
There are too many constraints
The objective function is nonlinear
Show me the answer
Answer: 2. The feasible region is empty
Explanation: An LP problem is infeasible if there is no solution that satisfies all constraints simultaneously. Graphically, this means the constraints define regions that don't overlap, resulting in an empty feasible region.
Example: x+y≤2 and x+y≥3 with x≥0, y≥0 cannot be satisfied simultaneously.
9. A degenerate solution in LP occurs when:
The optimal solution is not unique
More than two constraints are binding at a corner point
A basic variable takes the value zero in the optimal solution
The problem is infeasible
Show me the answer
Answer: 3. A basic variable takes the value zero in the optimal solution
Explanation: In the simplex method, a basic feasible solution is degenerate if one or more basic variables have value zero. Geometrically, this occurs when more than n constraints (where n is the number of variables) pass through a corner point. Degeneracy can cause cycling in the simplex method, though this is rare in practice.
Standard Form and Conversions
10. The standard form of an LP problem requires:
All constraints to be equations
All variables to be non-negative
The objective function to be maximization
Both 1 and 2
Show me the answer
Answer: 4. Both 1 and 2
Explanation: The standard form for an LP problem has:
All constraints are equations (not inequalities)
All variables are non-negative
The objective function is either maximization or minimization (though maximization is more common in textbooks)
To convert inequalities to equations:
For ≤ constraints: Add a slack variable: ai1x1+⋯+ainxn+si=bi, si≥0
For ≥ constraints: Subtract a surplus variable: ai1x1+⋯+ainxn−si=bi, si≥0
11. A slack variable is used to convert:
A ≤ constraint to an equation
A ≥ constraint to an equation
An equation to a ≤ constraint
A non-negativity constraint to an equation
Show me the answer
Answer: 1. A ≤ constraint to an equation
Explanation: Slack variables represent unused resources. For a ≤ constraint like ai1x1+⋯+ainxn≤bi, we add a slack variable si≥0 to convert it to an equation:
ai1x1+⋯+ainxn+si=bi
The slack variable si measures how much of resource i is unused in a particular solution. If si=0, the constraint is binding (all resources used).
12. A surplus variable is used to convert:
A ≤ constraint to an equation
A ≥ constraint to an equation
An equation to a ≥ constraint
A non-negativity constraint to an equation
Show me the answer
Answer: 2. A ≥ constraint to an equation
Explanation: Surplus variables represent excess above a minimum requirement. For a ≥ constraint like ai1x1+⋯+ainxn≥bi, we subtract a surplus variable si≥0 to convert it to an equation:
ai1x1+⋯+ainxn−si=bi
The surplus variable si measures how much the solution exceeds the minimum requirement. If si=0, the constraint is binding (exactly meeting the requirement).
Simplex Method
13. The simplex method solves LP problems by:
Evaluating the objective function at all corner points
Moving from one corner point to an adjacent one with better objective value
Using calculus to find the maximum/minimum
Solving the dual problem instead
Show me the answer
Answer: 2. Moving from one corner point to an adjacent one with better objective value
Explanation: The simplex method is an iterative algorithm that:
Starts at a corner point (basic feasible solution) of the feasible region
Moves to an adjacent corner point that improves the objective function value
Continues until no adjacent corner point gives improvement (optimal solution found)
It uses a tableau format to systematically perform these operations through pivot operations.
14. In the simplex method, the entering variable is chosen by:
The most negative coefficient in the objective row (for maximization)
The most positive coefficient in the objective row (for maximization)
The smallest ratio in the ratio test
Random selection
Show me the answer
Answer: 1. The most negative coefficient in the objective row (for maximization)
Explanation: In the simplex method for maximization problems:
The entering variable (variable to enter the basis) is the one with the most negative coefficient in the objective row (Z-row or C-row).
This corresponds to the variable that will increase the objective function value the fastest per unit increase.
For minimization problems, we would choose the most positive coefficient.
This rule assumes we are using the standard form and the objective function coefficients are in the top row of the simplex tableau.
15. In the simplex method, the leaving variable is determined by:
The most negative coefficient in the objective row
The minimum ratio test (smallest non-negative ratio)
The maximum ratio test
The variable with the smallest coefficient
Show me the answer
Answer: 2. The minimum ratio test (smallest non-negative ratio)
Explanation: Once the entering variable is chosen, the leaving variable (variable to leave the basis) is determined by the minimum ratio test:
For each row (constraint), compute the ratio: Right-hand side (RHS) / Coefficient of entering variable in that row
Consider only positive coefficients of the entering variable (ignore zero or negative)
Choose the row with the smallest non-negative ratio
This ensures we move to an adjacent corner point while maintaining feasibility (all variables non-negative).
16. The optimality condition in the simplex method for maximization is:
All coefficients in the objective row are positive or zero
All coefficients in the objective row are negative or zero
All coefficients in the objective row are zero
The RHS values are all positive
Show me the answer
Answer: 1. All coefficients in the objective row are positive or zero
Explanation: In the simplex method for maximization problems:
When all coefficients in the objective row (excluding the RHS) are non-negative (≥ 0), the current solution is optimal.
This means no variable can enter the basis to improve the objective function value.
For minimization problems, optimality occurs when all coefficients in the objective row are non-positive (≤ 0).
Last updated