Content deleted Content added
Add search space section |
|||
(20 intermediate revisions by 14 users not shown) | |||
Line 1:
{{Short description|Problem of finding the best feasible solution}}
{{Broader|Mathematical optimization}}
In [[mathematics]],
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 * 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 [[Continuity (mathematics)|continuous]] optimization problem is<ref>{{cite book|title=Convex Optimization|first1=Stephen P.|last1=Boyd|first2=Lieven|last2=Vandenberghe|page=129|year=2004|publisher=Cambridge University Press|isbn=978-0-521-83378-3|url=
&\underset{x}{\operatorname{minimize}}& & f(x) \\
&\operatorname{subject\;to}
Line 12 ⟶ 25:
\end{align}</math>
where
* {{math|''f'' : [[Euclidean space|ℝ<sup>''n''</sup>]] → [[Real numbers|ℝ]]}} is the
* {{math|''g<sub>i</sub>''(''x'') ≤ 0}} are called
* {{math|''h<sub>j</sub>''(''x'') {{=}} 0}} are called
* {{math|''m'' ≥ 0}} and {{math|''p'' ≥ 0}}.
Line 21 ⟶ 34:
==Combinatorial optimization problem==
{{Main|Combinatorial optimization}}
Formally, a [[combinatorial optimization]] problem {{mvar|A}} is a quadruple{{Citation needed|date=January 2018}} {{math|(''I'', ''f'', ''m'', ''g'')}}, where
* {{math|I}} is a [[Set (mathematics)|set]] of instances;
* given an instance {{math|''x'' ∈ ''I''}}, {{math|''f''(''x'')}} is the set of feasible solutions;
* given an instance {{mvar|x}} and a feasible solution {{mvar|y}} of {{mvar|x}}, {{math|''m''(''x'', ''y'')}} denotes the [[Measure (mathematics)|measure]] of {{mvar|y}}, which is usually a [[Positive (mathematics)|positive]] [[Real number|real]].
* {{mvar|g}} is the goal function, and is either {{math|[[Minimum (mathematics)
The goal is then to find for some instance {{mvar|x}} an ''optimal solution'', that is, a feasible solution {{mvar|y}} with
▲: <math>m(x, y) = g \bigl\{ m(x, y') \mid y' \in f(x) \bigr\} .</math>
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''<sub>0</sub>}}. For example, if there is a [[Graph (discrete mathematics)|graph]] {{mvar|G}} which contains vertices {{mvar|u}} and {{mvar|v}}, an optimization problem might be "find a path from {{mvar|u}} to {{mvar|v}} 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 {{mvar|u}} to {{mvar|v}} that uses 10 or fewer edges?" This problem can be answered with a simple 'yes' or 'no'.
Line 42 ⟶ 55:
|display-authors=etal}}</ref>
==See also==
*
*
*[[Function problem]]▼
* {{annotated link|Ekeland's variational principle}}
*[[Glove problem]]▼
*[[Operations research]] ▼
*[[Search problem]] ▼
*[[Semi-infinite programming]]▼
* {{annotated link|Satisficing}} − the optimum need not be found, just a "good enough" solution.
==References==
{{reflist}}
==External links==
*{{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 }}▼
▲* {{cite web
{{Convex analysis and variational analysis}}
{{Authority control}}
[[Category:Computational problems]]
|