Local search (optimization)

In computer science, local search is a heuristic method for solving computationally hard optimization problems. Local search can be used on problems that can be formulated as finding a solution that maximizes a criterion among a number of candidate solutions. Local search algorithms move from solution to solution in the space of candidate solutions (the search space) by applying local changes, until a solution deemed optimal is found or a time bound is elapsed.

Local search algorithms are widely applied to numerous hard computational problems, including problems from computer science (particularly artificial intelligence), mathematics, operations research, engineering, and bioinformatics. Examples of local search algorithms are WalkSAT, the 2-opt algorithm for the Traveling Salesman Problem and the Metropolis–Hastings algorithm.[1]

While it is sometimes possible to substitute gradient descent for a local search algorithm, gradient descent is not in the same family: although it is an iterative method for local optimization, it relies on an objective function’s gradient rather than an explicit exploration of the solution space.

Examples

Some problems where local search has been applied are:

  1. The vertex cover problem, in which a solution is a vertex cover of a graph, and the target is to find a solution with a minimal number of nodes
  2. The traveling salesman problem, in which a solution is a cycle containing all nodes of the graph and the target is to minimize the total length of the cycle
  3. The Boolean satisfiability problem, in which a candidate solution is a truth assignment, and the target is to maximize the number of clauses satisfied by the assignment; in this case, the final solution is of use only if it satisfies all clauses
  4. The nurse scheduling problem where a solution is an assignment of nurses to shifts which satisfies all established constraints
  5. The k-medoid clustering problem and other related facility location problems for which local search offers the best known approximation ratios from a worst-case perspective
  6. The Hopfield Neural Networks problem involves finding stable configurations in Hopfield network.

Description

Most problems can be formulated in terms of a search space and target in several different ways. For example, for the traveling salesman problem a solution can be a route visiting all cities and the goal is to find the shortest route. But a solution can also be a path, and being a cycle is part of the target.

A local search algorithm starts from a candidate solution and then iteratively moves to a neighboring solution; a neighborhood being the set of all potential solutions that differ from the current solution by the minimal possible extent. This requires a neighborhood relation to be defined on the search space. As an example, the neighborhood of vertex cover is another vertex cover only differing by one node. For Boolean satisfiability, the neighbors of a Boolean assignment are those that have a single variable in an opposite state. The same problem may have multiple distinct neighborhoods defined on it; local optimization with neighborhoods that involve changing up to k components of the solution is often referred to as k-opt.

Typically, every candidate solution has more than one neighbor solution; the choice of which one to select is taken using only information about the solutions in the neighborhood of the current assignment, hence the name local search. When the choice of the neighbor solution is done by taking the one locally maximizing the criterion, i.e.: a greedy search, the metaheuristic takes the name hill climbing. When no improving neighbors are present, local search is stuck at a locally optimal point. This local-optima problem can be cured by using restarts (repeated local search with different initial conditions), randomization, or more complex schemes based on iterations, like iterated local search, on memory, like reactive search optimization, on memory-less stochastic modifications, like simulated annealing.

Local search does not provide a guarantee that any given solution is optimal. The search can terminate after a given time bound or when the best solution found thus far has not improved in a given number of steps. Local search is an anytime algorithm; it can return a valid solution even if it's interrupted at any time after finding the first valid solution. Local search is typically an approximation or incomplete algorithm because the search may stop even if the current best solution found is not optimal. This can happen even if termination happens because the current best solution could not be improved, as the optimal solution can lie far from the neighborhood of the solutions crossed by the algorithm.

Schuurman & Southey propose three measures of effectiveness for local search (depth, mobility, and coverage):[2]

  • depth: the cost of the current (best) solution;
  • mobility: the ability to rapidly move to different areas of the search space (whilst keeping the cost low);
  • coverage: how systematically the search covers the search space, the maximum distance between any unexplored assignment and all visited assignments.

They hypothesize that local search algorithms work well, not because they have some understanding of the search space but because they quickly move to promising regions, and explore the search space at low depths as quickly, broadly, and systematically as possible.

See also

Local search is a sub-field of:

Fields within local search include:

Real-valued search-spaces

Several methods exist for performing local search of real-valued search-spaces:

References

  1. ^ "12LocalSearch.key" (PDF).
  2. ^ D. Schuurmans and F. Southey. Local search characteristics of in- complete SAT procedures. AI J., 132(2):121–150, 2001.

Bibliography

Read other articles:

