**Combinatorial optimization** is a subfield of mathematical optimization that is related to operations research, algorithm theory, and computational complexity theory. It has important applications in several fields, including artificial intelligence, machine learning, auction theory, software engineering, applied mathematics and theoretical computer science.

**Combinatorial optimization** is a topic that consists of finding an optimal object from a finite set of objects.^{[1]} In many such problems, exhaustive search is not tractable. It operates on the domain of those optimization problems in which the set of feasible solutions is discrete or can be reduced to discrete, and in which the goal is to find the best solution. Typical problems are the travelling salesman problem ("TSP"), the minimum spanning tree problem ("MST"), and the knapsack problem.

Some research literature^{[2]} considers discrete optimization to consist of integer programming together with combinatorial optimization (which in turn is composed of optimization problems dealing with graph structures) although all of these topics have closely intertwined research literature. It often involves determining the way to efficiently allocate resources used to find solutions to mathematical problems.

## Applications

Applications for combinatorial optimization include, but are not limited to:

- Logistics
^{[3]} - Supply chain optimization
^{[4]} - Developing the best airline network of spokes and destinations
- Deciding which taxis in a fleet to route to pick up fares
- Determining the optimal way to deliver packages
- Working out the best allocation of jobs to people
- Designing water distribution networks
- Earth Science problems (e.g. reservoir flow-rates)
^{[5]}

## Methods

There is a large amount of literature on polynomial-time algorithms for certain special classes of discrete optimization, a considerable amount of it unified by the theory of linear programming. Some examples of combinatorial optimization problems that fall into this framework are shortest paths and shortest-path trees, flows and circulations, spanning trees, matching, and matroid problems.

For NP-complete discrete optimization problems, current research literature includes the following topics:

- polynomial-time exactly solvable special cases of the problem at hand (e.g. see fixed-parameter tractable)
- algorithms that perform well on "random" instances (e.g. for TSP)
- approximation algorithms that run in polynomial time and find a solution that is "close" to optimal
- solving real-world instances that arise in practice and do not necessarily exhibit the worst-case behavior inherent in NP-complete problems (e.g. TSP instances with tens of thousands of nodes
^{[6]}).

Combinatorial optimization problems can be viewed as searching for the best element of some set of discrete items; therefore, in principle, any sort of search algorithm or metaheuristic can be used to solve them. Perhaps the most universally applicable approaches are branch-and-bound (an exact algorithm which can be stopped at any point in time to serve as heuristic), branch-and-cut (uses linear optimisation to generate bounds), dynamic programming (a recursive solution construction with limited search window) and tabu search (a greedy-type swapping algorithm). However, generic search algorithms are not guaranteed to find an optimal solution first, nor are they guaranteed to run quickly (in polynomial time). Since some discrete optimization problems are NP-complete, such as the traveling salesman problem^{[citation needed]}, this is expected unless P=NP.

## Formal definition

Formally, a combinatorial optimization problem is a quadruple^{[citation needed]} , where

- is a set of instances;
- given an instance , is the finite set of feasible solutions;
- given an instance and a feasible solution of , denotes the measure of , which is usually a positive real.
- is the goal function, and is either or .

The goal is then to find for some instance an *optimal solution*, that is, a feasible solution with

For each combinatorial optimization problem, there is a corresponding decision problem that asks whether there is a feasible solution for some particular measure . For example, if there is a graph which contains vertices and , an optimization problem might be "find a path from to that uses the fewest edges". This problem might have an answer of, say, 4. A corresponding decision problem would be "is there a path from to that uses 10 or fewer edges?" This problem can be answered with a simple 'yes' or 'no'.

In the field of approximation algorithms, algorithms are designed to find near-optimal solutions to hard problems. The usual decision version is then an inadequate definition of the problem since it only specifies acceptable solutions. Even though we could introduce suitable decision problems, the problem is more naturally characterized as an optimization problem.^{[7]}

## NP optimization problem

An *NP-optimization problem* (NPO) is a combinatorial optimization problem with the following additional conditions.^{[8]} Note that the below referred polynomials are functions of the size of the respective functions' inputs, not the size of some implicit set of input instances.

- the size of every feasible solution is polynomially bounded in the size of the given instance ,
- the languages and can be recognized in polynomial time, and
- is polynomial-time computable.

This implies that the corresponding decision problem is in NP. In computer science, interesting optimization problems usually have the above properties and are therefore NPO problems. A problem is additionally called a P-optimization (PO) problem, if there exists an algorithm which finds optimal solutions in polynomial time. Often, when dealing with the class NPO, one is interested in optimization problems for which the decision versions are NP-complete. Note that hardness relations are always with respect to some reduction. Due to the connection between approximation algorithms and computational optimization problems, reductions which preserve approximation in some respect are for this subject preferred than the usual Turing and Karp reductions. An example of such a reduction would be the L-reduction. For this reason, optimization problems with NP-complete decision versions are not necessarily called NPO-complete.^{[9]}

NPO is divided into the following subclasses according to their approximability:^{[8]}

*NPO(I)*: Equals FPTAS. Contains the Knapsack problem.*NPO(II)*: Equals PTAS. Contains the Makespan scheduling problem.*NPO(III)*: :The class of NPO problems that have polynomial-time algorithms which computes solutions with a cost at most*c*times the optimal cost (for minimization problems) or a cost at least of the optimal cost (for maximization problems). In Hromkovič's book, excluded from this class are all NPO(II)-problems save if P=NP. Without the exclusion, equals APX. Contains MAX-SAT and metric TSP.*NPO(IV)*: :The class of NPO problems with polynomial-time algorithms approximating the optimal solution by a ratio that is polynomial in a logarithm of the size of the input. In Hromkovic's book, all NPO(III)-problems are excluded from this class unless P=NP. Contains the set cover problem.*NPO(V)*: :The class of NPO problems with polynomial-time algorithms approximating the optimal solution by a ratio bounded by some function on n. In Hromkovic's book, all NPO(IV)-problems are excluded from this class unless P=NP. Contains the TSP and Max Clique problems.

