Course Test · University: upper level
Optimisation: test
Linear programs solved by the simplex method with their dual prices, infeasible and unbounded programs, integer programs and knapsacks, the assignment and transportation problems, critical points and the Hessian test, Lagrange multipliers, convexity, least squares and a gradient step.
Twenty exercises of the kind this course sets. Answers are on the independent answers page; the same exercises done with RatMath are on the RatMath answers page.
- 1.A linear programMaximise subject to , , , .
- 2.Shadow pricesFor the same program, find the dual solution (shadow prices) and check that the dual value equals 36.
- 3.MinimisingMinimise subject to , , .
- 4.InfeasibilityShow that , , has no solution.
- 5.UnboundednessShow that maximising subject to , is unbounded.
- 6.Integer programmingMaximise subject to , , integers. Compare with the LP relaxation.
- 7.KnapsackItems weigh 2, 3, 4, 5 and are worth 3, 4, 5, 6. Which should go in a knapsack holding weight 5?
- 8.Assignment problemAssign four workers to four jobs at least total cost, with costs .
- 9.Transportation problemTwo warehouses hold 20 and 30 units; three stores need 10, 25 and 15. Shipping costs per unit are . Find the cheapest plan's cost.
- 10.Optimising a rectangleA rectangle has perimeter 20. What is the largest area it can have?
- 11.One-variable minimumFind the minimum of .
- 12.Critical points in the planeFind and classify the critical point of .
- 13.Second-derivative testClassify the critical points of .
- 14.Lagrange multipliersFind the point of the line closest to the origin.
- 15.A constrained maximumMaximise on the plane with .
- 16.ConvexityIs convex? Give the Hessian's eigenvalues.
- 17.Least squaresFit a line to by least squares.
- 18.Gradient descentTake one gradient-descent step of size 0.1 from on .
- 19.Newton's method for a minimumTake two Newton steps for minimising from . What is the exact minimiser?
- 20.DualityWrite the dual of: maximise subject to , , ; show both optimal values agree.