def heuristics_v{version}(demand: np.ndarray, capacity: int) -> np.ndarray: