Title: Limit the amount of solutions returned by GetSolutions() · Issue #61 · python-constraint/python-constraint · GitHub
Open Graph Title: Limit the amount of solutions returned by GetSolutions() · Issue #61 · python-constraint/python-constraint
X Title: Limit the amount of solutions returned by GetSolutions() · Issue #61 · python-constraint/python-constraint
Description: 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...
Open Graph Description: 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-...
X Description: 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-...
Opengraph URL: https://github.com/python-constraint/python-constraint/issues/61
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Limit the amount of solutions returned by GetSolutions()","articleBody":"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.\r\nI 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.\r\nWouldn'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.","author":{"url":"https://github.com/FraCappo87Sky","@type":"Person","name":"FraCappo87Sky"},"datePublished":"2020-07-13T09:00:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/61/python-constraint/issues/61"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1a4dff1f-9cd4-4db4-8e88-a1795d599685 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D748:809B4:2E1D58:3F589F:696E6DE3 |
| html-safe-nonce | 839fe2062c0389dc1f0c68a43489ac33952ea920c5079157d8fbacbf5c6e7307 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzQ4OjgwOUI0OjJFMUQ1ODozRjU4OUY6Njk2RTZERTMiLCJ2aXNpdG9yX2lkIjoiNjc1MjIxMjM5NjcwMjMzMDM0MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d7ee62c7e41e2912159a5dd87b5d00d56368e14a986eb842c19bd3aa650c0482 |
| hovercard-subject-tag | issue:655675139 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-constraint/python-constraint/61/issue_layout |
| twitter:image | https://opengraph.githubassets.com/118bf22147dc720eaab9a64963acc05bee219849a1b96821ec9721ada3186187/python-constraint/python-constraint/issues/61 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/118bf22147dc720eaab9a64963acc05bee219849a1b96821ec9721ada3186187/python-constraint/python-constraint/issues/61 |
| og:image:alt | 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-... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | FraCappo87Sky |
| hostname | github.com |
| expected-hostname | github.com |
| None | dd24262d9e4947a6c63df018b01e9a6da49caaf8259148a56a04b665d15d66b3 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-constraint/python-constraint git https://github.com/python-constraint/python-constraint.git |
| octolytics-dimension-user_id | 14961635 |
| octolytics-dimension-user_login | python-constraint |
| octolytics-dimension-repository_id | 43628779 |
| octolytics-dimension-repository_nwo | python-constraint/python-constraint |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 43628779 |
| octolytics-dimension-repository_network_root_nwo | python-constraint/python-constraint |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 307ab96ec5f21762ff6c530a60b1ef6b1e74dd5a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width