{"action":"created","issue":{"url":"https://api.github.com/repos/esa/pagmo/issues/160","labels_url":"https://api.github.com/repos/esa/pagmo/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/esa/pagmo/issues/160/comments","events_url":"https://api.github.com/repos/esa/pagmo/issues/160/events","html_url":"https://github.com/esa/pagmo/issues/160","id":110945246,"number":160,"title":"Using multi-objective fitness functions with python ","user":{"login":"elypma","id":2167945,"avatar_url":"https://avatars.githubusercontent.com/u/2167945?v=3","gravatar_id":"","url":"https://api.github.com/users/elypma","html_url":"https://github.com/elypma","followers_url":"https://api.github.com/users/elypma/followers","following_url":"https://api.github.com/users/elypma/following{/other_user}","gists_url":"https://api.github.com/users/elypma/gists{/gist_id}","starred_url":"https://api.github.com/users/elypma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elypma/subscriptions","organizations_url":"https://api.github.com/users/elypma/orgs","repos_url":"https://api.github.com/users/elypma/repos","events_url":"https://api.github.com/users/elypma/events{/privacy}","received_events_url":"https://api.github.com/users/elypma/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-12T10:03:14Z","updated_at":"2015-10-12T10:28:15Z","closed_at":"2015-10-12T10:28:15Z","body":"When I try to use a multi-objective fitness function in python (returning a tuple with 2 values: (_value1, value2)) I get a c++ conversion error:\r\n\r\n\"\"\"TypeError: No registered converter was able to produce a C++ rvalue of type double from this Python object of type tuple\"\"\"\r\n\r\nI try to use the nspso algortihm."},"comment":{"url":"https://api.github.com/repos/esa/pagmo/issues/comments/147359941","html_url":"https://github.com/esa/pagmo/issues/160#issuecomment-147359941","issue_url":"https://api.github.com/repos/esa/pagmo/issues/160","id":147359941,"user":{"login":"elypma","id":2167945,"avatar_url":"https://avatars.githubusercontent.com/u/2167945?v=3","gravatar_id":"","url":"https://api.github.com/users/elypma","html_url":"https://github.com/elypma","followers_url":"https://api.github.com/users/elypma/followers","following_url":"https://api.github.com/users/elypma/following{/other_user}","gists_url":"https://api.github.com/users/elypma/gists{/gist_id}","starred_url":"https://api.github.com/users/elypma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elypma/subscriptions","organizations_url":"https://api.github.com/users/elypma/orgs","repos_url":"https://api.github.com/users/elypma/repos","events_url":"https://api.github.com/users/elypma/events{/privacy}","received_events_url":"https://api.github.com/users/elypma/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T10:28:15Z","updated_at":"2015-10-12T10:28:15Z","body":"Thx for your quick response.\r\nI indeed had a syntax error. It took me a while to figure out how to initialise a multi-objective problem.\r\nI forgot to specify all the *args properly.\r\n\r\nI am sorry to have bothered you with it.\r\nI'll concentrate on further exploration."}}