Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

Glossary

Every defined term in this course, A–Z.

0-1 knapsack problem

Read the section →

Choosing which items, each with its own weight and value, to pack under a fixed capacity to maximize total value -- no item split.

active constraint

Read the section →

An inequality constraint that holds with equality at the current point.

adaptive gradient method

Read the section →

A gradient method that gives each parameter its own automatically-tuned step size from its own recent gradient history.

allowable range

Read the section →

The interval a single cost or resource coefficient can move through while the current optimal vertex, and its shadow prices, stay valid.

Armijo condition

Read the section →

A candidate step size counts only if it decreases the objective by at least a fixed fraction of what the tangent line predicts.

assignment problem

Read the section →

The transportation problem's tightest case -- matching workers to tasks one-to-one at minimum total cost.

augmented Lagrangian

Read the section →

A penalty function combined with a multiplier estimate, letting the penalty weight stay fixed instead of growing without bound.

barrier function

Read the section →

A term added to the objective that grows without bound as a point approaches a constraint boundary from inside.

basic feasible solution

Read the section →

A vertex of an LP's feasible region, in standard form — as many variables set to zero as there are extra degrees of freedom.

branch and bound

Read the section →

Solving an integer program by splitting it into sub-problems and pruning any that can't beat the best solution found so far.

central path

Read the section →

The curve traced by a barrier method's minimizer as its weight shrinks toward zero.

complementary slackness

Read the section →

At a jointly optimal primal/dual pair, every constraint is either tight or its paired variable is zero.

Like the convex hull, but the blending weights only need to be nonnegative, not sum to 1 -- sweeping out an unbounded wedge instead of a bounded region.

A condition a solution must satisfy — an equation or inequality that x has to obey.

convex combination

Read the section →

A blend of points, each weighted nonnegatively, with the weights summing to exactly 1.

convex cone

Read the section →

A convex set that also scales outward from the origin -- if a point is in it, so is that point at any nonnegative distance along the same ray.

convex function

Read the section →

A function whose graph curves upward everywhere — the chord between any two points lies on or above the graph.

convex hull

Read the section →

The smallest convex set containing a given set of points -- every convex combination they can form.

A set where the line segment between any two of its points stays entirely inside the set.

decision variable

Read the section →

A quantity the solver is free to choose; collected into the vector x.

descent direction

Read the section →

A direction d along which the objective is guaranteed to decrease, at least for a small enough step.

design point

Read the section →

A full choice of every decision variable, collected into a single vector \mathbf x.

Pairing a minimization (primal) problem with a related maximization (dual) problem that bounds it.

dynamic programming

Read the section →

Solving a multi-stage problem by solving and reusing solutions to its smaller subproblems.

elastic net

Read the section →

A regularization penalty combining L1 and L2 with independent weights, keeping lasso's exact zeros while softening ridge's smoother shrinkage on the coefficients that survive.

The set of every point on or above a function's graph.

One full pass through every data point in the dataset, split across however many mini-batch steps that takes.

feasible region

Read the section →

The set of every x that satisfies all of a problem's constraints at once.

genetic algorithm

Read the section →

A search that evolves a whole population of candidates through fitness-biased selection, crossover, and mutation.

global optimum

Read the section →

A point that beats every feasible point in the entire feasible region, not just nearby ones.

A linear inequality, derived from a fractional tableau row, that removes an LP relaxation's fractional optimum without ever removing an integer-feasible point.

gradient descent

Read the section →

An iterative method that repeatedly steps in the direction the objective decreases fastest.

Hessian matrix

Read the section →

The matrix of a function's second partial derivatives; it captures how the gradient itself is changing.

integer program

Read the section →

An optimization problem whose decision variables are restricted to integer values.

interior-point method

Read the section →

A method that follows the central path using one cheap Newton step per parameter value, instead of fully re-solving each barrier subproblem.

KKT conditions

Read the section →

The four conditions — stationarity, primal feasibility, dual feasibility, complementary slackness — a constrained optimum must satisfy.

The objective combined with every constraint, each weighted by its own multiplier.

learning rate

