Title: Allow to provide "soft constraint" · Issue #70 · python-constraint/python-constraint · GitHub
Open Graph Title: Allow to provide "soft constraint" · Issue #70 · python-constraint/python-constraint
X Title: Allow to provide "soft constraint" · Issue #70 · python-constraint/python-constraint
Description: It'd be nice to have an option to provide a weight to a constraint. When there is no solution, the constraints with the smallest weight can be dropped (or ignored) in order to achieve a solution. Would be also useful when wanting to prov...
Open Graph Description: It'd be nice to have an option to provide a weight to a constraint. When there is no solution, the constraints with the smallest weight can be dropped (or ignored) in order to achieve a solution. W...
X Description: It'd be nice to have an option to provide a weight to a constraint. When there is no solution, the constraints with the smallest weight can be dropped (or ignored) in order to achieve a solutio...
Opengraph URL: https://github.com/python-constraint/python-constraint/issues/70
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow to provide \"soft constraint\"","articleBody":"It'd be nice to have an option to provide a weight to a constraint. \r\nWhen there is no solution, the constraints with the smallest weight can be dropped (or ignored) in order to achieve a solution.\r\n\r\nWould be also useful when wanting to provide a default value to a variable, without enforcing it when it's not able to assign that value due to constraints.\r\n","author":{"url":"https://github.com/nbahar-intel","@type":"Person","name":"nbahar-intel"},"datePublished":"2022-10-20T22:19:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/70/python-constraint/issues/70"}
| 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:3ab678da-3c20-320a-a1e9-d551dc61f2b9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A6F8:365318:1D6D2A:279AC9:696E6E05 |
| html-safe-nonce | ca450ed04a6b6552f96f23021bbc9a2cb4d238e8439d6c4decb2da3b5e06d930 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkY4OjM2NTMxODoxRDZEMkE6Mjc5QUM5OjY5NkU2RTA1IiwidmlzaXRvcl9pZCI6IjIwODg2NzM1MDAxMDMzMzk1MjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1ea03509d769b742a6faff56f20422cb85213d3979b0f3542f7a807b6b58a7dd |
| hovercard-subject-tag | issue:1417386359 |
| 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/70/issue_layout |
| twitter:image | https://opengraph.githubassets.com/64f56f8a496cd683e99f9d482365de8ec0962fc85cb76766b3e15cbb628d0286/python-constraint/python-constraint/issues/70 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/64f56f8a496cd683e99f9d482365de8ec0962fc85cb76766b3e15cbb628d0286/python-constraint/python-constraint/issues/70 |
| og:image:alt | It'd be nice to have an option to provide a weight to a constraint. When there is no solution, the constraints with the smallest weight can be dropped (or ignored) in order to achieve a solution. W... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nbahar-intel |
| 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