By using a warm start and the Adam optimizer on public test #1, I got an approximation ratio of ~0.89 (beating the expected ~0.58). However, my solution failed because the grader uses np.allclose() to demand an exact match.
Since the goal of QAOA is to optimize performance, shouldn’t the pass condition be approximation_ratio >= target_threshold? It makes you wonder if an exact-match checker is really the fairest way to evaluate a variational algorithm, since it actively penalizes you for finding a better minimum.
Don’t know if using exploits should be way to go in these code challenges. I got the same ratio as @jajapuramshivasai by improving the initial parameters selection method; at the end, its a better ratio and my probabilities-vs-state plot shows the yielded answer is a solution for the problem. I think this QAOA challenge should be checked by the reviewers.
That doesn’t make sense. AI wouldn’t suddenly write “return []” as the solution for such a problem, and I don’t even think they’ll rejudge the solutions if they ever fix the checker.