Read the section →

\alpha — how far a descent method moves along its chosen direction at each iteration.

learning-rate schedule

Read the section →

A rule for shrinking the learning rate \alpha over the course of training instead of holding it fixed.

linear program

Read the section →

An optimization problem whose objective and every constraint are linear in the decision variables.

local optimum

Read the section →

A point that beats every nearby feasible point, but not necessarily every feasible point overall.

A small random subset of the data whose gradients are averaged for one stochastic gradient descent step.

mixed-integer nonlinear program

Read the section →

An optimization problem carrying both a nonlinearity and an integer-restricted decision variable at once.

model-solve-refine cycle

Read the section →

The practical workflow behind applied optimization -- translate a situation into a model, solve it, then check the answer against reality and revise.

momentum (optimization)

Read the section →

Accumulating a running "velocity" from past gradients so consistent directions speed up and oscillating ones cancel out.

Nelder–Mead method

Read the section →

A derivative-free method that moves a triangle (or higher-dimensional simplex) of trial points toward a minimum by comparing function values alone.

Newton's method (optimization)

Read the section →

A second-order method that models the objective as a quadratic and jumps straight to its minimum.

nonlinear program

Read the section →

An optimization problem where the objective or at least one constraint is not linear, though every decision variable stays continuous.

NP-complete

Read the section →

The specific case of an NP-hard problem that also sits inside NP itself -- checkable quickly, and believed to be as hard as any problem that is.

A problem at least as hard as the hardest problems whose proposed solutions can at least be checked quickly, with no known fast general method to find one.

objective function

Read the section →

The quantity an optimization problem is trying to make as small or as large as possible.

Pareto optimal

Read the section →

No other feasible solution is at least as good on every objective and strictly better on at least one.

particle swarm optimization

Read the section →

A population of moving particles, each pulled toward its own best-found point and the swarm's shared best-found point.

penalty function

Read the section →

A term added to the objective that charges an increasing cost for breaking a constraint.

polynomial time

Read the section →

The informal label for a problem with a known algorithm whose running time grows only polynomially with the problem's size.

proximal operator

Read the section →

A small optimization problem trading off staying close to a starting point against paying a penalty function's own cost -- for the L1 norm, exactly soft-thresholding.

quasi-Newton method

Read the section →

A second-order method that builds an approximate Hessian from gradient changes alone, instead of computing the true one.

regularization

Read the section →

Adding a penalty term to an objective to discourage overly large or complex solutions.

robust optimization

Read the section →

Choosing a solution that stays good even under the worst plausible values of uncertain problem data.

shadow price

Read the section →

How much the optimal objective value changes per unit change in a constraint's right-hand side.

simplex method

Read the section →

An algorithm that walks from vertex to vertex of an LP's feasible region, always improving the objective.

simulated annealing

Read the section →

A single-point search that occasionally accepts a worse move, with that willingness cooling over time.

Slater's condition

Read the section →

A convex problem has a point that strictly satisfies every inequality constraint.

stochastic gradient descent

Read the section →

Gradient descent using a cheap, noisy estimate of the gradient (from one or a few data points) instead of the full, exact one.

strictly convex function

Read the section →

A convex function whose chord between two distinct points touches the graph only at its own two endpoints, never in between.

strong duality

Read the section →

For a feasible, bounded linear program, the primal and dual optimal values are exactly equal, with no gap.

strongly convex function

Read the section →

A convex function whose curvature is guaranteed to stay at or above a fixed positive floor everywhere, not just above zero.

subgradient

Read the section →

A slope satisfying the tangent-line inequality even at a point where a function has a kink and no ordinary derivative exists.

transportation problem

Read the section →

Matching several fixed supplies to several fixed demands at minimum total shipping cost.

trust-region method

Read the section →

An algorithm that trusts a local quadratic model's advice only within a shrinking or growing radius around the current point.

weak duality

Read the section →

Every dual-feasible value is a lower bound on every primal-feasible value, with no optimality required on either side.

Wolfe conditions

Read the section →

The Armijo condition plus a second requirement that rules out a step that stops too soon.