Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beta_min and beta_max must be consistent with changing vartype #220

Open
K-Suzuki-Jij opened this issue Oct 22, 2021 · 0 comments
Open

beta_min and beta_max must be consistent with changing vartype #220

K-Suzuki-Jij opened this issue Oct 22, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@K-Suzuki-Jij
Copy link
Collaborator

The cooling schedule does not seem to be consistent with changing vartype

import openjij as oj
model = oj.BinaryPolynomialModel({(0,1):-1}, "SPIN")
res = oj.SASampler().sample_hubo(model.to_hising(), "SPIN")
res.info['schedule']
{'beta_max': 2.302585092994046, 'beta_min': 0.34657359027997264, 'num_sweeps': 1000}

res = oj.SASampler().sample_hubo(model.to_hubo(), "BINARY")
res.info['schedule']
{'beta_max': 1.5350567286626973, 'beta_min': 0.11552453009332421, 'num_sweeps': 1000}

Above two cases should have the same cooling schedule.
This inconsistency also occurs in sample_ising and sample_qubo.

@K-Suzuki-Jij K-Suzuki-Jij added the enhancement New feature or request label Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant