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

Stronger nvalue/2 constraint #8

Open
triska opened this issue Jan 28, 2017 · 0 comments
Open

Stronger nvalue/2 constraint #8

triska opened this issue Jan 28, 2017 · 0 comments

Comments

@triska
Copy link
Owner

triska commented Jan 28, 2017

An interesting use case for the global constraint nvalue/2 is described by @hugoferreira at:

http://stackoverflow.com/questions/41496348/equivalent-of-nvalue-2-from-sicstus-in-swiprolog

For example, if one is trying to distribute stuff into bags of different sizes, and want to minimize the number of bags.

A working implementation of nvalue/2 is now available in CLP(Z).

It should become a bit stronger, and also detect entailment.

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

No branches or pull requests

1 participant