Skip to content

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

Merged
rkaminsk merged 5 commits intowipfrom
issue-525
Dec 2, 2024
Merged

For discussion: Add API for removing minimize constraints and updating projection atoms#527
rkaminsk merged 5 commits intowipfrom
issue-525

Conversation

@BenKaufmann
Copy link
Copy Markdown
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
Copy Markdown
Member

Thanks, I'll have a look next week.

@rkaminsk rkaminsk merged commit 9a67244 into wip Dec 2, 2024
@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