{"action":"created","issue":{"url":"https://api.github.com/repos/numbbo/coco/issues/705","repository_url":"https://api.github.com/repos/numbbo/coco","labels_url":"https://api.github.com/repos/numbbo/coco/issues/705/labels{/name}","comments_url":"https://api.github.com/repos/numbbo/coco/issues/705/comments","events_url":"https://api.github.com/repos/numbbo/coco/issues/705/events","html_url":"https://github.com/numbbo/coco/issues/705","id":136557450,"number":705,"title":"Matlab RANDOMSEARCH is no uniform sampling","user":{"login":"brockho","id":13706996,"avatar_url":"https://avatars.githubusercontent.com/u/13706996?v=3","gravatar_id":"","url":"https://api.github.com/users/brockho","html_url":"https://github.com/brockho","followers_url":"https://api.github.com/users/brockho/followers","following_url":"https://api.github.com/users/brockho/following{/other_user}","gists_url":"https://api.github.com/users/brockho/gists{/gist_id}","starred_url":"https://api.github.com/users/brockho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brockho/subscriptions","organizations_url":"https://api.github.com/users/brockho/orgs","repos_url":"https://api.github.com/users/brockho/repos","events_url":"https://api.github.com/users/brockho/events{/privacy}","received_events_url":"https://api.github.com/users/brockho/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/numbbo/coco/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/numbbo/coco/labels/Code-Experiments","name":"Code-Experiments","color":"0052cc"},{"url":"https://api.github.com/repos/numbbo/coco/labels/Code-MO-Experiments","name":"Code-MO-Experiments","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/numbbo/coco/milestones/4","html_url":"https://github.com/numbbo/coco/milestones/release%20v1.0%20(Mar%2018,%202016)","labels_url":"https://api.github.com/repos/numbbo/coco/milestones/4/labels","id":1464674,"number":4,"title":"release v1.0 (Mar 18, 2016)","description":"final release for producing GECCO papers","creator":{"login":"brockho","id":13706996,"avatar_url":"https://avatars.githubusercontent.com/u/13706996?v=3","gravatar_id":"","url":"https://api.github.com/users/brockho","html_url":"https://github.com/brockho","followers_url":"https://api.github.com/users/brockho/followers","following_url":"https://api.github.com/users/brockho/following{/other_user}","gists_url":"https://api.github.com/users/brockho/gists{/gist_id}","starred_url":"https://api.github.com/users/brockho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brockho/subscriptions","organizations_url":"https://api.github.com/users/brockho/orgs","repos_url":"https://api.github.com/users/brockho/repos","events_url":"https://api.github.com/users/brockho/events{/privacy}","received_events_url":"https://api.github.com/users/brockho/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":1,"state":"open","created_at":"2015-12-17T10:13:48Z","updated_at":"2016-02-26T00:36:30Z","due_on":"2016-03-17T23:00:00Z","closed_at":null},"comments":2,"created_at":"2016-02-26T00:33:58Z","updated_at":"2016-02-26T00:50:01Z","closed_at":null,"body":"The currently implemented random search in the Matlab/Octave example experiment is not sampling uniformly at random in between the upper and lower bounds:\r\n```\r\nfunction my_optimizer (f, lower_bounds, upper_bounds, budget)\r\n    n = length(lower_bounds);\r\n    delta = upper_bounds - lower_bounds;\r\n    for i= 1:budget\r\n        x = lower_bounds + normrnd(zeros(1, n), 1) .* delta;\r\n        y = cocoCall('cocoEvaluateFunction', f, x);\r\n    end\r\nend\r\n```\r\nI would call this at least a semi-bug."},"comment":{"url":"https://api.github.com/repos/numbbo/coco/issues/comments/189055367","html_url":"https://github.com/numbbo/coco/issues/705#issuecomment-189055367","issue_url":"https://api.github.com/repos/numbbo/coco/issues/705","id":189055367,"user":{"login":"brockho","id":13706996,"avatar_url":"https://avatars.githubusercontent.com/u/13706996?v=3","gravatar_id":"","url":"https://api.github.com/users/brockho","html_url":"https://github.com/brockho","followers_url":"https://api.github.com/users/brockho/followers","following_url":"https://api.github.com/users/brockho/following{/other_user}","gists_url":"https://api.github.com/users/brockho/gists{/gist_id}","starred_url":"https://api.github.com/users/brockho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brockho/subscriptions","organizations_url":"https://api.github.com/users/brockho/orgs","repos_url":"https://api.github.com/users/brockho/repos","events_url":"https://api.github.com/users/brockho/events{/privacy}","received_events_url":"https://api.github.com/users/brockho/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T00:50:01Z","updated_at":"2016-02-26T00:50:01Z","body":"Just an addition: The `exampleexperiment.m` currently starts with the following comment:\r\n```\r\n% This script runs random search for BUDGET_MULTIPLIER*DIM function\r\n% evaluations on the biobjective 'bbob-biobj' suite.\r\n```"}}