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 1

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: List your collaborators

Please identify anyone, whether or not they are in the class, with whom you discussed your homework. This problem is worth 1 point, but on a multiplicative scale.

Problem 1: Some quick, simple theory

  1. What is when ? What is the limit of the sequence as ? What type of convergence is this?

  2. Show, using the definition, that the sequence converges superlinearly to .

  3. Suppose we have a sequence . Show that this sequence converges for all positive inputs _. What is the the rate of convergence.

  4. Let . Consider the sequence Show that this converges and give the convergence type (algebra, linear, quadratic, etc.)

  5. (A little more interesting, note that I haven't yet worked out the answer to this one; it may be well-known in other areas, etc. Don't feel obliged to compute a full solution, but for full points you must show your investigation. ) Suppose we have a sequence . Does this converge for any input? For all inputs? For some? What else can you say about it? Are there limit points?

Problem 2: Angled raptors

Mr. Munroe (the xkcd author) decided that running in a single direction was unrealistic. Your new problem is to solve the generalized raptor problem where you can turn twice. Once at 0.25 seconds. A second time at 0.75 seconds. Otherwise the problem is the same.

There are three parts.

  1. Modify the the Raptor chase example function to compute the survival time of a human in a raptor problem where you switch direction at 0.25 seconds and 0.75 seconds. Show your modified function, and show the survival time when running directly at the slow raptor (up to time 0.25) and then reversing your direction and running away from it.

  2. Utilize a grid-search strategy to determine the best angles for the human to run to maximize the survival time. Show the angles.

  3. Discuss the major challenge for solving this problem with the current strategy if we added a fourth angle at 0.5 seconds. (Or do so!) And a fifth angle at 0.75 seconds. (Or if you are feeling ambitious, solve these and see where you start running into trouble and discuss why that is!