Using anneal-schedule failed
I used the following code snippet:
custom_schedule = [
(float(0.0), float(0.0)), # Start
(float(1.0), float(200.0)) # Ende: s=1.0
]
and got the following error message for several solvers:
SolverFailureError: invalid anneal_schedule: anneal fraction must end at 1.0
What is wrong in the code?
Thank you very much for your help!!
and got the following error message for several solvers:
SolverFailureError: invalid anneal_schedule: anneal fraction must end at 1.0
What is wrong in the code?
Thank you very much for your help!!
Comments
the tuples should be in the form (t,s), so you have to swap the values.
this is though identical with annealing_time=200
Check out this repo, which does a great job explaining and setting up schedules, pauses and quenches:
https://github.com/dwave-examples/anneal-schedule-notebook/blob/master/01-anneal-schedule.ipynb
Thank you very much!!
Please sign in to leave a comment.