Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Limit the amount of solutions returned by GetSolutions() #61

Open
@FraCappo87Sky

Description

@FraCappo87Sky

I am currently using python-constraint to generate specific budget allocations I can then feed into an optimisation engine. The constraints these allocations must obey are quite complex and python-constraint proves to be really useful in finding them.
I would need to generate just a limited amount of allocations, however the current implementation of GetSolutions() aims always at computing all of them. As a consequence sometimes it takes ages to get access to any useful result.
Wouldn't be possible to add an additional parameter in GetSolutions() to tune the number of solutions the solver has to produce? This would help in reducing the amount of time a user has to wait to get some result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions