Skip to content

Add ommitted forbidden relations to uniform copy of config space#1307

Open
bbudescu wants to merge 1 commit into
automl:mainfrom
bbudescu:fix/1306-forbiddens-randominit
Open

Add ommitted forbidden relations to uniform copy of config space#1307
bbudescu wants to merge 1 commit into
automl:mainfrom
bbudescu:fix/1306-forbiddens-randominit

Conversation

@bbudescu

@bbudescu bbudescu commented Apr 21, 2026

Copy link
Copy Markdown

Add forbidden clauses from original config space to newly created instance with uniformly distributed hyperparameters during initial random sampling.

Reference Issues/PRs

Fixes #1306

Description, Motivation and Context

I was getting crashes when running smac3 v2.4.0 because the configs generated during the initial random sampling phase weren't satisfying the forbidden clauses.

Changes

The code does the same thing for forbidden clauses that is already being done for conditions.

Type Of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

What is Missing?

  • code review

Checklist

  • My change is based on the latest stage of the develop branch.
  • My change required a change of the documentation, which has been done.
  • I checked that the documentation can be build, visualizes everything as expected, and does not contain any warnings.
  • I have added/adapted tests to cover my changes.
  • The tests can be executed successfully.
  • I have added a description of the changes to CHANGELOG.rst.

Any other comments?

Not sure, since this is a bugfix, am I supposed to also make a pull request on the main branch?

…tance with uniformly distributed hyperparameters
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

Successfully merging this pull request may close these issues.

[bug] Some generated configs don't satisfy forbiddens

1 participant