Xiangxiong Zhang MA 574 · Numerical Optimization · Purdue University · Fall 2026

MA 574 — Numerical Optimization, Fall 2026


Contents of these slides:

  1. Scope of this semester.
  2. Some critical points in the syllabus.

Plan for this semester

There are many different types of optimization problems, but we mainly focus on the convergence of algorithms minimizing a convex function $f(x)$ with a large scale:

Convex problems

Nonconvex problems

Differences compared to other courses on campus

Examples

Example: Part II — image denoising

Examples

An example where $N$ is too large: recommendation systems for customers rating products (movies, merchandise, etc.).

Examples

Part IV: consider minimizing $f(x)$ with $x\in\mathcal{M}\subset \mathbb{R}^N$ where $\mathcal{M}$ is a Riemannian manifold. If you have not heard of manifolds, just think of $\mathcal{M}$ as a surface, e.g., a unit sphere.

Diagram of two coordinate charts on a manifold. A curved surface at the bottom contains two overlapping dashed regions labeled U and V. An arrow phi maps U up to a chart phi(U) in a copy of R^d at upper left; an arrow psi maps V up to a chart psi(V) in another copy of R^d at upper right. The overlap is shown in both charts as phi(U intersect V) and psi(U intersect V), and two horizontal arrows between the charts indicate the transition maps psi composed with phi inverse, and phi composed with psi inverse.
(a) Charts: two overlapping coordinate charts and their transition maps.
Diagram of a saddle-shaped manifold M with a flat plane, the tangent space T_x M, touching it at a point x. From x, a tangent vector xi points along the plane; a curved arrow leads from the tip of xi down onto the surface to a point labeled R_x(xi), illustrating a retraction mapping the tangent vector back onto the manifold.
(b) Tangent space and retraction.

An example of Riemannian gradient

Hand-drawn sketch of a dome-shaped manifold M = S_+^{n,k}, a subset of R^{n by n}, with a flat tangent space T_x M drawn through a point x_k = X on the surface. A blue arrow rising out of the plane is labeled with the Euclidean gradient, partial f over partial X equals A-star of (A(X) minus b). A red arrow lying in the tangent plane is its projection, P_{T_x M} of the gradient. A dashed purple arrow drops from the tip of that projection back down onto the surface to the next iterate x_{k+1}.
The Riemannian gradient (red) is the Euclidean gradient (blue) projected onto the tangent space $T_X\mathcal{M}$; the next iterate $x_{k+1}$ is retracted back onto the manifold.

Focuses of this course

Goals/outcomes of this course

  • 2026 is a landmark year of AI: AI agents are now heavily used not only for industrial coding but also for academic research. Frontier models ace math olympiads, settle open conjectures, etc.

    You can bet that AI knows everything about MA 574.

  • In Fall 2026 the learning goals are exactly the same — without them, we would be left with doubts:
    • Is an AI-generated analysis or proof actually correct? How would we know?
    • Are there better ways to prompt an LLM? Why have other people used AI to do impressive things, but we cannot?

Using AI in MA 574

  1. Purdue now has an AI competency graduation requirement.
  2. In this course, I encourage you to use AI to assist learning (but not cheating…). Coding without AI is on its way to becoming what punching cards was in 1964.

    A person's hands holding a thick stack of punched cards over an IBM 029 card punch machine from 1964, with its blue keyboard and card hopper visible. Caption in the image reads: ibm 029 (1964).
    Programming in 1964: punching cards.

    This kind of “supercomputer” was not fully retired in US universities until the early 1980s.

  3. (I think) AI competency has three layers (take MA 574 as the example):
    1. Be comfortable using AI agent systems. Try a CLI (command line interface) agent like Codex or Claude Code: a chatbot (ChatGPT, Claude) can only talk about code, while an agent writes it, runs it, and fixes its own errors.
    2. Know the basic stuff — i.e., the goals of MA 574: the convergence analysis itself, and whether a proof is actually correct.
    3. Know how to use AI for optimization productively and efficiently. You have to try it out and learn along the way, but this is impossible without (a) or (b).

Importance of traditional classroom learning in AI era

View from the driver's seat of a Tesla on a two-lane highway at sunset. Nobody's hands are on the steering wheel in the foreground. The center touchscreen shows Self-Driving engaged at 75 mph, with the car rendered centered in its lane and surrounding traffic displayed ahead.
Tesla FSD (Supervised) does the heavy work on a road trip — but you still supervise it the whole time.
Screenshot of an NBC News Now segment titled The Future of Everything. Students carrying backpacks gather around a table beneath a tall banner reading Claude. The on-screen headline reads: A.I. hackathon shows humans are still critical to software coding. A description panel below reads: Georgia Tech get three hours to build an app using Claude AI.
NBC News, May 7, 2026: humans are still critical.
  1. Tesla FSD (Supervised) handles 99% of driving conditions. For the other 1%, someone must still be behind the wheel — with at least a driver's license.
  2. As a job applicant, you compete with someone who can use AI well but not AI.
  3. And you can use AI well only on what you already know. Ask it for MATLAB code, AI gives one and tells you MATLAB is slow. You get faster code only if prompting AI to:
    1. vectorize loops whenever possible;
    2. wrap whatever cannot be vectorized in C++ via mex.
  4. So you still need to learn math and coding, even if AI can do it all: only the knowledgeable can use AI well enough to stay competitive.
  5. On the other hand, do use AI as your free teaching assistant — to digest hard concepts and pick up new math/coding tricks.

Syllabus: grading and attendance

Grades and grade reports

Attendance policy

Syllabus: academic integrity and AI policy

  1. Intellectual property. Lecture notes, Zoom videos, and typed-up notes are all copyrighted. Uploading any of these to any forum or website is strictly prohibited.
  2. Academic integrity is one of the highest values that Purdue University holds. You could, of course, sign the attendance sheet or write a report or slides for someone else — but “all incidents of academic misconduct will be forwarded to OSRR, where university penalties, including removal from the university, may be considered.”
  3. AI policy.
    1. Definitely use AI to assist your learning, reading, and writing of the report.
    2. A report or slides generated by one prompt — or a few prompts with minimal human input — will be penalized. Use AI as a tool, not as a replacement for yourself.
    3. The final report must include a required section explaining exactly how you used AI in writing it.

My 2 cents for using AI

Two horizontal chevron pipelines. The top one, labeled Without AI, has three equal stages: Idea, Implementation, Validation. The bottom one, labeled With AI, has the same three stages, but the Idea chevron is much wider while the Implementation chevron has shrunk to a small fraction of its former width.
AI shrinks implementation — idea takes up space.
A four-box cycle titled Positive AI Learning Feedback Loop. Arrows run clockwise: Use AI Better leads to Faster Learner, which leads to Deeper / Better Knowledge, which leads to Ask Better Questions to AI, which leads back to Use AI Better.
Learning and using AI reinforce each other.