{"action":"created","comment":{"url":"https://api.github.com/repos/DynareTeam/dynare/pulls/comments/137513889","pull_request_review_id":61190414,"id":137513889,"diff_hunk":"@@ -0,0 +1,36 @@\n+function RV = parallel_wrapper( objective_function, XV, varargin )\n+    n = size( XV, 2 );\n+    RV = zeros( 1, n );\n+    \n+    global objective_function_penalty_base","path":"matlab/optimization/parallel_wrapper.m","position":5,"original_position":5,"commit_id":"e666a44f47cb2e7cd6569342545fae2178b939dc","original_commit_id":"628c19823f2d6878a268d3465c8ba1a3c8971151","user":{"login":"JohannesPfeifer","id":3679304,"avatar_url":"https://avatars2.githubusercontent.com/u/3679304?v=4","gravatar_id":"","url":"https://api.github.com/users/JohannesPfeifer","html_url":"https://github.com/JohannesPfeifer","followers_url":"https://api.github.com/users/JohannesPfeifer/followers","following_url":"https://api.github.com/users/JohannesPfeifer/following{/other_user}","gists_url":"https://api.github.com/users/JohannesPfeifer/gists{/gist_id}","starred_url":"https://api.github.com/users/JohannesPfeifer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohannesPfeifer/subscriptions","organizations_url":"https://api.github.com/users/JohannesPfeifer/orgs","repos_url":"https://api.github.com/users/JohannesPfeifer/repos","events_url":"https://api.github.com/users/JohannesPfeifer/events{/privacy}","received_events_url":"https://api.github.com/users/JohannesPfeifer/received_events","type":"User","site_admin":false},"body":"@tholden We removed this global variable in  #1051. Why are you reintroducing it? ","created_at":"2017-09-07T11:29:39Z","updated_at":"2017-09-07T11:29:39Z","html_url":"https://github.com/DynareTeam/dynare/pull/1508#discussion_r137513889","pull_request_url":"https://api.github.com/repos/DynareTeam/dynare/pulls/1508","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/DynareTeam/dynare/pulls/comments/137513889"},"html":{"href":"https://github.com/DynareTeam/dynare/pull/1508#discussion_r137513889"},"pull_request":{"href":"https://api.github.com/repos/DynareTeam/dynare/pulls/1508"}}},"pull_request":{"url":"https://api.github.com/repos/DynareTeam/dynare/pulls/1508","id":139773860,"html_url":"https://github.com/DynareTeam/dynare/pull/1508","diff_url":"https://github.com/DynareTeam/dynare/pull/1508.diff","patch_url":"https://github.com/DynareTeam/dynare/pull/1508.patch","issue_url":"https://api.github.com/repos/DynareTeam/dynare/issues/1508","number":1508,"state":"open","locked":false,"title":"Optimization parallel support","user":{"login":"tholden","id":3310647,"avatar_url":"https://avatars2.githubusercontent.com/u/3310647?v=4","gravatar_id":"","url":"https://api.github.com/users/tholden","html_url":"https://github.com/tholden","followers_url":"https://api.github.com/users/tholden/followers","following_url":"https://api.github.com/users/tholden/following{/other_user}","gists_url":"https://api.github.com/users/tholden/gists{/gist_id}","starred_url":"https://api.github.com/users/tholden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tholden/subscriptions","organizations_url":"https://api.github.com/users/tholden/orgs","repos_url":"https://api.github.com/users/tholden/repos","events_url":"https://api.github.com/users/tholden/events{/privacy}","received_events_url":"https://api.github.com/users/tholden/received_events","type":"User","site_admin":false},"body":"Fixes https://github.com/DynareTeam/dynare/issues/1400\r\nAlso provides parallel support for CMAES.\r\n\r\nSee also my related pull requests to dates and dseries:\r\n * https://github.com/DynareTeam/dseries/pull/26\r\n * https://github.com/DynareTeam/dates/pull/9","created_at":"2017-09-07T10:49:54Z","updated_at":"2017-09-07T11:29:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a999beee08ce4288b110da7915590380b6db55e9","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/DynareTeam/dynare/pulls/1508/commits","review_comments_url":"https://api.github.com/repos/DynareTeam/dynare/pulls/1508/comments","review_comment_url":"https://api.github.com/repos/DynareTeam/dynare/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DynareTeam/dynare/issues/1508/comments","statuses_url":"https://api.github.com/repos/DynareTeam/dynare/statuses/e666a44f47cb2e7cd6569342545fae2178b939dc","head":{"label":"tholden:optimization-parallel-support","ref":"optimization-parallel-support","sha":"e666a44f47cb2e7cd6569342545fae2178b939dc","user":{"login":"tholden","id":3310647,"avatar_url":"https://avatars2.githubusercontent.com/u/3310647?v=4","gravatar_id":"","url":"https://api.github.com/users/tholden","html_url":"https://github.com/tholden","followers_url":"https://api.github.com/users/tholden/followers","following_url":"https://api.github.com/users/tholden/following{/other_user}","gists_url":"https://api.github.com/users/tholden/gists{/gist_id}","starred_url":"https://api.github.com/users/tholden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tholden/subscriptions","organizations_url":"https://api.github.com/users/tholden/orgs","repos_url":"https://api.github.com/users/tholden/repos","events_url":"https://api.github.com/users/tholden/events{/privacy}","received_events_url":"https://api.github.com/users/tholden/received_events","type":"User","site_admin":false},"repo":{"id":21828646,"name":"dynare","full_name":"tholden/dynare","owner":{"login":"tholden","id":3310647,"avatar_url":"https://avatars2.githubusercontent.com/u/3310647?v=4","gravatar_id":"","url":"https://api.github.com/users/tholden","html_url":"https://github.com/tholden","followers_url":"https://api.github.com/users/tholden/followers","following_url":"https://api.github.com/users/tholden/following{/other_user}","gists_url":"https://api.github.com/users/tholden/gists{/gist_id}","starred_url":"https://api.github.com/users/tholden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tholden/subscriptions","organizations_url":"https://api.github.com/users/tholden/orgs","repos_url":"https://api.github.com/users/tholden/repos","events_url":"https://api.github.com/users/tholden/events{/privacy}","received_events_url":"https://api.github.com/users/tholden/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tholden/dynare","description":"Dynare: a platform for handling a wide class of economic models","fork":true,"url":"https://api.github.com/repos/tholden/dynare","forks_url":"https://api.github.com/repos/tholden/dynare/forks","keys_url":"https://api.github.com/repos/tholden/dynare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tholden/dynare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tholden/dynare/teams","hooks_url":"https://api.github.com/repos/tholden/dynare/hooks","issue_events_url":"https://api.github.com/repos/tholden/dynare/issues/events{/number}","events_url":"https://api.github.com/repos/tholden/dynare/events","assignees_url":"https://api.github.com/repos/tholden/dynare/assignees{/user}","branches_url":"https://api.github.com/repos/tholden/dynare/branches{/branch}","tags_url":"https://api.github.com/repos/tholden/dynare/tags","blobs_url":"https://api.github.com/repos/tholden/dynare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tholden/dynare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tholden/dynare/git/refs{/sha}","trees_url":"https://api.github.com/repos/tholden/dynare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tholden/dynare/statuses/{sha}","languages_url":"https://api.github.com/repos/tholden/dynare/languages","stargazers_url":"https://api.github.com/repos/tholden/dynare/stargazers","contributors_url":"https://api.github.com/repos/tholden/dynare/contributors","subscribers_url":"https://api.github.com/repos/tholden/dynare/subscribers","subscription_url":"https://api.github.com/repos/tholden/dynare/subscription","commits_url":"https://api.github.com/repos/tholden/dynare/commits{/sha}","git_commits_url":"https://api.github.com/repos/tholden/dynare/git/commits{/sha}","comments_url":"https://api.github.com/repos/tholden/dynare/comments{/number}","issue_comment_url":"https://api.github.com/repos/tholden/dynare/issues/comments{/number}","contents_url":"https://api.github.com/repos/tholden/dynare/contents/{+path}","compare_url":"https://api.github.com/repos/tholden/dynare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tholden/dynare/merges","archive_url":"https://api.github.com/repos/tholden/dynare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tholden/dynare/downloads","issues_url":"https://api.github.com/repos/tholden/dynare/issues{/number}","pulls_url":"https://api.github.com/repos/tholden/dynare/pulls{/number}","milestones_url":"https://api.github.com/repos/tholden/dynare/milestones{/number}","notifications_url":"https://api.github.com/repos/tholden/dynare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tholden/dynare/labels{/name}","releases_url":"https://api.github.com/repos/tholden/dynare/releases{/id}","deployments_url":"https://api.github.com/repos/tholden/dynare/deployments","created_at":"2014-07-14T17:28:39Z","updated_at":"2017-02-27T12:06:43Z","pushed_at":"2017-09-07T10:40:55Z","git_url":"git://github.com/tholden/dynare.git","ssh_url":"git@github.com:tholden/dynare.git","clone_url":"https://github.com/tholden/dynare.git","svn_url":"https://github.com/tholden/dynare","homepage":"http://www.dynare.org","size":185425,"stargazers_count":1,"watchers_count":1,"language":"Matlab","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"DynareTeam:master","ref":"master","sha":"442e773c7fe0115c3c2880a01d0ce3e771220dd4","user":{"login":"DynareTeam","id":3584501,"avatar_url":"https://avatars3.githubusercontent.com/u/3584501?v=4","gravatar_id":"","url":"https://api.github.com/users/DynareTeam","html_url":"https://github.com/DynareTeam","followers_url":"https://api.github.com/users/DynareTeam/followers","following_url":"https://api.github.com/users/DynareTeam/following{/other_user}","gists_url":"https://api.github.com/users/DynareTeam/gists{/gist_id}","starred_url":"https://api.github.com/users/DynareTeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DynareTeam/subscriptions","organizations_url":"https://api.github.com/users/DynareTeam/orgs","repos_url":"https://api.github.com/users/DynareTeam/repos","events_url":"https://api.github.com/users/DynareTeam/events{/privacy}","received_events_url":"https://api.github.com/users/DynareTeam/received_events","type":"Organization","site_admin":false},"repo":{"id":8179702,"name":"dynare","full_name":"DynareTeam/dynare","owner":{"login":"DynareTeam","id":3584501,"avatar_url":"https://avatars3.githubusercontent.com/u/3584501?v=4","gravatar_id":"","url":"https://api.github.com/users/DynareTeam","html_url":"https://github.com/DynareTeam","followers_url":"https://api.github.com/users/DynareTeam/followers","following_url":"https://api.github.com/users/DynareTeam/following{/other_user}","gists_url":"https://api.github.com/users/DynareTeam/gists{/gist_id}","starred_url":"https://api.github.com/users/DynareTeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DynareTeam/subscriptions","organizations_url":"https://api.github.com/users/DynareTeam/orgs","repos_url":"https://api.github.com/users/DynareTeam/repos","events_url":"https://api.github.com/users/DynareTeam/events{/privacy}","received_events_url":"https://api.github.com/users/DynareTeam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DynareTeam/dynare","description":"A platform for handling a wide class of economic models","fork":false,"url":"https://api.github.com/repos/DynareTeam/dynare","forks_url":"https://api.github.com/repos/DynareTeam/dynare/forks","keys_url":"https://api.github.com/repos/DynareTeam/dynare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DynareTeam/dynare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DynareTeam/dynare/teams","hooks_url":"https://api.github.com/repos/DynareTeam/dynare/hooks","issue_events_url":"https://api.github.com/repos/DynareTeam/dynare/issues/events{/number}","events_url":"https://api.github.com/repos/DynareTeam/dynare/events","assignees_url":"https://api.github.com/repos/DynareTeam/dynare/assignees{/user}","branches_url":"https://api.github.com/repos/DynareTeam/dynare/branches{/branch}","tags_url":"https://api.github.com/repos/DynareTeam/dynare/tags","blobs_url":"https://api.github.com/repos/DynareTeam/dynare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DynareTeam/dynare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DynareTeam/dynare/git/refs{/sha}","trees_url":"https://api.github.com/repos/DynareTeam/dynare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DynareTeam/dynare/statuses/{sha}","languages_url":"https://api.github.com/repos/DynareTeam/dynare/languages","stargazers_url":"https://api.github.com/repos/DynareTeam/dynare/stargazers","contributors_url":"https://api.github.com/repos/DynareTeam/dynare/contributors","subscribers_url":"https://api.github.com/repos/DynareTeam/dynare/subscribers","subscription_url":"https://api.github.com/repos/DynareTeam/dynare/subscription","commits_url":"https://api.github.com/repos/DynareTeam/dynare/commits{/sha}","git_commits_url":"https://api.github.com/repos/DynareTeam/dynare/git/commits{/sha}","comments_url":"https://api.github.com/repos/DynareTeam/dynare/comments{/number}","issue_comment_url":"https://api.github.com/repos/DynareTeam/dynare/issues/comments{/number}","contents_url":"https://api.github.com/repos/DynareTeam/dynare/contents/{+path}","compare_url":"https://api.github.com/repos/DynareTeam/dynare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DynareTeam/dynare/merges","archive_url":"https://api.github.com/repos/DynareTeam/dynare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DynareTeam/dynare/downloads","issues_url":"https://api.github.com/repos/DynareTeam/dynare/issues{/number}","pulls_url":"https://api.github.com/repos/DynareTeam/dynare/pulls{/number}","milestones_url":"https://api.github.com/repos/DynareTeam/dynare/milestones{/number}","notifications_url":"https://api.github.com/repos/DynareTeam/dynare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DynareTeam/dynare/labels{/name}","releases_url":"https://api.github.com/repos/DynareTeam/dynare/releases{/id}","deployments_url":"https://api.github.com/repos/DynareTeam/dynare/deployments","created_at":"2013-02-13T13:35:36Z","updated_at":"2017-08-18T09:13:18Z","pushed_at":"2017-09-07T10:49:55Z","git_url":"git://github.com/DynareTeam/dynare.git","ssh_url":"git@github.com:DynareTeam/dynare.git","clone_url":"https://github.com/DynareTeam/dynare.git","svn_url":"https://github.com/DynareTeam/dynare","homepage":"http://www.dynare.org","size":75610,"stargazers_count":58,"watchers_count":58,"language":"Matlab","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":69,"mirror_url":null,"open_issues_count":126,"forks":69,"open_issues":126,"watchers":58,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DynareTeam/dynare/pulls/1508"},"html":{"href":"https://github.com/DynareTeam/dynare/pull/1508"},"issue":{"href":"https://api.github.com/repos/DynareTeam/dynare/issues/1508"},"comments":{"href":"https://api.github.com/repos/DynareTeam/dynare/issues/1508/comments"},"review_comments":{"href":"https://api.github.com/repos/DynareTeam/dynare/pulls/1508/comments"},"review_comment":{"href":"https://api.github.com/repos/DynareTeam/dynare/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DynareTeam/dynare/pulls/1508/commits"},"statuses":{"href":"https://api.github.com/repos/DynareTeam/dynare/statuses/e666a44f47cb2e7cd6569342545fae2178b939dc"}},"author_association":"NONE"}}
{"actor":{"display_login":"JohannesPfeifer"}}