Mathematical optimization studies extrema under constraints.
For a convex differentiable objective with convex differentiable inequality constraints, a feasible point satisfying the Karush-Kuhn-Tucker conditions with nonnegative multipliers is a global minimizer.
Dynamic programming solves a multistage optimization problem backwards by expressing each remaining-horizon value in terms of the next-stage value.
A Bellman equation is the recursive optimality relation for the value function of a dynamic programming problem.
A value function assigns each state and time the best objective attainable from that state over the remaining decisions.
Newton's method for minimizing a twice differentiable function uses
If and the Hessian is -Lipschitz near a minimizer , thenThus a sufficiently close initial point has an error exponent that doubles at each iteration.
For differentiable inequality constraints , a regular local minimum has multipliers satisfyingFor a convex problem under a suitable constraint qualification, these conditions are sufficient for global optimality.
In a convex resource-allocation problem, tightening an upper bound can change its multiplier from zero to positive. The optimum then moves from a point where only the total-resource constraint is active to the intersection where both constraints are active.
Convex optimization minimizes a convex objective over a convex feasible set.
For a real matrix , exactly one of the following holds: there is with and , or there is with . Separating from the standard simplex proves the result; may then be normalized to sum to one.
If and , thenIt follows by expanding the squared distance after each projected step, using nonexpansiveness of projection, summing the resulting inequalities, and applying convexity.
Forsuppose the optimizer and multiplier vary smoothly and use . Differentiating the optimum value and using stationarity gives
For a topless rectangular box with dimensions , volume , and weighted face costan interior optimum equalizes the three terms:The same result and global minimality follow from the arithmetic-geometric mean inequality.
Linear programming optimizes a linear function subject to finitely many linear equalities and inequalities.
For , , a feasible vector is basic when the columns indexed by its positive coordinates are linearly independent. Equivalently, enlarge those columns to a basis, set every nonbasic coordinate to zero, and solve the resulting square system.
If a linear program has an optimal solution, it has an optimal basic feasible solution. Choose an optimum with minimal positive support. A dependence among its active columns gives a feasible two-sided perturbation; optimality makes its objective slope zero, and moving until one coordinate vanishes contradicts minimality.
Linear-fractional programming optimizes a ratio over a polyhedron on which the denominator is positive.
For , setThen , and becomes , turning a linear-fractional program into a linear program with objective .
Every linear maximization program has a dual minimization program whose feasible objective values bound the primal values.
For a primal maximization problem , , the dual minimizes subject to , .
The dual pairsatisfies weak duality because for every feasible pair.
Every feasible dual objective value bounds every feasible primal objective value.
At a primal-dual optimum, each positive variable corresponds to a tight dual constraint and conversely for positive dual variables.
The transportation problem minimizes linear shipping cost while matching prescribed row supplies and column demands.
The transportation polytope is the set of nonnegative matrices with fixed row and column sums.
The positive cells of a nondegenerate transportation basis form a spanning tree in the bipartite graph of supply and demand vertices.
The transportation simplex computes row and column potentials, enters a negative-reduced-cost cell, and pivots around its induced alternating cycle.
The northwest-corner method repeatedly allocates the smaller remaining supply and demand in the current top-left cell to construct an initial transportation basis.
For transportation potentials, the reduced cost is ; a negative value identifies an improving entering cell.
Adding a nonbasic edge to a transportation tree creates one cycle; alternating equal additions and subtractions around it preserves every row and column sum.
Integer supplies and demands admit an integer optimum because an integer initial basis and every cycle pivot remain integer.
A matrix is totally unimodular when every square subdeterminant is , , or ; linear programs with such a constraint matrix and integer right side have integral vertices.
The simplex method moves between adjacent basic feasible solutions along improving edges of a feasible polytope until no improving pivot remains.
For , , and objective , the oriented edge graph has eight improving paths from the origin to the unique optimum . Their lengths range from three to five pivots.
A convex set contains every line segment joining two of its points.
The nonnegative orthant consists of vectors whose coordinates are all nonnegative. Its interior is the positive orthant, where every coordinate is positive.
A convex combination of points is a sum
If a convex subset of is invariant under cyclic coordinate permutation, averaging the cyclic images of shows thatalso belongs to the set.
A convex polytope is a bounded intersection of finitely many closed half-spaces, equivalently the convex hull of finitely many points.
For a nonempty closed convex subset of a finite-dimensional inner-product space, is the unique point of minimizing .
For ,
The second-order cone, also called the Lorentz cone, is
The convex hull of a set is the set of all finite convex combinations of its points, equivalently the smallest convex set containing it.
Every point in the convex hull of a subset of is a convex combination of at most points of that subset.
The positive semidefinite matrices form a convex cone because nonnegative combinations preserve nonnegative quadratic forms.
For a positive semidefinite matrix, a trace bound is a bound on the sum of its nonnegative eigenvalues.
Game theory studies strategic interaction among decision makers.
A mixed strategy is a probability distribution over a player's pure strategies.
A bimatrix game is a finite two-player game specified by one payoff matrix for each player.
A Nash equilibrium is a strategy profile in which no player can increase their expected payoff by changing only their own strategy.
Normalize each player's positive pure-strategy payoff improvements to define a continuous self-map of the product of their mixed-strategy simplices. At a Brouwer fixed point every positive improvement must vanish, giving a Nash equilibrium.
In a two-player zero-sum game, one playerβs payoff is the other playerβs loss.
A matrix game is a finite two-player zero-sum game whose entry is the row player's payoff when the players choose row and column .
The row player solves
If the column player has an optimal strategy at value and a row probability vector satisfies , then is optimal: it guarantees , while the optimal column strategy prevents every row strategy from exceeding .
Forboth players optimally choose cards with probabilities , and the row player's expected payoff is .
The finite minimax theorem equates the maximizing playerβs security level with the minimizing playerβs security level.
An optimal mixed strategy guarantees the value of the game against every opposing pure strategy.
A square game with antisymmetric payoff matrix has value zero.
A dominated strategy can be replaced by another strategy that performs at least as well against every opponent action.
Mathematical finance applies probability and optimization to portfolios, prices, and risk.
An arbitrage is a zero-cost self-financing portfolio whose terminal payoff is nonnegative in every state and strictly positive with positive probability.
A portfolio is self-financing when every change in its asset holdings is paid for entirely by selling or buying assets within the portfolio, with no external cash added or removed.
In expected-utility portfolio choice, an increasing utility function prefers greater wealth, while concavity models aversion to risk.
Expected utility maximization chooses an admissible random payoff to maximize .
A utility indifference price for a claim is the cash amount at which optimally buying the claim leaves the investor with the same maximal expected utility as trading without it.
Let be a vector space of random variables and supposehas an optimizer for every . If is increasing and concave, then is increasing and concave. For concavity, combine optimizers at two values using the same convex coefficient as the values themselves.
If is concave and , thenis concave in . By Jensen inequality, ; concavity then makes nonincreasing on .
For independent return innovations and a predictable process of holdings , wealth obeysThe investor chooses the holdings to maximize expected utility of terminal wealth.
For terminal utility and independent return innovations,
If terminal utility is increasing and concave and each Bellman supremum is attained, backward induction shows that every remaining-horizon value function is increasing and concave. Concavity follows by combining optimal portfolios for two initial wealths with the same convex coefficient.
An equivalent martingale measure is a probability measure equivalent to the physical measure under which discounted asset prices are martingales. In a finite one-period market, its existence is equivalent to no arbitrage.
At each period a risky asset in a binomial market has one of two returns, while the risk-free asset grows by a fixed factor. When the risk-free return lies strictly between the two stock returns, the market is arbitrage-free and complete.
If the stock factors are and and the risk-free factor is , the discounted stock is a martingale under the probabilityof an up move. The probability of a down move is .
For one-period successor claim values and stock prices , the replicating stock holding isThe remaining value is placed in the risk-free asset. In a complete binomial market, backward replication determines the unique no-arbitrage claim price.
At each node of a binomial tree, a claim with next-period values has valuewhere is the local risk-neutral probability in a binomial market. For an American claim, replace this continuation value by the maximum of continuation and immediate exercise value.
Let be the risk-neutral measure in an -period binomial market. The stock-numeraire measure is defined on terminal events byIf the -probability of an up move is , its up probability under isThis change of measure converts discounted expectations containing a factor into probabilities under .
In a finite market, absence of arbitrage is equivalent to the existence of an equivalent martingale measure. If that measure is unique, every contingent claim has a unique no-arbitrage price given by its discounted expectation.
Let be the state-by-asset matrix of discounted gains. There exists with exactly whenfor every satisfying . This is the finite-dimensional cone-separation, or Farkas-duality, form of superhedging.
A European call with maturity and strike pays at time .
For European calls and puts with the same maturity and strike,
Conditioning on the first binomial move expresses a call with periods as a positive weighted sum of two -period calls with rescaled strikes.
A forward-start call fixes its strike at a future time as a multiple of the stock price then. In a homogeneous binomial model, its time-zero price reduces to that of an ordinary call over the remaining periods.
A European put with maturity and strike pays at time and can be exercised only at maturity.
An American option may be exercised at any time up to maturity. Its value is the Snell envelope of its discounted exercise payoff.
An American put has exercise payoff . In a finite binomial market, backward option pricing compares that payoff with the discounted risk-neutral continuation value at every node.
Mean-variance optimization balances expected linear return against a positive-definite quadratic variance penalty.
Without a risk-free intercept or constraints, every undominated linear portfolio lies on the nonnegative ray through .
Let , where and is positive definite. For any increasing concave objective of , every unique optimal portfolio has the formIndeed, the component orthogonal to in the inner product contributes independent mean-zero Gaussian risk without changing the mean. Removing it cannot reduce expected concave utility. A negative coefficient is dominated by the corresponding positive coefficient, which has the same variance and a larger mean.
A portfolio dominates another when it has no smaller mean and no larger variance, with at least one strict improvement.
Projection onto the mean-variance portfolio leaves residual covariance .
A linear functional minus one half of a positive-definite quadratic has the unique maximizer obtained by solving its linear first-order equation.
A positive-definite matrix defines the inner product , allowing decomposition into a chosen direction and its -orthogonal complement.
Codex Wiki