Skip to content

Fix nesting structs in generators. #176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Fix nesting structs in generators. #176

wants to merge 4 commits into from

Conversation

hfytr
Copy link

@hfytr hfytr commented Aug 6, 2025

This pr allows nesting of structures in generators passed to constraint, objective, etc. the recent commits to ExaModelsPower.jl#archimj are fixed by this pr.

@sshin23
Copy link
Collaborator

sshin23 commented Aug 6, 2025

@hfytr could you add a test for this?

@sshin23
Copy link
Collaborator

sshin23 commented Aug 6, 2025

might be useful to have 2-level and 3-level

@hfytr
Copy link
Author

hfytr commented Aug 6, 2025

Is it ok if i just add the static case opf from ExaModelsPower?

@sshin23
Copy link
Collaborator

sshin23 commented Aug 6, 2025

You can create a small example script by modifying what's inside /test

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