{"action":"closed","issue":{"url":"https://api.github.com/repos/chocoteam/choco3/issues/344","labels_url":"https://api.github.com/repos/chocoteam/choco3/issues/344/labels{/name}","comments_url":"https://api.github.com/repos/chocoteam/choco3/issues/344/comments","events_url":"https://api.github.com/repos/chocoteam/choco3/issues/344/events","html_url":"https://github.com/chocoteam/choco3/issues/344","id":115517083,"number":344,"title":"Activity search strategy creates an infinite search loop","user":{"login":"JLiangWaterloo","id":1310718,"avatar_url":"https://avatars.githubusercontent.com/u/1310718?v=3","gravatar_id":"","url":"https://api.github.com/users/JLiangWaterloo","html_url":"https://github.com/JLiangWaterloo","followers_url":"https://api.github.com/users/JLiangWaterloo/followers","following_url":"https://api.github.com/users/JLiangWaterloo/following{/other_user}","gists_url":"https://api.github.com/users/JLiangWaterloo/gists{/gist_id}","starred_url":"https://api.github.com/users/JLiangWaterloo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JLiangWaterloo/subscriptions","organizations_url":"https://api.github.com/users/JLiangWaterloo/orgs","repos_url":"https://api.github.com/users/JLiangWaterloo/repos","events_url":"https://api.github.com/users/JLiangWaterloo/events{/privacy}","received_events_url":"https://api.github.com/users/JLiangWaterloo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-06T14:40:35Z","updated_at":"2015-11-09T14:21:03Z","closed_at":"2015-11-09T14:21:03Z","body":"For example:\r\n\r\n```java\r\npublic static void main(String[] args) {\r\n    Solver s = new Solver();\r\n    BoolVar a = VF.bool(\"a\", s);\r\n\r\n    s.set(ISF.activity(new IntVar[]{a}, 0));\r\n    if (s.findSolution()) {\r\n        do {\r\n            System.out.println(a);\r\n        } while (s.nextSolution());\r\n    }\r\n}\r\n```\r\n\r\nThis program never terminates."}}