Algorithm parameter space 2026-11-05
An algorithm parameter space, commonly written , is the set of allowed settings for a parameterized algorithm. It is the search space of algorithm configuration, rather than the set of problem instances that the target algorithm must solve. ParamILS explicitly accounts for parameters whose relevance depends on other settings.[ref]
For an original finite example, let a mode be either or . Mode has an extra setting , while mode ignores . A rectangular encoding has tuples, but only four distinct effective configurations:
The star means that the conditional algorithm parameter is inactive. Treating the three encodings of as three distinct experiments spends effort revisiting the same behavior. If is a forbidden parameter combination, the valid effective space has three members.
The representation also determines what a nearby configuration means. A search that changes one active parameter can move among the settings or change mode; changing an inactive value alone does not change behavior. Thus the number of encoded tuples, number of meaningful settings and neighborhood used by local search are separate design choices.
Continuous settings require declared ranges and a search method that supports them; replacing a range with a finite grid changes the problem being searched. Whatever the representation, a returned setting must be valid in before its measured cost can be compared with other candidates.
Consider the chosen finite minimization problem
Only adjacent integers are neighbors. At each interior state propose left or right with probability each; at an endpoint propose its sole neighbor with probability and itself with probability . This proposal distribution is symmetric, including at the endpoints. The local minimum at is relative to these allowed moves; is the unique global minimum.
Figure 1.
An uphill step opens a route out of a local minimum in a chosen five-state problem
. Points are the only allowed states; joining lines show adjacency, not additional feasible points. Starting at , improving-only local search is trapped. The possible route first raises the objective function by , then lowers it twice. Details.
At , improving-only local search rejects both neighbors because and exceed . For simulated annealing, choose , using the natural logarithm. Conditional on proposing from , the acceptance probability is
The one-step transition probability is instead . Both subsequent rightward proposals are downhill, so the conditional probability of the precise next three states being , given and fixed , is
This is one possible escape route, not the probability of eventually reaching . Rejections, excursions toward , and repeated attempts give many other sample paths. The calculation establishes possibility, without claiming a general performance advantage from a selected sample path.
For comparison, halving makes the uphill acceptance probability ; doubling it makes that probability . Cooling makes it harder to leave this local minimum, even though the stationary distribution increasingly favors the global minimum. That tension is the central scheduling problem.
Heuristic optimization 2026-10-13
Heuristic optimization seeks useful feasible solutions without necessarily providing a universal approximation ratio or a polynomial worst-case guarantee. Examples are local search, simulated annealing and tabu search. A claimed approximation algorithm needs a separate proved performance guarantee.
Hill climbing Created 2026-10-25 Updated 2026-11-05
A local search method that retains one current candidate and repeatedly chooses an improving neighbor of its objective. For a conflict-minimization constraint satisfaction problem, a candidate can assign all variables within their constraint domains while violating some inter-variable constraints; the objective counts those violations. Zero conflicts certifies a solution, while a positive-conflict local minimum need not certify impossibility. Plateaus and local minima motivate sideways moves, randomized choices and restarting. Prescribed variables must remain fixed in every initialization and move.
Iterated local search 2026-11-05
Iterated local search is a metaheuristic that alternates perturbation, local search and acceptance decisions. The local search improves candidates within a declared optimization neighborhood; perturbation helps reach other locally optimal solutions.[ref]
For minimization, start with and generate , where performs local search and perturbs its input. Accepting only or accepting every candidate are two possible rules.[ref]
For an original complete example, let feasible solutions be the integers through , with neighbors differing by one and objective values
Strictly improving local search starting at moves to and stops: its two neighbors have costs and , both worse than . Perturb the solution from to , allowing a temporary rise to cost . Local improvement then follows , reaching cost , which is the global minimum by inspection of the complete list. The perturbation escaped the first local minimum without requiring the local improvement rule itself to cross an uphill edge.
Perturbation and acceptance must work together: weak changes can return to the same local minimum. The authors’ travelling salesman problem comparison used ten runs of 120 seconds on a Pentium 266 MHz PC, illustrating why evaluation must specify the embedded search and computational budget.[ref]
An iterated local search acceptance rule chooses the next current solution after a perturbation has been followed by local search. Let the current locally improved solution be and the new locally improved candidate be , with a minimized objective function . The decision concerns these search states, not just the potentially poor intermediate output of the local-search perturbation.[ref]
One rule accepts only improvement:
The paper calls this policy Better. Its current costs cannot increase, which follows immediately from the two cases. That property does not establish that the search will reach a global minimum. The RW rule instead retains the latest candidate regardless of cost, allowing movement among locally improved solutions.[ref]
For an original numerical comparison, suppose . A perturbation temporarily raises the cost to18, and subsequent local search lowers it to12. Better rejects the candidate with cost12, while RW accepts it; neither decision is made by comparing10 with the intermediate18. If the same procedure instead reaches cost8, both accept.
A simulated annealing-type option accepts a worse candidate with probability , with . At cost difference2 and , this probability is . The temperature is a parameter of the rule, not a guarantee that a particular finite run escapes every trap.[ref]
A permissive current-state rule can retain a candidate worse than an earlier result. Keeping a separate best-so-far solution preserves that result while allowing exploration. Report both the current-state acceptance policy and the best-result bookkeeping when comparing search runs.
Local search 2026-10-14
Local search repeatedly improves a feasible solution within a specified neighborhood until no improving move remains. For an allocation, neighbors can transfer an item or exchange items between bidders while preserving the partition. A local optimum need not be a global optimum; restarting from several initial solutions can explore different basins.
Local-search perturbation 2026-11-05
A local-search perturbation deliberately changes the current solution before local search resumes. In iterated local search, the perturbation and improvement form a composite step: , where changes the candidate and applies the chosen local improvement procedure. The perturbation need not improve the objective function; a later iterated local search acceptance rule decides which improved candidate becomes current.[ref]
A fully specified example shows why a weak perturbation can be ineffective. Let feasible solutions be the integers through , with neighbors differing by one, and costs
Use strictly improving, best-neighbor local search. Starting at5 is locally optimal: its only neighbor4 has cost3, above the current cost1. A one-step kick to4 is immediately undone by local improvement, which returns to5.
A different kick from5 to2 temporarily raises the cost to4, but the subsequent improving path is , with costs . The resulting candidate beats the old stopping point. These values are an original constructed example; they show how changing the perturbation can change which solution the same local search reaches.
Perturbation strength therefore concerns more than accepting a single worse local move. Too little change may repeatedly return to the same solution, while a nearly independent redraw can discard useful structure from the current candidate. Feasibility must also be handled explicitly: either the perturbation stays within the feasible set or the method specifies how an infeasible intermediate is repaired. Problem-specific moves and acceptance decisions must be evaluated together.[ref]
Olivier C. Martin 2026-11-05
Olivier C. Martin coauthored the 2001 survey Iterated Local Search by Helena R. Lourenço and others with Helena Ramalhinho Dias Lourenço and Thomas Stützle. Its title page identifies him with Université Paris-Sud, Orsay. The survey describes searching over outputs of an embedded optimizer, rather than treating every feasible solution as an equally likely search state.[ref]
An original finite example distinguishes uniformly chosen starting states from uniformly chosen local minima. Let a deterministic local search operator map six possible starts as follows:
Here are its three possible locally optimized outputs. A uniform random start reaches them with probabilities , and , not each. This follows simply by counting the starts mapped to each output. It is a chosen abstract optimizer map, not a claim about a particular benchmark landscape.
In iterated local search, a local-search perturbation followed by induces another transition mechanism on those outputs. Its probabilities depend on both components. Consequently a chain of locally optimized candidates is not automatically a uniform sample of local minima, nor does it automatically have a prescribed equilibrium distribution. The optimizer and transition rule must be specified before making such sampling claims.
Optimization neighborhood 2026-11-05
An optimization neighborhood assigns to each feasible solution a set of candidates reachable by the chosen elementary moves. It need not be a neighborhood in a previously chosen geometric metric, nor must reachability be symmetric. For minimization, a solution is locally optimal under these moves when
Changing can change that conclusion while leaving the objective function unchanged. Specifying the embedded local search is therefore part of specifying an iterated local search method.[ref]
For a complete binary string example, let the feasible set contain all eight strings of length three. Assign , , and for the other six strings. With one-bit flips,
so is a strict local optimum. Allowing flips of one or two bits adds , but all six neighbors still cost . Allowing three-bit flips finally reaches , so ceases to be locally optimal. The best value in the entire feasible set is throughout; the move rule changes what the local procedure can see.
For length , the one-bit-flip neighborhood has members, while including all two-bit flips adds members. A larger neighborhood may expose an improving move but cost more to examine. The corresponding directed graph has feasible solutions as vertices and a directed edge from to each member of . If this graph cannot reach a region from the initial solution, even repeated local moves cannot explore that region without a different move or a restart.
For the three-colourability problem, represent a candidate by a complete colour assignment , initially chosen at random. Give it the conflict objective function
A neighbor changes the colour of one vertex to either other colour. For hill climbing, maximize , or equivalently repeatedly choose a recolouring that reduces . One can inspect all neighbors, or focus on conflicted vertices and evaluate their alternative colours using only incident edges. Stop successfully as soon as , which is exactly a proper graph colouring with three colours.
If no improving move exists at positive , the method is stuck in a local minimum. Random restarts, limited sideways moves or other exploratory local search choices can reduce this failure mode, but do not turn a finite unsuccessful run into a proof of impossibility. On a graph with no proper graph colouring using three colours, every complete colouring has , so this procedure cannot return a valid colouring. Conversely, a positive-conflict stopping point also occurs on some graphs admitting a proper graph colouring with three colours. Failure of hill climbing alone does not certify non-colourability. For a concrete trap, use a bipartite graph with three vertices on each side and every cross-edge, and give each side one vertex of each colour. There are three conflicts. Recolouring any single vertex leaves it with exactly one same-colour neighbor, so no single change improves , even though colouring each whole side differently solves the instance.
A useful local search state is any occupied-square subset , allowing temporary attacks. Let count unordered attacking pairs and . Maximize
ACTIONS can offer insertion at an empty square, deletion of an occupied square, and relocation of one knight to an empty square. RESULT is respectively , , and . Insertions and deletions alone connect the whole state space; relocation is a useful additional proposal.
Every conflicting state has , whereas the empty board has score zero. Every conflict-free state has score exactly its knight count. Hence every global maximizer is a maximum-size nonattacking placement. If a knight participates in conflicts, deleting it changes the score by , so a positive-conflict local stopping point cannot persist when improving deletions are considered.
From a random board, choose score-improving moves, with random restarts or occasional non-improving proposals to escape poor conflict-free local optima. A maximal placement is not necessarily a maximum placement: accepting only legal insertions can get stuck too early. This objective function defines the intended optimization precisely; a finite heuristic run still gives no general global-optimality certificate.
Represent a feasible allocation by a label for each item saying which bidder receives it. Every such label vector gives disjoint bundles covering all items, so the following heuristic optimization methods can search without violating allocation feasibility.
In local search, begin with any feasible partition and repeatedly make an improving move, such as transferring one item between bidders or exchanging two items. For a transfer , evaluate the change
Stop when no allowed move improves the objective. Several starting partitions can avoid dependence on one local optimum, but no guarantee of a global optimum follows for general bids.
In simulated annealing, use the same feasible neighborhood but also accept a worsening move of loss with probability at temperature . Begin with a relatively high temperature, gradually cool, and retain the best allocation seen. Worsening moves can cross a barrier between local optima; a practical finite cooling schedule does not guarantee optimality.
In tabu search, retain a short memory of recent transfers or exchanges and temporarily prohibit their reversal. Select the best admissible move, possibly worsening the objective, to escape a local optimum. Permit an otherwise tabu move if it improves the best solution found, an aspiration rule. For the winner determination problem, bidder/item pairs or recent reverse transfers provide convenient tabu attributes. All three methods preserve the partition, but for arbitrary bids they are heuristics rather than algorithms with a proved constant approximation ratio.
Tabu search Created 2026-10-14 Updated 2026-11-05
Tabu search keeps a short-term memory of recently reversed moves or visited attributes and prohibits them temporarily, reducing cycling in local search. It can select the best admissible neighbor even when that neighbor worsens the objective; an aspiration rule permits a tabu move when it improves the best known solution. For allocations, transfers and exchanges maintain feasibility and recent reverse transfers can be tabu.
Thomas Stützle 2026-11-05
Thomas Stützle researches computational optimization, including local search and algorithm configuration. His author-maintained IRIDIA homepage describes the irace configuration software and its use of racing algorithms.[ref] He also coauthored Iterated Local Search by Helena R. Lourenço and others with Helena Ramalhinho Dias Lourenço and Olivier C. Martin.[ref]
The modular iterated local search framework keeps the embedded local search distinct from a local-search perturbation and the subsequent acceptance decision. That separation makes a solver's settings part of the experimental description rather than incidental implementation detail.
An original budget comparison illustrates a configuration pitfall. Suppose setting A takes per objective evaluation and setting B takes , with all other costs neglected. In a budget they can perform and evaluations respectively. Comparing both after evaluations instead gives B twice as much time. Neither evaluation count nor elapsed time is inherently the wrong budget; the comparison must state which resource is constrained. These are hypothetical costs, not irace timings.
This is why algorithm configuration and algorithm selection are related but distinct: one tunes a parameterized solver, while the other chooses among candidates for an instance. A useful evaluation records the tuned parameters, computational budget and held-out instances alongside solution quality.