Skip to content

Add DSG decoding and labeling support for graph-based optimization - #23

Merged
jbussemaker merged 8 commits into
jbussemaker:mainfrom
flatala:main
Oct 17, 2026
Merged

jbussemaker merged 8 commits into
jbussemaker:mainfrom
flatala:main

Conversation

@flatala

@flatala flatala commented Oct 14, 2026

Copy link
Copy Markdown
Contributor
  • Introduces DSGGraphDecoder that can decode DSG designs into SBArchOpt’s graph representations.
  • Adds node-owned DSG role labels and configurable constant/type labeling selection.
  • Introduces DSGSizingEncoder and DesignVariableSizingEncoder for exporting sizing values.

@jbussemaker jbussemaker left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thanks! One small change ;)

And then I'll wait with running the tests and merging once the new SBArchOpt has been released.

Comment thread adsg_core/optimization/graph_decoder.py Outdated
representations: Dict[Tuple[float, ...], "GraphRepresentation"] = field(default_factory=dict)


class DSGGraphDecoder:

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Shouldn't this inherit from sb_arch_opt.algo.arch_sbo.graph.representation.GraphDecoder? Please make this link explicit.

@jbussemaker
jbussemaker self-requested a review October 17, 2026 14:17
@jbussemaker
jbussemaker merged commit ac177c8 into jbussemaker:main Oct 17, 2026
10 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.

2 participants