Content deleted Content added
m Bot: Cleaning up old interwiki links |
Add search space section |
||
(48 intermediate revisions by 31 users not shown) | |||
Line 1:
{{Short description|Problem of finding the best feasible solution}}
{{Broader|Mathematical optimization}}
In [[mathematics]], [[engineering]], [[computer science]] and [[economics]], an '''optimization problem''' is the [[Computational problem|problem]] of finding the ''best'' solution from all [[feasible solution]]s.
Optimization problems can be divided into two categories, depending on whether the [[Variable (mathematics)|variables]] are [[continuous variable|continuous]] or [[discrete variable|discrete]]:
* An optimization problem with discrete variables is known as a ''[[discrete optimization]]'', in which an [[Mathematical object|object]] such as an [[integer]], [[permutation]] or [[Graph (discrete mathematics)|graph]] must be found from a [[countable set]].
* A problem with continuous variables is known as a ''[[continuous optimization]]'', in which an optimal value from a [[continuous function]] must be found. They can include [[Constrained optimization|constrained problem]]s and multimodal problems.
== Search space ==
In the context of an optimization problem, the '''search space''' refers to the set of all possible points or solutions that satisfy the problem's constraints, targets, or goals.<ref>{{Cite web |title=Search Space |url=https://courses.cs.washington.edu/courses/cse473/06sp/GeneticAlgDemo/searchs.html |access-date=2025-05-10 |website=courses.cs.washington.edu}}</ref> These points represent the feasible solutions that can be evaluated to find the optimal solution according to the objective function. The search space is often defined by the ___domain of the function being optimized, encompassing all valid inputs that meet the problem's requirements.<ref>{{Cite web |date=2020-09-22 |title=Search Space - LessWrong |url=https://www.lesswrong.com/w/search-space |access-date=2025-05-10 |website=www.lesswrong.com |language=en}}</ref>
The search space can vary significantly in size and complexity depending on the problem. For example, in a continuous optimization problem, the search space might be a multidimensional real-valued ___domain defined by bounds or constraints. In a discrete optimization problem, such as combinatorial optimization, the search space could consist of a finite set of permutations, combinations, or configurations.
In some contexts, the term ''search space'' may also refer to the optimization of the ___domain itself, such as determining the most appropriate set of variables or parameters to define the problem. Understanding and effectively navigating the search space is crucial for designing efficient algorithms, as it directly influences the computational complexity and the likelihood of finding an optimal solution.
==Continuous optimization problem==
The ''[[Canonical form|standard form]]'' of a
&\underset{x}{\operatorname{minimize}}& & f(x) \\
&\operatorname{subject\;to}
& &g_i(x) \leq 0, \quad i = 1,\dots,m \\
&&&
\end{align}</math>
where
*
*
*
* {{math|''m'' ≥ 0}} and {{math|''p'' ≥ 0}}.
By convention, the standard form defines a '''minimization problem'''. A '''maximization problem''' can be treated by [[Additive inverse|negating]] the objective function.▼
▲If {{math|''m'' {{=}} ''p'' {{=}} 0}}, the problem is an unconstrained optimization problem. By convention, the standard form defines a '''minimization problem'''. A '''maximization problem''' can be treated by [[Additive inverse|negating]] the objective function.
==Combinatorial optimization problem==
{{Main|Combinatorial optimization}}
Formally, a [[combinatorial optimization]] problem
*
* given an instance
* given an instance
*
The goal is then to find for some instance
For each combinatorial optimization problem, there is a corresponding [[decision problem]] that asks whether there is a feasible solution for some particular measure
▲m(x, y) = g \{ m(x, y') \mid y' \in f(x) \} .
▲For each combinatorial optimization problem, there is a corresponding [[decision problem]] that asks whether there is a feasible solution for some particular measure <math>m_0</math>. For example, if there is a [[Graph (discrete mathematics)|graph]] <math>G</math> which contains vertices <math>u</math> and <math>v</math>, an optimization problem might be "find a path from <math>u</math> to <math>v</math> 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 <math>u</math> to <math>v</math> that uses 10 or fewer edges?" This problem can be answered with a simple 'yes' or 'no'.
In the field of [[approximation algorithm]]s, 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.<ref name=Ausiello03>{{citation
Line 42 ⟶ 55:
|display-authors=etal}}</ref>
==See also==
* {{annotated link|Design Optimization}}
* {{annotated link|Ekeland's variational principle}}
* {{annotated link|Glove problem}}
* {{annotated link|Operations research}}
* {{annotated link|Satisficing}} − the optimum need not be found, just a "good enough" solution.
==References==▼
▲==References==
{{reflist}}
==
▲*[[Semi-infinite programming]]
▲*[[Search problem]]
▲*[[Counting problem (complexity)]]
▲*[[Function problem]]
* {{cite web|title=How Traffic Shaping Optimizes Network Bandwidth|work=IPC|date=12 July 2016|access-date=13 February 2017|url=https://www.ipctech.com/how-traffic-shaping-optimizes-network-bandwidth}}
{{Convex analysis and variational analysis}}
{{Authority control}}
[[Category:Computational problems]]
|