Skip to content

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.

3 participants