QQ登录

只需要一步,快速开始

 注册地址  找回密码
查看: 2203|回复: 0
打印 上一主题 下一主题

[其他资源] 局部搜索算法2

[复制链接]
字体大小: 正常 放大

102

主题

5

听众

913

积分

升级  78.25%

  • TA的每日心情
    开心
    2013-4-28 12:11
  • 签到天数: 160 天

    [LV.7]常住居民III

    群组数学软件学习

    跳转到指定楼层
    1#
    发表于 2012-6-21 11:03 |只看该作者 |倒序浏览
    |招呼Ta 关注Ta
    In computer science, local search is a metaheuristic method for solving computationally hard optimization problems. Local search can be used on problems that can be formulated as finding a solution maximizing 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.. J# q3 R% s' h
    9 D; k9 |0 o; R% C* @
    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 and the 2-opt algorithm for the Traveling Salesman Problem.: y# u0 ~9 \! \6 ]
    ( f8 Z) q9 I0 A- ^4 }9 u( {, N- k
    Examples
    , p3 y2 Y5 L! ^
    * V' X  G/ h3 i# m6 ~Some problems where local search has been applied are:8 S& @0 C$ f5 M7 g9 f% s. X) h% @

    5 z0 `/ O+ U& D7 `* x* Z& {2 P! P    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
    & U; |( Y* ~% K, @- l4 F    The travelling 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
    ) A' u5 O$ y! b0 Y* W    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" v/ t' D4 p: z3 y
        The nurse scheduling problem where a solution is an assignment of nurses to shifts which satisfies all established constraints8 c: i" K+ c! H9 s. V
        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
    0 P  @' B- w$ a' h) A& k
    ! l% ]7 l4 p" j' FDescription
    - t* c' o3 p( v' k1 }: ~
    ! y2 O( E2 o$ }1 [$ Y! jMost problems can be formulated in terms of search space and target in several different manners. For example, for the travelling salesman problem a solution can be a cycle and the criterion to maximize is a combination of the number of nodes and the length of the cycle. But a solution can also be a path, and being a cycle is part of the target.& T9 a3 ~  s: W2 C. d0 c2 }

    : o/ [# B& W5 P& BA local search algorithm starts from a candidate solution and then iteratively moves to a neighbor solution. This is only possible if a neighborhood relation is defined on the search space. As an example, the neighborhood of a vertex cover is another vertex cover only differing by one node. For boolean satisfiability, the neighbors of a truth assignment are usually the truth assignments only differing from it by the evaluation of a variable. The same problem may have multiple different 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.9 v2 w/ [9 L6 ^' W8 i

    8 d+ m6 f  j5 rTypically, every candidate solution has more than one neighbor solution; the choice of which one to move to is taken using only information about the solutions in the neighborhood of the current one, hence the name local search. When the choice of the neighbor solution is done by taking the one locally maximizing the criterion, the metaheuristic takes the name hill climbing. When no improving configurations are present in the neighborhood, 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), 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.' x4 r% W& J0 C6 y

    ! P( I) t. A$ T. }2 Z2 O" g4 @+ ]Termination of local search can be based on a time bound. Another common choice is to terminate when the best solution found by the algorithm has not been 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 before it ends. Local search algorithms are typically approximation or incomplete algorithms, as the search may stop even if the best solution found by the algorithm is not optimal. This can happen even if termination is due to the impossibility of improving the solution, as the optimal solution can lie far from the neighborhood of the solutions crossed by the algorithms.
    2 b+ m! y, F3 x5 {0 L7 d/ A6 d: r
    For specific problems it is possible to devise neighborhoods which are very large, possibly exponentially sized. If the best solution within the neighborhood can be found efficiently, such algorithms are referred to as very large-scale neighborhood search algorithms.( n6 v9 }. Q' R: D, }. m. m

    ( e! H5 n5 {4 x5 CSee also
    7 @# ^  B/ X! b$ d1 ]& Q* I( z) t
    / z( P" h+ C% F# HLocal search is a sub-field of:
    % I3 S8 T7 z# Z& `( e8 ?- z) D3 j6 ]; x& ^
        Metaheuristics4 b. l* P! G+ {0 z4 N  a- Y
        Stochastic optimization3 \$ F- G# c2 h5 T( ^( ?
        Optimization
    " o/ E- v4 m4 V: A" B3 \" h: o" r& o2 q
    * U! w- F# E# H7 r% z- jFields within local search include:
    ) B6 V; @5 M0 Z- p/ N$ |' K+ Y% B! t
        Hill climbing, x# c% r( u: W: [) o/ m9 F
        Simulated annealing (suited for either local or global search)
    3 r6 O2 z1 t% l8 h+ }% p3 v* J    Tabu search  X8 u3 R6 r6 x! ]9 T
        Reactive search optimization (combining machine learning and local search heuristics)
    $ p( T; _- _  J* {/ F, d8 U! M
    ( ?* i- H- {9 r/ |3 g! ^5 E! IReal-valued search-spaces
    ) r/ ?( K7 ?; y# j% ]( K& J. E$ _& Y' I. R3 W
    Several methods exist for performing local search of real-valued search-spaces:$ W. @+ Y0 M, Y
    . F2 i  A* M" i5 D2 s/ I" l
        Luus–Jaakola searches locally using a uniform distribution and an exponentially decreasing search-range.  s4 ^9 [; b7 c: {8 g) Q* p
        Random optimization searches locally using a normal distribution.6 f; j2 S( e% h# P! N
        Random search searches locally by sampling a hypersphere surrounding the current position.+ b3 F" N) |# z1 P& J5 I
        Pattern search takes steps along the axes of the search-space using exponentially decreasing step sizes.
    ) `0 T1 Z1 Y7 e% x9 m3 w
    zan
    转播转播0 分享淘帖0 分享分享0 收藏收藏0 支持支持0 反对反对0 微信微信
    《舌尖上的中国》所呈现的不只是美食,还有文化。这种被现实挤压而仅存于小时候的记忆,让人回味的同时也唤 ...
    您需要登录后才可以回帖 登录 | 注册地址

    qq
    收缩
    • 电话咨询

    • 04714969085
    fastpost

    关于我们| 联系我们| 诚征英才| 对外合作| 产品服务| QQ

    手机版|Archiver| |繁體中文 手机客户端  

    蒙公网安备 15010502000194号

    Powered by Discuz! X2.5   © 2001-2013 数学建模网-数学中国 ( 蒙ICP备14002410号-3 蒙BBS备-0002号 )     论坛法律顾问:王兆丰

    GMT+8, 2025-9-3 01:23 , Processed in 0.479871 second(s), 53 queries .

    回顶部