Past paper questions Flashcards
Without solving the LP of part (a), explain why there will be an optimal solution where no more than two of the variables will take positive value.
[2023, 3m]
There always exists a BASIC OPTIMAL SOLUTION, where the # of BASIC VARIABLES = # of EFFECTIVE CONSTRAINTS.
Since the problem only has 2 resource constraints, there are at most 2 effective constraints, and thus at most 2 variables with positive value.
What other algorithm, instead of Dijkstra, would you suggest to find a shortest path efficiently?
[2022, 5m]
- The network cannot contain a directed cycle (ie. it is ACYCLIC), therefore it has a TOPOLOGICAL ORDER
- Can apply the critical path method to return a SHORTEST PATH
- The CPA algorithm is able to determine a LONGEST PATH in an acyclic network with arbitrary arc lengths (positive or negative) &…
- …finding a shortest path in the above network corresponds to finding a LONGEST PATH with “negative” distances
MarkeIt! is interested in knowing how changing the target for Retired Men affects the total
cost. How much does a unit increase or decrease in the target affect the total cost? Compute
the range for which this estimate holds (i.e. compute the upper and lower range for the
target).
- The dual constraint relative to the Retired Men target is 𝑦3, which takes value 13/9.
- Therefore any unit increase or decrease in the right hand side will, respectively, increase or decrease the total cost by 13/9, as long as the change in right-hand side
does not change the optimal dual solution. - The optimal dual solution does not change as long as the optimal primal solution is defined by constraints 1 and 3.
- Thus the right-hand side can decrease until constraint 3 passes through the intersection of
constraints 1 and 2, and increase until it passes through the intersection of constraint
1 and of the constraint 𝑥1 ≥ 0.
- find the points of intersection and substitute into the primal constraint 3
The dual solution remains optimal as long as…?
- As long as the solution of the system…
[the equations that we write to find the “dual” variables] remains FEASIBLE - which is feasible as long as, eg. x1≥0
- What is an extreme point?
- What is the importance of extreme points in linear programming?
[3m]
- Feasible & satisfies n linearly independent constraints
- LP importance: if there is an optimal solution, there is always one that is an extreme point.