SolverFailureError: quadratic must be a sequence of length 93
I'm running into an issue where I suddenly start seeing solver failures halfway through running a jupyter notebook. I'm calling the solver inside a loop, and it runs successfully 38 times and then always fails on the 39th time, with the error 'SolverFailureError: quadratic must be a sequence of length 93.'
I'm having difficulty diagnosing the problem, given that the binary quadratic model is of the same size and structure as it was in the previous 38 runs so there's no reason the embedding should suddenly stop working. Nothing seems obviously different about the 39th run.
Does anyone know what this error message might mean?
Comments
Hello,
Sorry you are having trouble with your code. Let's try to get you back up and running.
Are you able to share a minimal code example that reproduces the behaviour?
Also can you please share the whole stack trace to help better understand the error?
Thanks for reaching out!
Thank you very much! I can't really share a minimal code example, because as noted, this only happens in one very specific context (on the 39th run of a specific loop of code) and I don't know what is causing it. But please find below the stack trace, in case that helps!
Please sign in to leave a comment.