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

For discussion: Add API for removing minimize constraints and updating projection atoms #527

Merged
merged 5 commits into from
Dec 2, 2024

Conversation

BenKaufmann
Copy link
Contributor

This PR is inspired by Issue 525: Projective Solution Enumeration via Python API.

It extends clingo's C and Python-API with functions for removing minimize constraints and adding/replacing sets of projection atoms.

* Add clingo_control_update_project() for appending to or replacing
  the set of atoms to project on.

* Add add_project() and replace_project() to python control API.
@BenKaufmann BenKaufmann requested a review from rkaminsk November 26, 2024 09:22
@rkaminsk
Copy link
Member

Thanks, I'll have a look next week.

@rkaminsk rkaminsk merged commit 9a67244 into wip Dec 2, 2024
3 of 4 checks passed
@rkaminsk rkaminsk deleted the issue-525 branch December 2, 2024 13:56
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