{"action":"closed","issue":{"url":"https://api.github.com/repos/chocoteam/choco-solver/issues/428","repository_url":"https://api.github.com/repos/chocoteam/choco-solver","labels_url":"https://api.github.com/repos/chocoteam/choco-solver/issues/428/labels{/name}","comments_url":"https://api.github.com/repos/chocoteam/choco-solver/issues/428/comments","events_url":"https://api.github.com/repos/chocoteam/choco-solver/issues/428/events","html_url":"https://github.com/chocoteam/choco-solver/issues/428","id":162664021,"number":428,"title":"Regression: reifyWith(ONE) (or ZERO) does not work","user":{"login":"cprudhom","id":1171872,"avatar_url":"https://avatars.githubusercontent.com/u/1171872?v=3","gravatar_id":"","url":"https://api.github.com/users/cprudhom","html_url":"https://github.com/cprudhom","followers_url":"https://api.github.com/users/cprudhom/followers","following_url":"https://api.github.com/users/cprudhom/following{/other_user}","gists_url":"https://api.github.com/users/cprudhom/gists{/gist_id}","starred_url":"https://api.github.com/users/cprudhom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cprudhom/subscriptions","organizations_url":"https://api.github.com/users/cprudhom/orgs","repos_url":"https://api.github.com/users/cprudhom/repos","events_url":"https://api.github.com/users/cprudhom/events{/privacy}","received_events_url":"https://api.github.com/users/cprudhom/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-06-28T11:33:33Z","updated_at":"2016-06-29T09:27:29Z","closed_at":"2016-06-29T09:27:29Z","body":"```java\r\nModel m = new Model();\r\nIntVar row[] = m.intVarArray(\"r\", 3, 0, 5);\r\nBoolVar one = m.boolVar(true);\r\nm.sum(row, \"=\", 5).reifyWith(one);\r\n```\r\nthrows an error.\r\n\r\nThere are two options to fix the issue:\r\n- allowing `FixedBoolVarImpl` to define a not,\r\n- by-passing the reification by posting directly the constraint (or its opposite)\r\n\r\n(Related to: #402)"}}
{"actor":{"display_login":"cprudhom"}}