Metraipolis › archive › dc_3d1fad83c117
Optimal substructure — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Optimal_substructure
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-07T23:19:26.169Z
- SHA-256 of the archived text
3ba737d91a6c44c084c6ef074ea866ec6ca630e7a92020c3bcb31b6a943d2dc3- Stable URL of this page
https://metraipolis.com/documento/dc_3d1fad83c117
How to cite
Optimal substructure — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Optimal_substructure (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_3d1fad83c117 (Metraipolis archive dc_3d1fad83c117, sha256 3ba737d91a6c44c084c6ef074ea866ec6ca630e7a92020c3bcb31b6a943d2dc3)
BibTeX
@misc{dc3d1fad83c117,
title = {Optimal substructure — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Optimal_substructure},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_3d1fad83c117; sha256 3ba737d91a6c44c084c6ef074ea866ec6ca630e7a92020c3bcb31b6a943d2dc3},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Optimal_substructure. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
In computer science, a problem is said to have optimal substructure if an optimal solution can be constructed from optimal solutions of its subproblems. This property is used to determine the usefulness of greedy algorithms for a problem. Typically, a greedy algorithm is used to solve a problem with optimal substructure if it can be proven by induction that this is optimal at each step. Otherwise, provided the problem exhibits overlapping subproblems as well, divide-and-conquer methods or dynamic programming may be used. If there are no appropriate greedy algorithms and the problem fails to exhibit overlapping subproblems, often a lengthy but straightforward search of the solution space is the best alternative. In the application of dynamic programming to mathematical optimization, Richard Bellman's Principle of Optimality is based on the idea that in order to solve a dynamic optimization problem from some starting period t to some ending period T, one implicitly has to solve subproblems starting from later dates s, where t<s<T. This is an example of optimal substructure. The Principle of Optimality is used to derive the Bellman equation, which shows how the value of the problem starting from t is related to the value of the problem starting from s. Tema degli esploratori: matematica e informatica teorica (deposito sistematico; ricerca «mathematical optimization»). Fonte: Wikipedia in inglese, voce «Optimal substructure» — https://en.wikipedia.org/wiki/Optimal_substructure Wikidata Q2333568 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q2333568 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Optimal_substructure?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1285865919, consultata il 2026-10-07T22:56:34.225Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 9b4725ff055c5fdea2c66a4ac46040f1fe80f8fa55b2189239e0d11da5373157