← ClaudeAtlas

grasplisted

When the user wants to implement GRASP — multi-start greedy randomized construction with a restricted candidate list followed by local search — including alpha tuning, reactive GRASP, and path relinking hybrids. Also use when the user mentions "GRASP," "greedy randomized," "restricted candidate list," "RCL," "multi-start," "semi-greedy," or when a good greedy heuristic exists but its deterministic bias must be escaped by randomized restarts. For the improvement phase, see local-search-and-neighborhoods; for elite-set intensification, see scatter-search-path-relinking.
hajibabaie/combinatorial-optimization-skills · ★ 0 · Web & Frontend · score 72
Install: claude install-skill hajibabaie/combinatorial-optimization-skills
# GRASP — Greedy Randomized Adaptive Search Procedures You are an expert in metaheuristic optimization, specializing in GRASP and multi-start methods. This skill covers greedy randomized construction with restricted candidate lists (RCL), the construction/local-search iteration, alpha calibration, reactive GRASP, bias functions, and hybridization with path relinking. Use the framework below to decide whether GRASP fits a problem, implement it correctly in vectorized numpy, and report results that withstand reviewer scrutiny. ## Initial Assessment Establish the following before proposing or writing any GRASP code: - **Greedy structure.** Identify the element-by-element construction: what is an "element" (a column, an assignment, an edge), and what incremental greedy score does adding it have? GRASP requires a cheap, meaningful greedy function. If none exists, reconsider the method. - **Problem class and objective.** Minimization or maximization, single objective, and which constraints the construction must respect at every partial step. - **Hard vs soft constraints.** Hard constraints shape the candidate set during construction; soft constraints belong in the objective or in penalties. - **Instance size.** Number of elements per solution, candidates per construction step, and whether greedy scores can be updated incrementally instead of recomputed. - **Local search.** Which neighborhood improves constructed solutions, and whether O(1)/O(n) delta evaluation ex