HOME

TheInfoList



OR:

In the study of
algorithm In mathematics and computer science, an algorithm () is a finite sequence of rigorous instructions, typically used to solve a class of specific Computational problem, problems or to perform a computation. Algorithms are used as specificat ...
s, an LP-type problem (also called a generalized linear program) is an
optimization problem In mathematics, computer science and economics, an optimization problem is the problem of finding the ''best'' solution from all feasible solutions. Optimization problems can be divided into two categories, depending on whether the variables ...
that shares certain properties with low-dimensional
linear program Linear programming (LP), also called linear optimization, is a method to achieve the best outcome (such as maximum profit or lowest cost) in a mathematical model whose requirements are represented by linear relationships. Linear programming is ...
s and that may be solved by similar algorithms. LP-type problems include many important optimization problems that are not themselves linear programs, such as the problem of finding the smallest circle containing a given set of planar points. They may be solved by a combination of
randomized algorithm A randomized algorithm is an algorithm that employs a degree of randomness as part of its logic or procedure. The algorithm typically uses uniformly random bits as an auxiliary input to guide its behavior, in the hope of achieving good performan ...
s in an amount of time that is
linear Linearity is the property of a mathematical relationship (''function'') that can be graphically represented as a straight line. Linearity is closely related to '' proportionality''. Examples in physics include rectilinear motion, the linear r ...
in the number of elements defining the problem, and subexponential in the dimension of the problem.


Definition

LP-type problems were defined by as problems in which one is given as input a finite set of elements, and a function that maps subsets of to values from a totally ordered set. The function is required to satisfy two key properties: *Monotonicity: for every two sets , ''f''(''A'') ≤ ''f''(''B'') ≤ ''f''(''S''). *Locality: for every two sets and every element in , if , then . A ''basis'' of an LP-type problem is a set with the property that every proper subset of has a smaller value of than itself, and the ''dimension'' (or ''combinatorial dimension'') of an LP-type problem is defined to be the maximum
cardinality In mathematics, the cardinality of a set is a measure of the number of elements of the set. For example, the set A = \ contains 3 elements, and therefore A has a cardinality of 3. Beginning in the late 19th century, this concept was generalized ...
of a basis. It is assumed that an optimization algorithm may evaluate the function only on sets that are themselves bases or that are formed by adding a single element to a basis. Alternatively, the algorithm may be restricted to two primitive operations: a ''violation test'' that determines, for a basis and an element whether , and a ''basis computation'' that (with the same inputs) finds a basis of . The task for the algorithm to perform is to evaluate by only using these restricted evaluations or primitives.


Examples and applications

