a logo for the course

Computational Methods in Optimization

David Gleich

Purdue University

Spring 2023

Course number CS-52000

Monday, Wednesday, Friday, 1:30-2:20pm

Location Lawson 1106


Homework 4

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: Log-barrier terms

The basis of a class of methods known as interior point methods is that we can handle non-negativity constraints such as by solving a sequence of unconstrained problems where we add the function to the objective. Thus, we convert into

  1. Explain why this idea could work. (Hint: there's a very useful picture you should probably show here!)

  2. Write a matrix expression for the gradient and Hessian of in terms of the gradient vector and the Hessian matrix of .

  3. (Open ended) Explain if there is anything special about that makes it especially useful here. For instance, are there other functions that could work and give you the same effect? Would be superior?

Problem 2: Inequality constraints

Draw a picture of the feasible region for the constraints:

Problem 3: Necessary and sufficient conditions

Let .

  1. Write down the necessary conditions for the problem:

  2. Write down the sufficient conditions for the same problem.

  3. Consider the two-dimensional case with Determine the solution to this problem by any means you can, and justify your work.

  4. Produce a Julia or hand illustration of the solution showing the function contours, and gradient. What are the active constraints at the solution? What is the value of in ?

  5. What changes when we set ?

Problem 4: Constraints can make a non-smooth problem smooth.

Show that

can be reformulated as a constrained optimization problem with a continuously differentiable objective function and both linear equality and inequality constraints.