a logo for the course

Computational Methods in Optimization

David Gleich

Purdue University

Spring 2026

Course number CS-52000

Tuesday, Thursday 9:00-10:15

Location Forney B124


Homework 5

Please answer the following questions in complete sentences in a clearly prepared manuscript and submit the solution by the due date on Gradescope.

Remember that this is a graduate class. There may be elements of the problem statements that require you to fill in appropriate assumptions. You are also responsible for determining what evidence to include. An answer alone is rarely sufficient, but neither is an overly verbose description required. Use your judgement to focus your discussion on the most interesting pieces. The answer to "should I include 'something' in my solution?" will almost always be: Yes, if you think it helps support your answer.

Problem 0: Homework checklist

Problem 1: Steepest descent

  1. (Nocedal and Wright, Exercise 3.6) Let's conclude with a quick problem to show that steepest descent can converge very rapidly! Consider the steepest descent method with exact line search for the function . Suppose that we know is parallel to an eigenvector of . Show that the method will converge in a single iteration.

  2. Consider the problem where we approximate the inequality constraint with a log-barrier term Can we do an exact line search on this problem (assuming that for the initial iteration?) If so, give a procedure to do it. If not, give an argument for why not (no formal proof needed).

Problem 2: LPs in Standard Form

Show that we can solve: by constructing an LP in standard form.

Problem 3: Duality

Show that the these two problems are dual by showing the equivalence of the KKT conditions:

Problem 4: Geometry of LPs

(Griva, Sofer, and Nash, Problem 3.12) Consider the system of constraints with Is a basic feasible point? Explain your answer precisely in terms of the definition.

Problem 5: Using the geometry

(Griva, Sofer, and Nash, Section 4.3, problem 3.13.) Suppose that a linear program originally included a free variable where there were no upper-and-lower bounds on its values. As we described in class, this can be converted into a pair of variables and such that and is replaced with the difference . Prove that a basic feasible point can have only one of or different from zero. (Hint: this is basically a one-line proof once you see the right characterization. I would suggest trying an example.)

(Optional) Problem 6: Constraint elimination

Work with an LLM to cook up an algorithm for redundant constraint elimination. See what it suggests and ask it to give you references to known algorithms or books, etc. so that you can verify what it produces. Test the algorithm on a collection of real world LPs.