A
linear program Linear programming (LP), also called linear optimization, is a method to achieve the best outcome (such as maximum profit or lowest cost) in a mathematical model whose requirements are represented by linear relationships. Linear programming is ...
may be defined by a system of non-negative real variables, subject to linear inequality constraints, together with a non-negative linear objective function to be minimized. This may be placed into the framework of LP-type problems by letting be the set of constraints, and defining (for a subset of the constraints) to be the minimum objective function value of the smaller linear program defined by . With suitable general position assumptions (in order to prevent multiple solution points having the same optimal objective function value), this satisfies the monotonicity and locality requirements of an LP-type problem, and has combinatorial dimension equal to the number of variables.. Similarly, an integer program (consisting of a collection of linear constraints and a linear objective function, as in a linear program, but with the additional restriction that the variables must take on only integer values) satisfies both the monotonicity and locality properties of an LP-type problem, with the same general position assumptions as for linear programs. Theorems of and show that, for an integer program with variables, the combinatorial dimension is at most . Many natural optimization problems in
computational geometry Computational geometry is a branch of computer science devoted to the study of algorithms which can be stated in terms of geometry. Some purely geometrical problems arise out of the study of computational geometric algorithms, and such problems ar ...
are LP-type: *The
smallest circle problem The smallest-circle problem (also known as minimum covering circle problem, bounding circle problem, least bounding circle problem, smallest enclosing circle problem) is a mathematical problem of computing the smallest circle that contains all of ...
is the problem of finding the minimum radius of a circle containing a given set of points in the plane. It satisfies monotonicity (adding more points can only make the circle larger) and locality (if the smallest circle for set contains and , then the same circle also contains ). Because the smallest circle is always determined by some three points, the smallest circle problem has combinatorial dimension three, even though it is defined using two-dimensional Euclidean geometry. More generally, the smallest enclosing ball of points in dimensions forms an LP-type problem of combinatorial dimension . The smallest circle problem can be generalized to the smallest ball enclosing a set of balls, to the smallest ball that touches or surrounds each of a set of balls, to the weighted
1-center problem The 1-center problem, also known as minimax problem or minmax location problem, is a classical combinatorial optimization problem in operations research of facilities location type. In its most general case the problem is stated as follows: given a ...
, or to similar smaller enclosing ball problems in non-Euclidean spaces such as the space with distances defined by
Bregman divergence In mathematics, specifically statistics and information geometry, a Bregman divergence or Bregman distance is a measure of difference between two points, defined in terms of a strictly convex function; they form an important class of divergences. W ...
. The related problem of finding the smallest enclosing
ellipsoid An ellipsoid is a surface that may be obtained from a sphere by deforming it by means of directional scalings, or more generally, of an affine transformation. An ellipsoid is a quadric surface;  that is, a surface that may be defined as the ...
is also an LP-type problem, but with a larger combinatorial dimension, . *Let be a sequence of
convex set In geometry, a subset of a Euclidean space, or more generally an affine space over the reals, is convex if, given any two points in the subset, the subset contains the whole line segment that joins them. Equivalently, a convex set or a convex r ...
s in -dimensional Euclidean space, and suppose that we wish to find the longest
prefix A prefix is an affix which is placed before the Word stem, stem of a word. Adding it to the beginning of one word changes it into another word. For example, when the prefix ''un-'' is added to the word ''happy'', it creates the word ''unhappy'' ...
of this sequence that has a common intersection point. This may be expressed as an LP-type problem in which where ''K''''i'' is the first member of ''A'' that does not belong to an intersecting prefix of ''A'', and where if there is no such member. The combinatorial dimension of this system is . *Suppose we are given a collection of axis-aligned rectangular boxes in three-dimensional space, and wish to find a line directed into the positive octant of space that cuts through all the boxes. This may be expressed as an LP-type problem with combinatorial dimension 4. *The problem of finding the closest distance between two
convex polytope A convex polytope is a special case of a polytope, having the additional property that it is also a convex set contained in the n-dimensional Euclidean space \mathbb^n. Most texts. use the term "polytope" for a bounded convex polytope, and the wo ...
s, specified by their sets of vertices, may be represented as an LP-type problem. In this formulation, the set is the set of all vertices in both polytopes, and the function value is the negation of the smallest distance between the
convex hull In geometry, the convex hull or convex envelope or convex closure of a shape is the smallest convex set that contains it. The convex hull may be defined either as the intersection of all convex sets containing a given subset of a Euclidean space ...
s of the two subsets of vertices in the two polytopes. The combinatorial dimension of the problem is if the two polytopes are disjoint, or if they have a nonempty intersection. *Let be a set of
quasiconvex function In mathematics, a quasiconvex function is a real-valued function defined on an interval or on a convex subset of a real vector space such that the inverse image of any set of the form (-\infty,a) is a convex set. For a function of a single v ...
s. Then the
pointwise maximum In mathematics, the lower envelope or pointwise minimum of a finite set of functions is the pointwise minimum of the functions, the function whose value at every point is the minimum of the values of the functions in the given set. The concept of ...
is itself quasiconvex, and the problem of finding the minimum value of is an LP-type problem. It has combinatorial dimension at most , where is the dimension of the domain of the functions, but for sufficiently smooth functions the combinatorial dimension is smaller, at most . Many other LP-type problems can also be expressed using quasiconvex functions in this way; for instance, the smallest enclosing circle problem is the problem of minimizing where each of the functions measures the Euclidean distance from one of the given points. LP-type problems have also been used to determine the optimal outcomes of certain games in
algorithmic game theory Algorithmic game theory (AGT) is an area in the intersection of game theory and computer science, with the objective of understanding and design of algorithms in strategic environments. Typically, in Algorithmic Game Theory problems, the input t ...
, improve vertex placement in
finite element method The finite element method (FEM) is a popular method for numerically solving differential equations arising in engineering and mathematical modeling. Typical problem areas of interest include the traditional fields of structural analysis, heat ...
meshes, solve
facility location Facility location is a name given to several different problems in computer science and in game theory: * Facility location problem, the optimal placement of facilities as a function of transportation costs and other factors * Facility location (co ...
problems, analyze the time complexity of certain exponential-time search algorithms, and reconstruct the three-dimensional positions of objects from their two-dimensional images.


Algorithms


Seidel

gave an algorithm for low-dimensional linear programming that may be adapted to the LP-type problem framework. Seidel's algorithm takes as input the set and a separate set (initially empty) of elements known to belong to the optimal basis. It then considers the remaining elements one-by-one in a random order, performing violation tests for each one and, depending on the result, performing a recursive call to the same algorithm with a larger set of known basis elements. It may be expressed with the following pseudocode: function seidel(''S'', ''f'', ''X'') is ''R'' := empty set ''B'' := ''X'' for ''x'' in a random permutation of ''S'': if ''f''(''B'') ≠ ''f''(''B'' ∪ ): ''B'' := seidel(''R'', ''f'', ''X'' ∪ ) ''R'' := ''R'' ∪ return ''B'' In a problem with combinatorial dimension , the violation test in the th iteration of the algorithm fails only when is one of the remaining basis elements, which happens with probability at most . Based on this calculation, it can be shown that overall the expected number of violation tests performed by the algorithm is , linear in but worse than exponential in .


Clarkson

defines two algorithms, a recursive algorithm and an iterative algorithm, for linear programming based on random sampling techniques, and suggests a combination of the two that calls the iterative algorithm from the recursive algorithm. The recursive algorithm repeatedly chooses random samples whose size is approximately the square root of the input size, solves the sampled problem recursively, and then uses violation tests to find a subset of the remaining elements that must include at least one basis element: function recursive(''S'', ''f'') is ''X'' := empty set repeat ''R'' := a random subset of ''S'' with size d√n ''B'' := basis for ''R'' ∪ ''X'', computed recursively ''V'' := ''X'' := ''X'' ∪ ''V'' until ''V'' is empty return ''B'' In each iteration, the expected size of is , and whenever is nonempty it includes at least one new element of the eventual basis of . Therefore, the algorithm performs at most iterations, each of which performs violation tests and makes a single recursive call to a subproblem of size . Clarkson's iterative algorithm assigns weights to each element of , initially all of them equal. It then chooses a set of elements from at random, and computes the sets and as in the previous algorithm. If the total weight of is at most times the total weight of (as happens with constant probability) then the algorithm doubles the weights of every element of , and as before it repeats this process until becomes empty. In each iteration, the weight of the optimal basis can be shown to increase at a greater rate than the total weight of , from which it follows that the algorithm must terminate within iterations. By using the recursive algorithm to solve a given problem, switching to the iterative algorithm for its recursive calls, and then switching again to Seidel's algorithm for the calls made by the iterative algorithm, it is possible solve a given LP-type problem using violation tests. When applied to a linear program, this algorithm can be interpreted as being a dual
simplex method In mathematical optimization, Dantzig's simplex algorithm (or simplex method) is a popular algorithm for linear programming. The name of the algorithm is derived from the concept of a simplex and was suggested by T. S. Motzkin. Simplices are ...
. With certain additional computational primitives beyond the violation test and basis computation primitives, this method can be made deterministic.


Matoušek, Sharir, and Welzl

describe an algorithm that uses an additional property of linear programs that is not always held by other LP-type problems, that all bases have the same cardinality of each other. If an LP-type problem does not have this property, it can be made to have it by adding new dummy elements and by modifying the function to return the
ordered pair In mathematics, an ordered pair (''a'', ''b'') is a pair of objects. The order in which the objects appear in the pair is significant: the ordered pair (''a'', ''b'') is different from the ordered pair (''b'', ''a'') unless ''a'' = ''b''. (In con ...
of its old value and of the number , ordered
lexicographically In mathematics, the lexicographic or lexicographical order (also known as lexical order, or dictionary order) is a generalization of the alphabetical order of the dictionaries to sequences of ordered symbols or, more generally, of elements of a ...
. Rather than adding elements of ''S'' one at a time, or finding samples of the elements, describe an algorithm that removes elements one at a time. At each step it maintains a basis that may initially be the set of dummy elements. It may be described with the following pseudocode: function msw(''S'', ''f'', ''C'') is if ''S'' = ''C'' then return ''C'' choose a random element x of ''S'' \ ''C'' ''B'' = msw(''S'' \ ''x'', ''f'', ''C'') if ''f''(''B'') ≠ f(B ∪ ) then ''B'' := basis(''B'' ∪ ) ''B'' := msw(''S'', ''f'', ''B'') return ''B'' In most of the recursive calls of the algorithm, the violation test succeeds and the if statement is skipped. However, with a small probability the violation test fails and the algorithm makes an additional basis computation and then an additional recursive call. As the authors show, the expected time for the algorithm is linear in ''n'' and exponential in the square root of . By combining this method with Clarkson's recursive and iterative procedures, these two forms of time dependence can be separated out from each other, resulting in an algorithm that performs O(''dn'') violation tests in the outer recursive algorithm and a number that is exponential in the square root of in the lower levels of the algorithm.


Variations


Optimization with outliers

considers a variation of LP-type optimization problems in which one is given, together with the set and the objective function , a number ; the task is to remove elements from in order to make the objective function on the remaining set as small as possible. For instance, when applied to the smallest circle problem, this would give the smallest circle that contains all but of a given set of planar points. He shows that, for all non-degenerate LP-type problems (that is, problems in which all bases have distinct values) this problem may be solved in time , by solving a set of LP-type problems defined by subsets of .


Implicit problems

Some geometric optimization problems may be expressed as LP-type problems in which the number of elements in the LP-type formulation is significantly greater than the number of input data values for the optimization problem. As an example, consider a collection of points in the plane, each moving with constant velocity. At any point in time, the
diameter In geometry, a diameter of a circle is any straight line segment that passes through the center of the circle and whose endpoints lie on the circle. It can also be defined as the longest chord of the circle. Both definitions are also valid for ...
of this system is the maximum distance between two of its points. The problem of finding a time at which the diameter is minimized can be formulated as minimizing the pointwise maximum of quasiconvex functions, one for each pair of points, measuring the Euclidean distance between the pair as a function of time. Thus, it can be solved as an LP-type problem of combinatorial dimension two on a set of elements, but this set is significantly larger than the number of input points. describes an algorithm for solving implicitly defined LP-type problems such as this one in which each LP-type element is determined by a -tuple of input values, for some constant . In order to apply his approach, there must exist a ''decision algorithm'' that can determine, for a given LP-type basis and set of input values, whether is a basis for the LP-type problem determined by . Chan's algorithm performs the following steps: *If the number of input values is below some threshold value, find the set of LP-type elements that it determines and solve the resulting explicit LP-type problem. *Otherwise, partition the input values into a suitable number greater than of equal-sized subsets . *If is the objective function for the implicitly defined LP-type problem to be solved, then define a function that maps collections of subsets to the value of on the union of the collection. Then the collection of subsets and the objective function itself defines an LP-type problem, of the same dimension as the implicit problem to be solved. *Solve the (explicit) LP-type problem defined by using Clarkson's algorithm, which performs a linear number of violation tests and a polylogarithmic number of basis evaluations. The basis evaluations for may be performed by recursive calls to Chan's algorithm, and the violation tests may be performed by calls to the decision algorithm. With the assumption that the decision algorithm takes an amount of time that grows at least polynomially as a function of the input size , Chan shows that the threshold for switching to an explicit LP formulation and the number of subsets in the partition can be chosen in such a way that the implicit LP-type optimization algorithm also runs in time . For instance, for the minimum diameter of moving points, the decision algorithm needs only to calculate the diameter of a set of points at a fixed time, a problem that can be solved in time using the
rotating calipers In computational geometry, the method of rotating calipers is an algorithm design technique that can be used to solve optimization problems including finding the width or diameter of a set of points. The method is so named because the idea is an ...
technique. Therefore, Chan's algorithm for finding the time at which the diameter is minimized also takes time . Chan uses this method to find a point of maximal
Tukey depth In computational geometry, the Tukey depth is a measure of the depth of a point in a fixed set of points. The concept is named after its inventor, John Tukey. Given a set of points P in ''d''-dimensional space, a point ''p'' has Tukey depth ''k' ...
among a given collection of points in -dimensional Euclidean space, in time . A similar technique was used by to find a point of maximal Tukey depth for the uniform distribution on a convex polygon.


History and related problems

The discovery of linear time algorithms for linear programming and the observation that the same algorithms could in many cases be used to solve geometric optimization problems that were not linear programs goes back at least to , who gave a linear expected time algorithm for both three-variable linear programs and the smallest circle problem. However, Megiddo formulated the generalization of linear programming geometrically rather than combinatorially, as a
convex optimization Convex optimization is a subfield of mathematical optimization that studies the problem of minimizing convex functions over convex sets (or, equivalently, maximizing concave functions over convex sets). Many classes of convex optimization probl ...
problem rather than as an abstract problem on systems of sets. Similarly, and Clarkson (in the 1988 conference version of ) observed that their methods could be applied to convex programs as well as linear programs. showed that the minimum enclosing ellipsoid problem could also be formulated as a convex optimization problem by adding a small number of non-linear constraints. The use of randomization to improve the time bounds for low dimensional linear programming and related problems was pioneered by Clarkson and by . The definition of LP-type problems in terms of functions satisfying the axioms of locality and monotonicity is from , but other authors in the same timeframe formulated alternative combinatorial generalizations of linear programs. For instance, in a framework developed by , the function is replaced by a total ordering on the subsets of . It is possible to break the ties in an LP-type problem to create a total order, but only at the expense of an increase in the combinatorial dimension. Additionally, as in LP-type problems, Gärtner defines certain primitives for performing computations on subsets of elements; however, his formalization does not have an analogue of the combinatorial dimension. Another abstract generalization of both linear programs and
linear complementarity problem In mathematical optimization theory, the linear complementarity problem (LCP) arises frequently in computational mechanics and encompasses the well-known quadratic programming as a special case. It was proposed by Cottle and Dantzig in 1968. ...
s, formulated by and later studied by several other authors, concerns orientations of the edges of a
hypercube In geometry, a hypercube is an ''n''-dimensional analogue of a square () and a cube (). It is a closed, compact, convex figure whose 1- skeleton consists of groups of opposite parallel line segments aligned in each of the space's dimensions, ...
with the property that every face of the hypercube (including the whole hypercube as a face) has a unique sink, a vertex with no outgoing edges. An orientation of this type may be formed from an LP-type problem by corresponding the subsets of ''S'' with the vertices of a hypercube in such a way that two subsets differ by a single element if and only if the corresponding vertices are adjacent, and by orienting the edge between neighboring sets towards if and towards otherwise. The resulting orientation has the additional property that it forms a
directed acyclic graph In mathematics, particularly graph theory, and computer science, a directed acyclic graph (DAG) is a directed graph with no directed cycles. That is, it consists of vertices and edges (also called ''arcs''), with each edge directed from one ve ...
, from which it can be shown that a randomized algorithm can find the unique sink of the whole hypercube (the optimal basis of the LP-type problem) in a number of steps exponential in the square root of . The more recently developed framework of violator spaces generalizes LP-type problems, in the sense that every LP-type problem can be modeled by a violator space but not necessarily vice versa. Violator spaces are defined similarly to LP-type problems, by a function that maps sets to objective function values, but the values of are not ordered. Despite the lack of ordering, every set has a well-defined set of bases (the minimal sets with the same value as the whole set) that can be found by variations of Clarkson's algorithms for LP-type problems. Indeed, violator spaces have been shown to exactly characterize the systems that can be solved by Clarkson's algorithms.; .


Notes


References

*. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. {{refend Computational geometry Linear programming