Skip to content

Reconfigurable search spaces#268

Merged
thopkins32 merged 15 commits intomainfrom
recon-search-space
Mar 27, 2026
Merged

Reconfigurable search spaces#268
thopkins32 merged 15 commits intomainfrom
recon-search-space

Conversation

@josephhanrahan
Copy link
Copy Markdown
Collaborator

Allow updating RangeDOF bounds mid-experiment with Agent.reconfigure_search_space().

Closes #245

Copy link
Copy Markdown
Collaborator

@thopkins32 thopkins32 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed offline:

  • DOF key handled at agent level
  • str key handled at optimizer level
  • ChoiceDOF support

Copy link
Copy Markdown
Collaborator

@thopkins32 thopkins32 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks correct. I wonder if we can reduce the amount of validation we do. I imagine Ax does some internal validation. They have more parameter metadata so they can probably validate much better than we can.

Can you check what happens with your current tests if we remove all validation logic?

Comment thread src/blop/ax/optimizer.py Outdated
Comment thread src/blop/ax/optimizer.py Outdated
Comment thread src/blop/ax/optimizer.py Outdated
@thopkins32 thopkins32 merged commit e3dbae6 into main Mar 27, 2026
20 checks passed
@thopkins32 thopkins32 deleted the recon-search-space branch March 27, 2026 17:58
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.

Reconfigurable search spaces

2 participants