Il Satya Yuga (सत्य युग) o Sat Yuga, letteralmente Età dell'Essere o Età della Verità, noto anche come Krta Yuga o Krita Yuga, letteralmente Età della Correttezza o Età dell'Ordinamento, nell'induismo è lo yuga (era o età) in cui il genere umano è governato dagli dei e ogni manifestazione o attività è vicina all'ideale più puro. È spesso associato all'età dell'oro.[1] Krisna con la sua eterna Radha. Indice 1 Il ciclo 2 Il Satya Yuga secondo i testi sacri 3 Il S…

BMW Seri-3 (E90)InformasiProdusenBMWMasa produksiDesember 2004 – Oktober 2011[1][2]Model untuk tahun2006 – 2011PerakitanLeipzig, JermanMunich, JermanToluca, MeksikoRegensburg, JermanPretoria, Afrika Selatan6th of October City, Mesir[3]Kaliningrad, Rusia[4]Shenyang, Tiongkok[5]Chennai, India[6] (CKD) Selangor, Malaysia[7][8]PerancangJoji Nagashima (Sedan: 2002)[1]Marc Michael Markefka (Coupe, Convertible: 2003)[9…

Georges BraqueNama dalam bahasa asli(fr) Georges Braque BiografiKelahiran13 Mei 1882 Argenteuil Kematian31 Agustus 1963 (81 tahun)Paris Tempat pemakamanVarengeville-Sur-Mer Churchyard (en) Data pribadiPendidikanBeaux-Arts de Paris École supérieure d'art et design Le Havre-Rouen (en) KegiatanSpesialisasiSeni lukis, seni visual, grafika dan seni pahat PekerjaanPemahat, pelukis, engraver (en), lithographer (en), perancang, perancang perhiasan, scenographer (en), seniman grafis, pembuat grafis, co…

Ah Nerede adalah sebuah seri drama romansa keluarga televisi Turki tahun 2022. Seri tersebut diadaptasi dari film yang berjudul sama yang diproduksi pada tahun 1975.[1] Sinopsis Tiga putra Hakim (Tarık Pabuççuoğlu) dan Seniha (Ayşe ubuk) erbetlioğlu, salah satu keluarga terkemuka Bursa, dikirim ke Istanbul untuk melanjutkan pendidikan ke universitas dan menjalani kehidupan yang sama sekali tidak mereka harapkan. Putra tengah mereka yang bernama Murat (Korhan Herduran) adalah pecand…

Aia kawa (bahasa Minangkabau: air kopi daun) atau kopi daun atau kawa daun adalah minuman dari daun kopi yang diseduh seperti teh yang berasal dari Sumatera Barat[1] dan Kerinci.[2] Daun kopi lokal pilihan awalnya dikeringkan dengan cara disangrai selama 12 jam. Saat akan diminum, daun kering ini dicampur dengan air dingin, lalu diseduh dengan air mendidih.[3] Di daerah Kerinci, minuman ini dikenal dengan sebutan air kawo.[2] Kawa daun dan gorengan Sejarah Kopi ka…

هذه المقالة تحتاج للمزيد من الوصلات للمقالات الأخرى للمساعدة في ترابط مقالات الموسوعة. فضلًا ساعد في تحسين هذه المقالة بإضافة وصلات إلى المقالات المتعلقة بها الموجودة في النص الحالي. (ديسمبر 2021) نادي جوزتيبي تأسس عام 1925  الملعب ملعب إزمير أتاتورك  [لغات أخرى]‏  ا…

Il movimento operaio è un movimento politico e sindacale. Il Quarto Stato, dipinto di Giuseppe Pellizza da Volpedo. Il movimento operaio consiste di due ali principali: il movimento sindacale da un lato, e il movimento politico del lavoro dall'altro lato. Il movimento sindacale consiste nell'organizzazione collettiva dei lavoratori sviluppata per rappresentare e fare campagne per migliori condizioni di lavoro e trattamento da parte dei loro datori di lavoro e, mediante l'attuazione delle leggi …

أدريان مارتينيز معلومات شخصية الميلاد 14 يوليو 1993 (العمر 30 سنة) الطول 1.86 م (6 قدم 1 بوصة) مركز اللعب مدافع الجنسية فنزويلا  معلومات النادي النادي الحالي الطائي الرقم 5 المسيرة الاحترافية1 سنوات فريق م. (هـ.) 2015 مينيروس دو غويانا 2016 LALA FC [الإنجليزية]‏ 2017–2018 Metropolitanos F.…

John B. Cobb Jr adalah salah seorang penggagas Teologi Proses di dalam kasanah teologi. Di dalam sistem teologinya ia menekankan tiga hal: Alam semesta, Kreativitas dan Tuhan Kreativitas atau creativity adalah sebuah istilah yang dicetuskan oleh Alfred North Whitehead untuk menunjukan suatu daya di alam semesta yang memungkinkan hadirnya entitas aktual yang baru berdasarkan entitas aktual-entitas aktual yang lain.[1] Kreativitas adalah prinsip kebaruan, novelty.[2] Dalam proses m…

Alexis Carrel BiografiKelahiran(fr) Marie-Joseph-Auguste Carrel-Billard 28 Juni 1873 Sainte-Foy-lès-Lyon Kematian5 November 1944 (71 tahun)Paris Wali penguasa Fondation française pour l'étude des problèmes humains (en) 1941 – 1944 Data pribadiAgamaKatolik PendidikanUniversity of Lyon (en) - Doctor of Medicine (en) (1889–1893)Saint-Marc Lycée (en) KegiatanSpesialisasiBedah, biologi, pathophysiology (en), Fisiologi dan bedah vaskular Pekerjaanahli biologi, physiologist (en),&…

Синелобый амазон Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:ЧелюстноротыеНадкласс:ЧетвероногиеКлада:АмниотыКлада:ЗавропсидыКласс:Птиц…

Синелобый амазон Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:ЧелюстноротыеНадкласс:ЧетвероногиеКлада:АмниотыКлада:ЗавропсидыКласс:Птиц…

Medical Research Institute in Kolkata, India National Institute of Cholera and Enteric DiseasesAbbreviationNICEDFormation 1962; 62 years ago (1962) as Cholera Research Centre 1979; 45 years ago (1979) renamed as NICED TypePublicLegal statusActivePurposeMedical researchHeadquartersKolkata, West Bengal, IndiaLocationP-33, CIT Road, Subhas Sarobar Park, Phool Bagan, BeleghataCoordinates22°33′53.51″N 88°23′49.18″E / 22.5648639°N 88.39699…

Villa NovaCalcio Leão do Bonfim, Leão Maluco, Glorioso, Maior do Interior, Time da Terra do Ouro, Alvirrubro Segni distintivi Uniformi di gara Casa Trasferta Colori sociali Rosso, bianco Dati societari Città Nova Lima Nazione  Brasile Confederazione CONMEBOL Federazione CBF Campionato Campionato Mineiro Fondazione 1908 Presidente Nélio Aurélio Allenatore Mancini Stadio Castor Cifuentes(15 000 posti) Palmarès Si invita a seguire il modello di voce Il Villa Nova Atlético Clube, no…

Indo-Aryan language native to the Punjab Punjabiਪੰਜਾਬੀپنجابی'Punjabi' written in Shahmukhi script (top) and Gurmukhi script used in (bottom)Pronunciation[pəɲˈdʒab̆.bi] ⓘNative toPakistan and IndiaRegion Punjab Hazara Azad Kashmir EthnicityPunjabisNative speakers148 million (2011–2017)[a]Language familyIndo-European Indo-IranianIndo-AryanNorthwesternPunjabiEarly formsPrakrit (debated)[b] Apabhraṃśa (debated) Old Punjabi[2] …

Questa voce sull'argomento borough dell'Alaska è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Borough di DenaliboroughLocalizzazioneStato Stati Uniti Stato federato Alaska AmministrazioneCapoluogoHealy Data di istituzione1990 TerritorioCoordinatedel capoluogo63°47′20″N 150°11′30″W / 63.788889°N 150.191667°W63.788889; -150.191667 (Borough di Denali)Coordinate: 63°47′20″N 150°11′30″W / 63.78…

Сельское поселение России (МО 2-го уровня)Новотитаровское сельское поселение Флаг[d] Герб 45°14′09″ с. ш. 38°58′16″ в. д.HGЯO Страна  Россия Субъект РФ Краснодарский край Район Динской Включает 4 населённых пункта Адм. центр Новотитаровская Глава сельского посел…

Державний комітет телебачення і радіомовлення України (Держкомтелерадіо) Приміщення комітетуЗагальна інформаціяКраїна  УкраїнаДата створення 2003Керівне відомство Кабінет Міністрів УкраїниРічний бюджет 1 964 898 500 ₴[1]Голова Олег НаливайкоПідвідомчі орг…

1994 song by Oasis For the REO Speedwagon song, see Wheels Are Turnin'. This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Rock 'n' Roll Star – news · newspapers · books · scholar · JSTOR (January 2016) (Learn how and when to remove this message) Rock 'n' Roll StarPromotional single by Oasisfrom the album Definite…

Cet article est une ébauche concernant l’administration territoriale française et la Seine-et-Marne. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants. Conseil départemental de Seine-et-Marne Logotype du Département de Seine-et-Marne Situation Pays France Région Île-de-France Département Seine-et-Marne Siège Melun Exécutif Président Jean-François Parigi (LR) Groupes politiques LR-DVD-C31 / 46 SER…

Kembali kehalaman sebelumnya