pygsti.algorithms.grasp

pygsti.algorithms.grasp#

Functions to facilitate using GRASP.

Functions

neighboring_weight_vectors(weights[, ...])

Return the list of weights in the neighborhood of a given weight vector.

run_grasp(elements, greedy_score_fn, rcl_fn, ...)

Perform GRASP to come up with an optimal feasible set of elements.

run_grasp_iteration(elements, ...[, ...])

Perform one iteration of GRASP (greedy construction and local search).