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

time_limit keyword is not used in fit method #21

Open
aivarsoo opened this issue Apr 24, 2024 · 0 comments
Open

time_limit keyword is not used in fit method #21

aivarsoo opened this issue Apr 24, 2024 · 0 comments

Comments

@aivarsoo
Copy link

The time_limit keyword is not used in the fit

def fit(
self,
X: npt.ArrayLike,
y: npt.ArrayLike,
*,
alpha: typing.Optional[float] = None,
num_features: typing.Optional[int] = None,
time_limit: typing.Optional[float] = None,
) -> SelectFromQuadraticModel:

The variable time_limit is not passed to the solver, instead, an internal variable is passed.

sampleset = sampler.sample_cqm(cqm, time_limit=self.time_limit,
label=f"{self.__module__}.{type(self).__qualname__}")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant