Mathematical Optimization
Mathematical Optimization
svg
Mathematical optimization
Graph of a paraboloid given by z = f(x, y) = (x + y) + 4. The globalmaximum at (x, y, z) = (0, 0, 4) is indicated
by a blue dot.
1.
Optimization problems
The domain A of f is called the search space or the choice set, while the elements
of A are called candidate solutions or feasible solutions.
The function f is called, variously, an objective function, a loss function or cost
function (minimization),[2] a utility function or fitness function (maximization), or, in
certain fields, an energy function or energy functional. A feasible solution that
minimizes (or maximizes, if that is the goal) the objective function is called an optimal
solution.
In mathematics, conventional optimization problems are usually stated in terms of
minimization. Generally, unless both the objective function and the feasible
region are convex in a minimization problem, there may be several local minima.
A local minimum x* is defined as a point for which there exists some > 0 so that for
all x such that
the expression
holds; that is to say, on some region around x* all of the function values are greater
than or equal to the value at that point. Local maxima are defined similarly.
While a local minimum is at least as good as any nearby points, a global minimum is at
least as good as every feasible point. In a convex problem, if there is a local minimum
that is interior (not on the edge of the set of feasible points), it is also the global
minimum, but a nonconvex problem may have more than one local minimum not all
of which need be global minima.
A large number of algorithms proposed for solving nonconvex problemsincluding
the majority of commercially available solversare not capable of making a distinction
between locally optimal solutions and globally optimal solutions, and will treat the
former as actual solutions to the original problem. Global optimization is the branch
of applied mathematics and numerical analysis that is concerned with the
development of deterministic algorithms that are capable of guaranteeing
convergence in finite time to the actual optimal solution of a nonconvex problem.
2.
Notation
Optimization problems are often expressed with special notation. Here are some
examples.
Minimum and maximum value of a function
Consider the following notation:
This denotes the minimum value of the objective function
the set of real numbers
.
, occurring at
or equivalently
represents the
pair (or pairs) that maximizes (or maximize) the value of the
objective function
, with the added constraint that x lie in the interval
(again,
the actual maximum value of the expression does not matter). In this case, the
solutions are the pairs of the form (5, 2k) and (5,(2k+1)), where k ranges over
all integers.
arg min and arg max are sometimes also written argmin and argmax, and stand
for argument of the minimum and argument of the maximum.
3.
History
Aharon Ben-Tal
Richard Bellman
Roger Fletcher
Ronald A. Howard
Fritz John
Narendra Karmarkar
William Karush
Leonid Khachiyan
4.
Bernard Koopman
Harold Kuhn
Lszl Lovsz
Arkadi Nemirovski
Yurii Nesterov
Boris Polyak
Lev Pontryagin
James Renegar
R. Tyrrell Rockafellar
Cornelis Roos
Naum Z. Shor
Michael J. Todd
Albert Tucker
Major subfields
Multi-objective optimization
Adding more than one objective to an optimization problem adds complexity. For
example, to optimize a structural design, one would desire a design that is both light
and rigid. When two objectives conflict, a trade-off must be created. There may be
one lightest design, one stiffest design, and an infinite number of designs that are
some compromise of weight and rigidity. The set of trade-off designs that cannot be
improved upon according to one criterion without hurting another criterion is known
as the Pareto set. The curve created plotting weight against stiffness of the best
designs is known as the Pareto frontier.
A design is judged to be "Pareto optimal" (equivalently, "Pareto efficient" or in the
Pareto set) if it is not dominated by any other design: If it is worse than another design
in some respects and no better in any respect, then it is dominated and is not Pareto
optimal.
The choice among "Pareto optimal" solutions to determine the "favorite solution" is
delegated to the decision maker. In other words, defining the problem as multiobjective optimization signals that some information is missing: desirable objectives
are given but not their detailed combination. In some cases, the missing information
can be derived by interactive sessions with the decision maker.
Multi-objective optimization problems have been generalized further into vector
optimization problems where the (partial) ordering is no longer given by the Pareto
ordering.
Multi-modal optimization
Optimization problems are often multi-modal; that is, they possess multiple good
solutions. They could all be globally good (same cost function value) or there could be
a mix of globally good and locally good solutions. Obtaining all (or at least some of)
the multiple solutions is the goal of a multi-modal optimizer.
Classical optimization techniques due to their iterative approach do not perform
satisfactorily when they are used to obtain multiple solutions, since it is not
guaranteed that different solutions will be obtained even with different starting points
in multiple runs of the algorithm. Evolutionary algorithms are however a very popular
approach to obtain multiple solutions in a multi-modal optimization task.
5.
Feasibility problem
The satisfiability problem, also called the feasibility problem, is just the problem of
finding any feasible solution at all without regard to objective value. This can be
regarded as the special case of mathematical optimization where the objective value
is the same for every solution, and thus any solution is optimal.
Many optimization algorithms need to start from a feasible point. One way to obtain
such a point is to relax the feasibility conditions using a slack variable; with enough
slack, any starting point is feasible. Then, minimize that slack variable until slack is null
or negative.
Existence
The extreme value theorem of Karl Weierstrass states that a continuous real-valued
function on a compact set attains its maximum and minimum value. More generally,
a lower semi-continuous function on a compact set attains its minimum; an upper
semi-continuous function on a compact set attains its maximum.
Necessary conditions for optimality
One of Fermat's theorems states that optima of unconstrained problems are found
at stationary points, where the first derivative or the gradient of the objective function
is zero (see first derivative test). More generally, they may be found at critical points,
where the first derivative or gradient of the objective function is zero or is undefined,
or on the boundary of the choice set. An equation (or set of equations) stating that
Constrained problems can often be transformed into unconstrained problems with the
help of Lagrange multipliers. Lagrangian relaxation can also provide approximate
solutions to difficult constrained problems.
When the objective function is convex, then any local minimum will also be a global
minimum. There exist efficient numerical techniques for minimizing convex functions,
such as interior-point methods.
6.
To solve problems, researchers may use algorithms that terminate in a finite number
of steps, or iterative methods that converge to a solution (on some specified class of
problems), or heuristics that may provide approximate solutions to some problems
(although their iterates need not converge).
Optimization algorithms
Iterative methods
The iterative methods used to solve problems of nonlinear programming differ
according to whether they evaluate Hessians, gradients, or only function values. While
evaluating Hessians (H) and gradients (G) improves the rate of convergence, for
functions for which these quantities exist and vary sufficiently smoothly, such
evaluations increase the computational complexity (or computational cost) of each
iteration. In some cases, the computational complexity may be excessively high.
One major criterion for optimizers is just the number of required function evaluations
as this often is already a large computational effort, usually much more effort than
within the optimizer itself, which mainly has to operate over the N variables. The
derivatives provide detailed information for such optimizers, but are even harder to
calculate, e.g. approximating the gradient takes at least N+1 function evaluations. For
approximations of the 2nd derivatives (collected in the Hessian matrix) the number of
function evaluations is in the order of N. Newton's method requires the 2nd order
derivates, so for each iteration the number of function calls is in the order of N, but
for a simpler pure gradient optimizer it is only N. However, gradient optimizers need
usually more iterations than Newton's algorithm. Which one is best with respect to
the number of function calls depends on the problem itself.
Global convergence
More generally, if the objective function is not a quadratic function, then many
optimization methods use other methods to ensure that some subsequence of
iterations converges to an optimal solution. The first and still popular method for
ensuring convergence relies on line searches, which optimize a function along one
dimension. A second and increasingly popular method for ensuring convergence
uses trust regions. Both line searches and trust regions are used in modern methods
of non-differentiable optimization. Usually a global optimizer is much slower than
advanced local optimizers (such as BFGS), so often an efficient global optimizer can be
constructed by starting the local optimizer from different starting points.
Heuristics
Besides (finitely terminating) algorithms and (convergent) iterative methods, there
are heuristics that can provide approximate solutions to some optimization problems:
Memetic algorithm
Differential evolution
Evolutionary algorithms
Dynamic relaxation
Genetic algorithms
Hill climbing with random restart
Nelder-Mead simplicial heuristic: A popular heuristic for approximate
minimization (without calling gradients)
Particle swarm optimization
7.
Applications
Mechanics
Problems in rigid body dynamics (in particular articulated rigid body dynamics) often
require mathematical programming techniques, since you can view rigid body
dynamics as attempting to solve an ordinary differential equation on a constraint
manifold; the constraints are various nonlinear geometric constraints such as "these
two points must always coincide", "this surface must not penetrate any other", or "this
point must always lie somewhere on this curve". Also, the problem of computing
contact forces can be done by solving a linear complementarity problem, which can
also be viewed as a QP (quadratic programming) problem.
Many design problems can also be expressed as optimization programs. This
application is called design optimization. One subset is the engineering optimization,
and another recent and growing subset of this field is multidisciplinary design
optimization, which, while useful in many problems, has in particular been applied
to aerospace engineering problems.
Economics
Economics is closely enough linked to optimization of agents that an influential
definition relatedly describes economics qua science as the "study of human behavior
as a relationship between ends and scarce means" with alternative uses.[4] Modern
optimization theory includes traditional optimization theory but also overlaps
with game theory and the study of economic equilibria. The Journal of Economic
Literature codes classify mathematical programming, optimization techniques, and
related topics under JEL:C61-C63.
In microeconomics, the utility maximization problem and its dual problem,
the expenditure minimization problem, are economic optimization problems. Insofar
as they behave consistently,consumers are assumed to maximize their utility,
while firms are usually assumed to maximize their profit. Also, agents are often
modeled as being risk-averse, thereby preferring to avoid risk. Asset prices are also