contramundum53

Results 12 issues of contramundum53

## Motivation This is a followup of #3389 and #3754. We refactor the tests of `plot_pareto_front`. ## Description of the changes Refactor the tests of `plot_pareto_front`. We first test whether...

code-fix
optuna.visualization
stale

## Motivation This is a follow-up PR to #3552. By slightly breaking backward compatibility of the interface of `ImportanceEvaluator`s, we could make further refactoring. ## Description of the changes We...

code-fix
optuna.integration
optuna.samplers
optuna.importance
no-stale

Kurobako has `evaluate` subcommand that evaluates a problem at a given set of params. However, when we want to repeatedly evaluate different sets of params and the problem needs to...

Currently, debugging subprocesses run by kurobako is rather painful. There can be multiple possible improvements. * We could show that "During study <study setting>, subprocess <id> finished with an error...

contribution-welcome

### Motivation Black-box optimization is inherently heuristic, and in many problems the algorithms don't work well out of the box but needs some hyper-hyper-parameter tuning. However, Optuna currently don't provide...

feature
needs-discussion

## Motivation This PR enhances the performance of `GPSampler` to the same level of (if not above) BoTorch. ## Description of the changes This PR introduces the following changes: *...

enhancement

### Motivation https://github.com/optuna/optuna/blob/3fcbf8839c760916cc0cf38fb545f526d5efe85d/optuna/study/study.py#L56 uses `threading.local`, but `contextvars` can make the code more sophisticated (https://peps.python.org/pep-0567/#converting-code-that-uses-threading-local). ### Suggestion Use `contextvars` instead of `threading.local`. ### Additional context (optional) _No response_

code-fix
needs-discussion

### Motivation `_CachedStorage` is only used from `RDBStorage`. It can be moved into `RDBStorage`. ### Suggestion Move `_CachedStorage` (https://github.com/optuna/optuna/blob/3fcbf8839c760916cc0cf38fb545f526d5efe85d/optuna/storages/_cached_storage.py#L38) into `RDBStorage`. ### Additional context (optional) _No response_

code-fix
needs-discussion

### Motivation Straightforward extension of #4546 for constrained objective functions. Currently `logei_candidate_func` does not support constraints, because `botorch.acquisition.analytic.LogExpectedImprovement` does not take constraint argument. However, BoTorch has a separate class `botorch.acquisition.analytic.LogConstrainedExpectedImprovement`...

feature
contribution-welcome

## Reference Issues/PRs ## What does this implement/fix? Explain your changes. The initial direction number of Sobol engine is not rectangular. This is likely unintentional.