GraspMixin._grasp
mixins.site_solvers.GraspMixin._grasp(
p,
objectives,
weights,
scorer,
num_solutions=5,
show_progress=False,
threshold_for_coverage=None,
alpha=0.2,
random_seed=42,
max_attempts='default',
min_sites_different=1,
local_search_chance=0.8,
max_swap_count_local_search=10,
max_value_cutoff=None,
full_secondary_metrics=False,
baseline_costs=None,
meaningful_change_threshold=0.0,
beyond_thresholds=None,
unreachable_cost=None,
)GRASP (Greedy Randomised Adaptive Search Procedure) for finding multiple near-optimal facility location solutions.
Every comparison below runs on scorer.normalise()’d values, where lower is always better – so this is unconditionally a minimisation. The is_minimization flag this replaced could only express a two-way split, and so could not represent a closest_to_target rank_on (an inter-tertile ratio is best at 1.0, with both larger and smaller values worse).