An NPO problem is called *polynomially bounded* (PB) if, for every instance and for every solution , the measure is bounded by a polynomial function of the size of . The class NPOPB is the class of NPO problems that are polynomially-bounded.

## Specific problems

- Assignment problem
- Closure problem
- Constraint satisfaction problem
- Cutting stock problem
- Dominating set problem
- Integer programming
- Knapsack problem
- Minimum relevant variables in linear system
- Minimum spanning tree
- Nurse scheduling problem
- Set cover problem
- Traveling salesman problem
- Vehicle rescheduling problem
- Vehicle routing problem
- Weapon target assignment problem

## See also

## Notes

**^**Schrijver 2003, p. 1.**^***Discrete Optimization*. Elsevier. Retrieved 2009-06-08.**^**Sbihi, Abdelkader; Eglese, Richard W. (2007). "Combinatorial optimization and Green Logistics" (PDF).*4OR*.**5**(2): 99–116. doi:10.1007/s10288-007-0047-3. S2CID 207070217.**^**Eskandarpour, Majid; Dejax, Pierre; Miemczyk, Joe; Péton, Olivier (2015). "Sustainable supply chain network design: An optimization-oriented review" (PDF).*Omega*.**54**: 11–32. doi:10.1016/j.omega.2015.01.006.**^**Hobé, Alex; Vogler, Daniel; Seybold, Martin P.; Ebigbo, Anozie; Settgast, Randolph R.; Saar, Martin O. (2018). "Estimating fluid flow rates through fracture networks using combinatorial optimization".*Advances in Water Resources*. arXiv:1801.08321. doi:10.1016/j.advwatres.2018.10.002.**^**Cook 2016.**^**Ausiello, Giorgio; et al. (2003),*Complexity and Approximation*(Corrected ed.), Springer, ISBN 978-3-540-65431-5- ^
^{a}^{b}Hromkovic, Juraj (2002),*Algorithmics for Hard Problems*, Texts in Theoretical Computer Science (2nd ed.), Springer, ISBN 978-3-540-44134-2 **^**Kann, Viggo (1992),*On the Approximability of NP-complete Optimization Problems*, Royal Institute of Technology, Sweden, ISBN 91-7170-082-X**^**Take one city, and take all possible orders of the other 14 cities. Then divide by two because it does not matter in which direction in time they come after each other: 14!/2 = 43,589,145,600.

## References

- Beasley, J. E. "Integer programming" (lecture notes).

- Cook, William J.; Cunningham, William H.; Pulleyblank, William R.; Schrijver, Alexander (1997).
*Combinatorial Optimization*. Wiley. ISBN 0-471-55894-X.

- Cook, William (2016). "Optimal TSP Tours". University of Waterloo.
*(Information on the largest TSP instances solved to date.)*

- Crescenzi, Pierluigi; Kann, Viggo; Halldórsson, Magnús; Karpinski, Marek; Woeginger, Gerhard (eds.). "A Compendium of NP Optimization Problems".
*(This is a continuously updated catalog of approximability results for NP optimization problems.)*

- Das, Arnab; Chakrabarti, Bikas K, eds. (2005).
*Quantum Annealing and Related Optimization Methods*. Lecture Notes in Physics.**679**. Springer. Bibcode:2005qnro.book.....D.

- Das, Arnab; Chakrabarti, Bikas K (2008). "Colloquium: Quantum annealing and analog quantum computation".
*Rev. Mod. Phys*.**80**(3): 1061. arXiv:0801.2193. Bibcode:2008RvMP...80.1061D. CiteSeerX 10.1.1.563.9990. doi:10.1103/RevModPhys.80.1061. S2CID 14255125.

- Lawler, Eugene (2001).
*Combinatorial Optimization: Networks and Matroids*. Dover. ISBN 0-486-41453-1.

- Lee, Jon (2004).
*A First Course in Combinatorial Optimization*. Cambridge University Press. ISBN 0-521-01012-8.

- Papadimitriou, Christos H.; Steiglitz, Kenneth (July 1998).
*Combinatorial Optimization : Algorithms and Complexity*. Dover. ISBN 0-486-40258-4.

- Schrijver, Alexander (2003).
*Combinatorial Optimization: Polyhedra and Efficiency*. Algorithms and Combinatorics.**24**. Springer. ISBN 9783540443896.CS1 maint: ref=harv (link)

- Schrijver, Alexander (2005). "On the history of combinatorial optimization (till 1960)" (PDF). In Aardal, K.; Nemhauser, G.L.; Weismantel, R. (eds.).
*Handbook of Discrete Optimization*. Elsevier. pp. 1–68.

- Schrijver, Alexander (February 1, 2006).
*A Course in Combinatorial Optimization*(PDF).

- ; Ghosh, Diptesh (2010).
*Networks in Action; Text and Computer Exercises in Network Optimization*. Springer. ISBN 978-1-4419-5512-8.

- Gerard Sierksma; Yori Zwols (2015).
*Linear and Integer Optimization: Theory and Practice*. CRC Press. ISBN 978-1-498-71016-9.

- Pintea, C-M. (2014).
*Advances in Bio-inspired Computing for Combinatorial Optimization Problem*. Intelligent Systems Reference Library. Springer. ISBN 978-3-642-40178-7.