Skip to content

Comments

Xopt Importer; Problem Wrapper#45

Merged
electronsandstuff merged 17 commits intomainfrom
pierce/xopt-wrappers-loaders
Feb 24, 2026
Merged

Xopt Importer; Problem Wrapper#45
electronsandstuff merged 17 commits intomainfrom
pierce/xopt-wrappers-loaders

Conversation

@electronsandstuff
Copy link
Owner

@electronsandstuff electronsandstuff commented Feb 20, 2026

This PR adds in a problem wrapper for Xopt as well as tools to load data from its output.

  • New wrapper class XoptProblemWrapper
  • New importer import_cnsga_history for CNSGA generator
  • New importer import_nsga2_history for NSGA2 generator and convenience function import_nsga2_history_dir which accepts output_dir
  • Unit tests for wrappers and importers
  • Modernize test dependencies, python tests Github workflow.

TODO

  • Add unit test for import_cnsga_history
  • Check VOCs names are carried over
  • Check VOCs directions/ constraints are set correctly
  • Add unit test for XoptProblemWrapper
  • Add function to load from NSGA2Generator output directory

@electronsandstuff electronsandstuff merged commit e14752f into main Feb 24, 2026
13 checks passed
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.

1 participant