Skip to content
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

Native solver unified access #505

Merged
merged 2 commits into from
Jul 18, 2024
Merged

Native solver unified access #505

merged 2 commits into from
Jul 18, 2024

Conversation

ThomSerg
Copy link
Collaborator

When going though the documentation on how to access a native solver object, I saw that it always happens though the cpmpy solver's private field. That field also has a different name for each solver. I propose a unified way to access the native solver that is hidden behind each cpmpy solver: s.native_model

@Wout4
Copy link
Collaborator

Wout4 commented Jul 18, 2024

great, when using direct solver access you will still need to know about that solver's api but this is already a step less :)

@Wout4 Wout4 merged commit cdd80f4 into master Jul 18, 2024
1 check failed
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