{"action":"created","comment":{"url":"https://api.github.com/repos/esa/pagmo2/pulls/comments/121507685","pull_request_review_id":43541798,"id":121507685,"diff_hunk":"@@ -121,10 +123,13 @@ and constraints. So we add them:\n     >>> prob = pg.problem(my_minlp())\n     >>> prob.c_tol = [1e-8]*6\n \n+Note that, in this UDP, taking the gradient with respect to the integer part of the decision vector makes sense as it contains\n+relevant information, but that is not always the case. Whenever the gradient of your UDP does not contain any information,\n+relaxation techniques are not really an option and some global heuristic approach (e.g. evolutionary) may be the only way to go.\n \n-Pygmo support for MINLP problems is built around the idea of making integer relaxation very easy. So we can just\n-call an NLP solver on our MINLP and the relaxed version of the problem will be solved returning a population\n-with decision vectors that violate the integer constraints.\n+Pygmo support for MINLP problems is built around the idea of making integer relaxation very easy. So we can","path":"doc/sphinx/docs/python/tutorials/coding_udp_minlp.rst","position":55,"original_position":55,"commit_id":"6a5a044d5a4a33a308894c2de6fd536c1fc121e9","original_commit_id":"6a5a044d5a4a33a308894c2de6fd536c1fc121e9","user":{"login":"bluescarni","id":623038,"avatar_url":"https://avatars1.githubusercontent.com/u/623038?v=3","gravatar_id":"","url":"https://api.github.com/users/bluescarni","html_url":"https://github.com/bluescarni","followers_url":"https://api.github.com/users/bluescarni/followers","following_url":"https://api.github.com/users/bluescarni/following{/other_user}","gists_url":"https://api.github.com/users/bluescarni/gists{/gist_id}","starred_url":"https://api.github.com/users/bluescarni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluescarni/subscriptions","organizations_url":"https://api.github.com/users/bluescarni/orgs","repos_url":"https://api.github.com/users/bluescarni/repos","events_url":"https://api.github.com/users/bluescarni/events{/privacy}","received_events_url":"https://api.github.com/users/bluescarni/received_events","type":"User","site_admin":false},"body":"\"Pygmo's support\"","created_at":"2017-06-12T19:43:21Z","updated_at":"2017-06-12T19:44:11Z","html_url":"https://github.com/esa/pagmo2/pull/122#discussion_r121507685","pull_request_url":"https://api.github.com/repos/esa/pagmo2/pulls/122","_links":{"self":{"href":"https://api.github.com/repos/esa/pagmo2/pulls/comments/121507685"},"html":{"href":"https://github.com/esa/pagmo2/pull/122#discussion_r121507685"},"pull_request":{"href":"https://api.github.com/repos/esa/pagmo2/pulls/122"}}},"pull_request":{"url":"https://api.github.com/repos/esa/pagmo2/pulls/122","id":125212759,"html_url":"https://github.com/esa/pagmo2/pull/122","diff_url":"https://github.com/esa/pagmo2/pull/122.diff","patch_url":"https://github.com/esa/pagmo2/pull/122.patch","issue_url":"https://api.github.com/repos/esa/pagmo2/issues/122","number":122,"state":"open","locked":false,"title":"A number of small fixes to the docs.","user":{"login":"darioizzo","id":3327087,"avatar_url":"https://avatars0.githubusercontent.com/u/3327087?v=3","gravatar_id":"","url":"https://api.github.com/users/darioizzo","html_url":"https://github.com/darioizzo","followers_url":"https://api.github.com/users/darioizzo/followers","following_url":"https://api.github.com/users/darioizzo/following{/other_user}","gists_url":"https://api.github.com/users/darioizzo/gists{/gist_id}","starred_url":"https://api.github.com/users/darioizzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darioizzo/subscriptions","organizations_url":"https://api.github.com/users/darioizzo/orgs","repos_url":"https://api.github.com/users/darioizzo/repos","events_url":"https://api.github.com/users/darioizzo/events{/privacy}","received_events_url":"https://api.github.com/users/darioizzo/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-06-12T19:37:45Z","updated_at":"2017-06-12T19:44:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a9e82194a2307c4c6d5143d68be5ed166337d020","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/esa/pagmo2/pulls/122/commits","review_comments_url":"https://api.github.com/repos/esa/pagmo2/pulls/122/comments","review_comment_url":"https://api.github.com/repos/esa/pagmo2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/esa/pagmo2/issues/122/comments","statuses_url":"https://api.github.com/repos/esa/pagmo2/statuses/6a5a044d5a4a33a308894c2de6fd536c1fc121e9","head":{"label":"darioizzo:master","ref":"master","sha":"6a5a044d5a4a33a308894c2de6fd536c1fc121e9","user":{"login":"darioizzo","id":3327087,"avatar_url":"https://avatars0.githubusercontent.com/u/3327087?v=3","gravatar_id":"","url":"https://api.github.com/users/darioizzo","html_url":"https://github.com/darioizzo","followers_url":"https://api.github.com/users/darioizzo/followers","following_url":"https://api.github.com/users/darioizzo/following{/other_user}","gists_url":"https://api.github.com/users/darioizzo/gists{/gist_id}","starred_url":"https://api.github.com/users/darioizzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darioizzo/subscriptions","organizations_url":"https://api.github.com/users/darioizzo/orgs","repos_url":"https://api.github.com/users/darioizzo/repos","events_url":"https://api.github.com/users/darioizzo/events{/privacy}","received_events_url":"https://api.github.com/users/darioizzo/received_events","type":"User","site_admin":false},"repo":{"id":78527940,"name":"pagmo2","full_name":"darioizzo/pagmo2","owner":{"login":"darioizzo","id":3327087,"avatar_url":"https://avatars0.githubusercontent.com/u/3327087?v=3","gravatar_id":"","url":"https://api.github.com/users/darioizzo","html_url":"https://github.com/darioizzo","followers_url":"https://api.github.com/users/darioizzo/followers","following_url":"https://api.github.com/users/darioizzo/following{/other_user}","gists_url":"https://api.github.com/users/darioizzo/gists{/gist_id}","starred_url":"https://api.github.com/users/darioizzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darioizzo/subscriptions","organizations_url":"https://api.github.com/users/darioizzo/orgs","repos_url":"https://api.github.com/users/darioizzo/repos","events_url":"https://api.github.com/users/darioizzo/events{/privacy}","received_events_url":"https://api.github.com/users/darioizzo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/darioizzo/pagmo2","description":"A C++ / Python platform to perform parallel computations of optimisation tasks (global and local) via the asynchronous generalized island model.","fork":true,"url":"https://api.github.com/repos/darioizzo/pagmo2","forks_url":"https://api.github.com/repos/darioizzo/pagmo2/forks","keys_url":"https://api.github.com/repos/darioizzo/pagmo2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/darioizzo/pagmo2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/darioizzo/pagmo2/teams","hooks_url":"https://api.github.com/repos/darioizzo/pagmo2/hooks","issue_events_url":"https://api.github.com/repos/darioizzo/pagmo2/issues/events{/number}","events_url":"https://api.github.com/repos/darioizzo/pagmo2/events","assignees_url":"https://api.github.com/repos/darioizzo/pagmo2/assignees{/user}","branches_url":"https://api.github.com/repos/darioizzo/pagmo2/branches{/branch}","tags_url":"https://api.github.com/repos/darioizzo/pagmo2/tags","blobs_url":"https://api.github.com/repos/darioizzo/pagmo2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/darioizzo/pagmo2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/darioizzo/pagmo2/git/refs{/sha}","trees_url":"https://api.github.com/repos/darioizzo/pagmo2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/darioizzo/pagmo2/statuses/{sha}","languages_url":"https://api.github.com/repos/darioizzo/pagmo2/languages","stargazers_url":"https://api.github.com/repos/darioizzo/pagmo2/stargazers","contributors_url":"https://api.github.com/repos/darioizzo/pagmo2/contributors","subscribers_url":"https://api.github.com/repos/darioizzo/pagmo2/subscribers","subscription_url":"https://api.github.com/repos/darioizzo/pagmo2/subscription","commits_url":"https://api.github.com/repos/darioizzo/pagmo2/commits{/sha}","git_commits_url":"https://api.github.com/repos/darioizzo/pagmo2/git/commits{/sha}","comments_url":"https://api.github.com/repos/darioizzo/pagmo2/comments{/number}","issue_comment_url":"https://api.github.com/repos/darioizzo/pagmo2/issues/comments{/number}","contents_url":"https://api.github.com/repos/darioizzo/pagmo2/contents/{+path}","compare_url":"https://api.github.com/repos/darioizzo/pagmo2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/darioizzo/pagmo2/merges","archive_url":"https://api.github.com/repos/darioizzo/pagmo2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/darioizzo/pagmo2/downloads","issues_url":"https://api.github.com/repos/darioizzo/pagmo2/issues{/number}","pulls_url":"https://api.github.com/repos/darioizzo/pagmo2/pulls{/number}","milestones_url":"https://api.github.com/repos/darioizzo/pagmo2/milestones{/number}","notifications_url":"https://api.github.com/repos/darioizzo/pagmo2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/darioizzo/pagmo2/labels{/name}","releases_url":"https://api.github.com/repos/darioizzo/pagmo2/releases{/id}","deployments_url":"https://api.github.com/repos/darioizzo/pagmo2/deployments","created_at":"2017-01-10T11:37:29Z","updated_at":"2017-03-23T19:15:15Z","pushed_at":"2017-06-12T19:33:12Z","git_url":"git://github.com/darioizzo/pagmo2.git","ssh_url":"git@github.com:darioizzo/pagmo2.git","clone_url":"https://github.com/darioizzo/pagmo2.git","svn_url":"https://github.com/darioizzo/pagmo2","homepage":null,"size":15735,"stargazers_count":0,"watchers_count":0,"language":"C++","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":0,"default_branch":"master"}},"base":{"label":"esa:master","ref":"master","sha":"d93a115d94d2cae89d2a1234c49ec2e3e4b6481c","user":{"login":"esa","id":3287599,"avatar_url":"https://avatars3.githubusercontent.com/u/3287599?v=3","gravatar_id":"","url":"https://api.github.com/users/esa","html_url":"https://github.com/esa","followers_url":"https://api.github.com/users/esa/followers","following_url":"https://api.github.com/users/esa/following{/other_user}","gists_url":"https://api.github.com/users/esa/gists{/gist_id}","starred_url":"https://api.github.com/users/esa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esa/subscriptions","organizations_url":"https://api.github.com/users/esa/orgs","repos_url":"https://api.github.com/users/esa/repos","events_url":"https://api.github.com/users/esa/events{/privacy}","received_events_url":"https://api.github.com/users/esa/received_events","type":"Organization","site_admin":false},"repo":{"id":78372913,"name":"pagmo2","full_name":"esa/pagmo2","owner":{"login":"esa","id":3287599,"avatar_url":"https://avatars3.githubusercontent.com/u/3287599?v=3","gravatar_id":"","url":"https://api.github.com/users/esa","html_url":"https://github.com/esa","followers_url":"https://api.github.com/users/esa/followers","following_url":"https://api.github.com/users/esa/following{/other_user}","gists_url":"https://api.github.com/users/esa/gists{/gist_id}","starred_url":"https://api.github.com/users/esa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esa/subscriptions","organizations_url":"https://api.github.com/users/esa/orgs","repos_url":"https://api.github.com/users/esa/repos","events_url":"https://api.github.com/users/esa/events{/privacy}","received_events_url":"https://api.github.com/users/esa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/esa/pagmo2","description":"A C++ / Python platform to perform parallel computations of optimisation tasks (global and local) via the asynchronous generalized island model.","fork":false,"url":"https://api.github.com/repos/esa/pagmo2","forks_url":"https://api.github.com/repos/esa/pagmo2/forks","keys_url":"https://api.github.com/repos/esa/pagmo2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/esa/pagmo2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/esa/pagmo2/teams","hooks_url":"https://api.github.com/repos/esa/pagmo2/hooks","issue_events_url":"https://api.github.com/repos/esa/pagmo2/issues/events{/number}","events_url":"https://api.github.com/repos/esa/pagmo2/events","assignees_url":"https://api.github.com/repos/esa/pagmo2/assignees{/user}","branches_url":"https://api.github.com/repos/esa/pagmo2/branches{/branch}","tags_url":"https://api.github.com/repos/esa/pagmo2/tags","blobs_url":"https://api.github.com/repos/esa/pagmo2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/esa/pagmo2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/esa/pagmo2/git/refs{/sha}","trees_url":"https://api.github.com/repos/esa/pagmo2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/esa/pagmo2/statuses/{sha}","languages_url":"https://api.github.com/repos/esa/pagmo2/languages","stargazers_url":"https://api.github.com/repos/esa/pagmo2/stargazers","contributors_url":"https://api.github.com/repos/esa/pagmo2/contributors","subscribers_url":"https://api.github.com/repos/esa/pagmo2/subscribers","subscription_url":"https://api.github.com/repos/esa/pagmo2/subscription","commits_url":"https://api.github.com/repos/esa/pagmo2/commits{/sha}","git_commits_url":"https://api.github.com/repos/esa/pagmo2/git/commits{/sha}","comments_url":"https://api.github.com/repos/esa/pagmo2/comments{/number}","issue_comment_url":"https://api.github.com/repos/esa/pagmo2/issues/comments{/number}","contents_url":"https://api.github.com/repos/esa/pagmo2/contents/{+path}","compare_url":"https://api.github.com/repos/esa/pagmo2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/esa/pagmo2/merges","archive_url":"https://api.github.com/repos/esa/pagmo2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/esa/pagmo2/downloads","issues_url":"https://api.github.com/repos/esa/pagmo2/issues{/number}","pulls_url":"https://api.github.com/repos/esa/pagmo2/pulls{/number}","milestones_url":"https://api.github.com/repos/esa/pagmo2/milestones{/number}","notifications_url":"https://api.github.com/repos/esa/pagmo2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/esa/pagmo2/labels{/name}","releases_url":"https://api.github.com/repos/esa/pagmo2/releases{/id}","deployments_url":"https://api.github.com/repos/esa/pagmo2/deployments","created_at":"2017-01-08T21:53:43Z","updated_at":"2017-06-08T07:38:41Z","pushed_at":"2017-06-12T19:37:46Z","git_url":"git://github.com/esa/pagmo2.git","ssh_url":"git@github.com:esa/pagmo2.git","clone_url":"https://github.com/esa/pagmo2.git","svn_url":"https://github.com/esa/pagmo2","homepage":"","size":18627,"stargazers_count":24,"watchers_count":24,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"open_issues_count":11,"forks":10,"open_issues":11,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/esa/pagmo2/pulls/122"},"html":{"href":"https://github.com/esa/pagmo2/pull/122"},"issue":{"href":"https://api.github.com/repos/esa/pagmo2/issues/122"},"comments":{"href":"https://api.github.com/repos/esa/pagmo2/issues/122/comments"},"review_comments":{"href":"https://api.github.com/repos/esa/pagmo2/pulls/122/comments"},"review_comment":{"href":"https://api.github.com/repos/esa/pagmo2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/esa/pagmo2/pulls/122/commits"},"statuses":{"href":"https://api.github.com/repos/esa/pagmo2/statuses/6a5a044d5a4a33a308894c2de6fd536c1fc121e9"}}}}
{"actor":{"display_login":"bluescarni"}}