{"action":"closed","number":2744,"pull_request":{"url":"https://api.github.com/repos/RobotLocomotion/drake/pulls/2744","id":76313109,"html_url":"https://github.com/RobotLocomotion/drake/pull/2744","diff_url":"https://github.com/RobotLocomotion/drake/pull/2744.diff","patch_url":"https://github.com/RobotLocomotion/drake/pull/2744.patch","issue_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2744","number":2744,"state":"closed","locked":false,"title":"Mosek Linear Programming","user":{"login":"alexdunyak","id":19688191,"avatar_url":"https://avatars.githubusercontent.com/u/19688191?v=3","gravatar_id":"","url":"https://api.github.com/users/alexdunyak","html_url":"https://github.com/alexdunyak","followers_url":"https://api.github.com/users/alexdunyak/followers","following_url":"https://api.github.com/users/alexdunyak/following{/other_user}","gists_url":"https://api.github.com/users/alexdunyak/gists{/gist_id}","starred_url":"https://api.github.com/users/alexdunyak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexdunyak/subscriptions","organizations_url":"https://api.github.com/users/alexdunyak/orgs","repos_url":"https://api.github.com/users/alexdunyak/repos","events_url":"https://api.github.com/users/alexdunyak/events{/privacy}","received_events_url":"https://api.github.com/users/alexdunyak/received_events","type":"User","site_admin":false},"body":"(Please note: the only contributor is alexdunyak; I am using anirudhamajumdar's computer/account, and my local git keeps resetting the username.  As such, only send feedback to adunyak@umass.edu)\r\n\r\nPreliminary MOSEK solver linear programming interface. The \"syntax\" is a little fragile right now, so there are a few specifications on how to use it, specifically:\r\n\r\n1) The problem type has to be specified as linear, and the type of optimization has to be specified as either max or min.\r\n2) The solver expects one linear constraint matrix, in non-sparse form.\r\n3) The objective function must be stored as a linear constraint (as the code uses the fact that the binding class in Optimization.h contains a pointer to a constraint, and linear constraints in Constraint.h  allows access to a stored matrix). The bounds do not matter.\r\n4) The solver does not expect linear equality constraints, but handles linear constraints with an equal upper and lower bound as if they were linear equality constraints.\r\n\r\nCurrently, a user can call a MosekSolver object or directly call a mosekLP object, but in future pull requests a MosekSolver object will also be able to solve quadratic programs (by creating a mosekQP class).\r\nFor an explicit example, please see testMosek.cpp, which shows how to set up an OptimizationProblem to solve a linear maximization problem.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/robotlocomotion/drake/2744)\n<!-- Reviewable:end -->\n","created_at":"2016-07-05T17:38:51Z","updated_at":"2016-07-20T12:25:36Z","closed_at":"2016-07-20T12:25:36Z","merged_at":"2016-07-20T12:25:36Z","merge_commit_sha":"edcea0b714dedecd16bbe69e6a1867df82b4f7d7","assignee":{"login":"sammy-tri","id":17596504,"avatar_url":"https://avatars.githubusercontent.com/u/17596504?v=3","gravatar_id":"","url":"https://api.github.com/users/sammy-tri","html_url":"https://github.com/sammy-tri","followers_url":"https://api.github.com/users/sammy-tri/followers","following_url":"https://api.github.com/users/sammy-tri/following{/other_user}","gists_url":"https://api.github.com/users/sammy-tri/gists{/gist_id}","starred_url":"https://api.github.com/users/sammy-tri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammy-tri/subscriptions","organizations_url":"https://api.github.com/users/sammy-tri/orgs","repos_url":"https://api.github.com/users/sammy-tri/repos","events_url":"https://api.github.com/users/sammy-tri/events{/privacy}","received_events_url":"https://api.github.com/users/sammy-tri/received_events","type":"User","site_admin":false},"assignees":[{"login":"ggould-tri","id":17596413,"avatar_url":"https://avatars.githubusercontent.com/u/17596413?v=3","gravatar_id":"","url":"https://api.github.com/users/ggould-tri","html_url":"https://github.com/ggould-tri","followers_url":"https://api.github.com/users/ggould-tri/followers","following_url":"https://api.github.com/users/ggould-tri/following{/other_user}","gists_url":"https://api.github.com/users/ggould-tri/gists{/gist_id}","starred_url":"https://api.github.com/users/ggould-tri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggould-tri/subscriptions","organizations_url":"https://api.github.com/users/ggould-tri/orgs","repos_url":"https://api.github.com/users/ggould-tri/repos","events_url":"https://api.github.com/users/ggould-tri/events{/privacy}","received_events_url":"https://api.github.com/users/ggould-tri/received_events","type":"User","site_admin":false},{"login":"sammy-tri","id":17596504,"avatar_url":"https://avatars.githubusercontent.com/u/17596504?v=3","gravatar_id":"","url":"https://api.github.com/users/sammy-tri","html_url":"https://github.com/sammy-tri","followers_url":"https://api.github.com/users/sammy-tri/followers","following_url":"https://api.github.com/users/sammy-tri/following{/other_user}","gists_url":"https://api.github.com/users/sammy-tri/gists{/gist_id}","starred_url":"https://api.github.com/users/sammy-tri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammy-tri/subscriptions","organizations_url":"https://api.github.com/users/sammy-tri/orgs","repos_url":"https://api.github.com/users/sammy-tri/repos","events_url":"https://api.github.com/users/sammy-tri/events{/privacy}","received_events_url":"https://api.github.com/users/sammy-tri/received_events","type":"User","site_admin":false},{"login":"jwnimmer-tri","id":17596505,"avatar_url":"https://avatars.githubusercontent.com/u/17596505?v=3","gravatar_id":"","url":"https://api.github.com/users/jwnimmer-tri","html_url":"https://github.com/jwnimmer-tri","followers_url":"https://api.github.com/users/jwnimmer-tri/followers","following_url":"https://api.github.com/users/jwnimmer-tri/following{/other_user}","gists_url":"https://api.github.com/users/jwnimmer-tri/gists{/gist_id}","starred_url":"https://api.github.com/users/jwnimmer-tri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwnimmer-tri/subscriptions","organizations_url":"https://api.github.com/users/jwnimmer-tri/orgs","repos_url":"https://api.github.com/users/jwnimmer-tri/repos","events_url":"https://api.github.com/users/jwnimmer-tri/events{/privacy}","received_events_url":"https://api.github.com/users/jwnimmer-tri/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/RobotLocomotion/drake/pulls/2744/commits","review_comments_url":"https://api.github.com/repos/RobotLocomotion/drake/pulls/2744/comments","review_comment_url":"https://api.github.com/repos/RobotLocomotion/drake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2744/comments","statuses_url":"https://api.github.com/repos/RobotLocomotion/drake/statuses/90b5868d81b8261a070a708d2faac17868eeca16","head":{"label":"alexdunyak:master","ref":"master","sha":"90b5868d81b8261a070a708d2faac17868eeca16","user":{"login":"alexdunyak","id":19688191,"avatar_url":"https://avatars.githubusercontent.com/u/19688191?v=3","gravatar_id":"","url":"https://api.github.com/users/alexdunyak","html_url":"https://github.com/alexdunyak","followers_url":"https://api.github.com/users/alexdunyak/followers","following_url":"https://api.github.com/users/alexdunyak/following{/other_user}","gists_url":"https://api.github.com/users/alexdunyak/gists{/gist_id}","starred_url":"https://api.github.com/users/alexdunyak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexdunyak/subscriptions","organizations_url":"https://api.github.com/users/alexdunyak/orgs","repos_url":"https://api.github.com/users/alexdunyak/repos","events_url":"https://api.github.com/users/alexdunyak/events{/privacy}","received_events_url":"https://api.github.com/users/alexdunyak/received_events","type":"User","site_admin":false},"repo":{"id":61305122,"name":"drake","full_name":"alexdunyak/drake","owner":{"login":"alexdunyak","id":19688191,"avatar_url":"https://avatars.githubusercontent.com/u/19688191?v=3","gravatar_id":"","url":"https://api.github.com/users/alexdunyak","html_url":"https://github.com/alexdunyak","followers_url":"https://api.github.com/users/alexdunyak/followers","following_url":"https://api.github.com/users/alexdunyak/following{/other_user}","gists_url":"https://api.github.com/users/alexdunyak/gists{/gist_id}","starred_url":"https://api.github.com/users/alexdunyak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexdunyak/subscriptions","organizations_url":"https://api.github.com/users/alexdunyak/orgs","repos_url":"https://api.github.com/users/alexdunyak/repos","events_url":"https://api.github.com/users/alexdunyak/events{/privacy}","received_events_url":"https://api.github.com/users/alexdunyak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexdunyak/drake","description":"A planning, control, and analysis toolbox for nonlinear dynamical systems.  More info at","fork":true,"url":"https://api.github.com/repos/alexdunyak/drake","forks_url":"https://api.github.com/repos/alexdunyak/drake/forks","keys_url":"https://api.github.com/repos/alexdunyak/drake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexdunyak/drake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexdunyak/drake/teams","hooks_url":"https://api.github.com/repos/alexdunyak/drake/hooks","issue_events_url":"https://api.github.com/repos/alexdunyak/drake/issues/events{/number}","events_url":"https://api.github.com/repos/alexdunyak/drake/events","assignees_url":"https://api.github.com/repos/alexdunyak/drake/assignees{/user}","branches_url":"https://api.github.com/repos/alexdunyak/drake/branches{/branch}","tags_url":"https://api.github.com/repos/alexdunyak/drake/tags","blobs_url":"https://api.github.com/repos/alexdunyak/drake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexdunyak/drake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexdunyak/drake/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexdunyak/drake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexdunyak/drake/statuses/{sha}","languages_url":"https://api.github.com/repos/alexdunyak/drake/languages","stargazers_url":"https://api.github.com/repos/alexdunyak/drake/stargazers","contributors_url":"https://api.github.com/repos/alexdunyak/drake/contributors","subscribers_url":"https://api.github.com/repos/alexdunyak/drake/subscribers","subscription_url":"https://api.github.com/repos/alexdunyak/drake/subscription","commits_url":"https://api.github.com/repos/alexdunyak/drake/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexdunyak/drake/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexdunyak/drake/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexdunyak/drake/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexdunyak/drake/contents/{+path}","compare_url":"https://api.github.com/repos/alexdunyak/drake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexdunyak/drake/merges","archive_url":"https://api.github.com/repos/alexdunyak/drake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexdunyak/drake/downloads","issues_url":"https://api.github.com/repos/alexdunyak/drake/issues{/number}","pulls_url":"https://api.github.com/repos/alexdunyak/drake/pulls{/number}","milestones_url":"https://api.github.com/repos/alexdunyak/drake/milestones{/number}","notifications_url":"https://api.github.com/repos/alexdunyak/drake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexdunyak/drake/labels{/name}","releases_url":"https://api.github.com/repos/alexdunyak/drake/releases{/id}","deployments_url":"https://api.github.com/repos/alexdunyak/drake/deployments","created_at":"2016-06-16T15:29:35Z","updated_at":"2016-07-14T15:01:26Z","pushed_at":"2016-07-19T15:33:30Z","git_url":"git://github.com/alexdunyak/drake.git","ssh_url":"git@github.com:alexdunyak/drake.git","clone_url":"https://github.com/alexdunyak/drake.git","svn_url":"https://github.com/alexdunyak/drake","homepage":"http://drake.mit.edu","size":193636,"stargazers_count":0,"watchers_count":0,"language":"Matlab","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"RobotLocomotion:master","ref":"master","sha":"2dd4106dab57136f9a2f1f292127b4ce3c71ff70","user":{"login":"RobotLocomotion","id":6496345,"avatar_url":"https://avatars.githubusercontent.com/u/6496345?v=3","gravatar_id":"","url":"https://api.github.com/users/RobotLocomotion","html_url":"https://github.com/RobotLocomotion","followers_url":"https://api.github.com/users/RobotLocomotion/followers","following_url":"https://api.github.com/users/RobotLocomotion/following{/other_user}","gists_url":"https://api.github.com/users/RobotLocomotion/gists{/gist_id}","starred_url":"https://api.github.com/users/RobotLocomotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobotLocomotion/subscriptions","organizations_url":"https://api.github.com/users/RobotLocomotion/orgs","repos_url":"https://api.github.com/users/RobotLocomotion/repos","events_url":"https://api.github.com/users/RobotLocomotion/events{/privacy}","received_events_url":"https://api.github.com/users/RobotLocomotion/received_events","type":"Organization","site_admin":false},"repo":{"id":16256144,"name":"drake","full_name":"RobotLocomotion/drake","owner":{"login":"RobotLocomotion","id":6496345,"avatar_url":"https://avatars.githubusercontent.com/u/6496345?v=3","gravatar_id":"","url":"https://api.github.com/users/RobotLocomotion","html_url":"https://github.com/RobotLocomotion","followers_url":"https://api.github.com/users/RobotLocomotion/followers","following_url":"https://api.github.com/users/RobotLocomotion/following{/other_user}","gists_url":"https://api.github.com/users/RobotLocomotion/gists{/gist_id}","starred_url":"https://api.github.com/users/RobotLocomotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobotLocomotion/subscriptions","organizations_url":"https://api.github.com/users/RobotLocomotion/orgs","repos_url":"https://api.github.com/users/RobotLocomotion/repos","events_url":"https://api.github.com/users/RobotLocomotion/events{/privacy}","received_events_url":"https://api.github.com/users/RobotLocomotion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RobotLocomotion/drake","description":"A planning, control, and analysis toolbox for nonlinear dynamical systems.  More info at","fork":false,"url":"https://api.github.com/repos/RobotLocomotion/drake","forks_url":"https://api.github.com/repos/RobotLocomotion/drake/forks","keys_url":"https://api.github.com/repos/RobotLocomotion/drake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RobotLocomotion/drake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RobotLocomotion/drake/teams","hooks_url":"https://api.github.com/repos/RobotLocomotion/drake/hooks","issue_events_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/events{/number}","events_url":"https://api.github.com/repos/RobotLocomotion/drake/events","assignees_url":"https://api.github.com/repos/RobotLocomotion/drake/assignees{/user}","branches_url":"https://api.github.com/repos/RobotLocomotion/drake/branches{/branch}","tags_url":"https://api.github.com/repos/RobotLocomotion/drake/tags","blobs_url":"https://api.github.com/repos/RobotLocomotion/drake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RobotLocomotion/drake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RobotLocomotion/drake/git/refs{/sha}","trees_url":"https://api.github.com/repos/RobotLocomotion/drake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RobotLocomotion/drake/statuses/{sha}","languages_url":"https://api.github.com/repos/RobotLocomotion/drake/languages","stargazers_url":"https://api.github.com/repos/RobotLocomotion/drake/stargazers","contributors_url":"https://api.github.com/repos/RobotLocomotion/drake/contributors","subscribers_url":"https://api.github.com/repos/RobotLocomotion/drake/subscribers","subscription_url":"https://api.github.com/repos/RobotLocomotion/drake/subscription","commits_url":"https://api.github.com/repos/RobotLocomotion/drake/commits{/sha}","git_commits_url":"https://api.github.com/repos/RobotLocomotion/drake/git/commits{/sha}","comments_url":"https://api.github.com/repos/RobotLocomotion/drake/comments{/number}","issue_comment_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/comments{/number}","contents_url":"https://api.github.com/repos/RobotLocomotion/drake/contents/{+path}","compare_url":"https://api.github.com/repos/RobotLocomotion/drake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RobotLocomotion/drake/merges","archive_url":"https://api.github.com/repos/RobotLocomotion/drake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RobotLocomotion/drake/downloads","issues_url":"https://api.github.com/repos/RobotLocomotion/drake/issues{/number}","pulls_url":"https://api.github.com/repos/RobotLocomotion/drake/pulls{/number}","milestones_url":"https://api.github.com/repos/RobotLocomotion/drake/milestones{/number}","notifications_url":"https://api.github.com/repos/RobotLocomotion/drake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RobotLocomotion/drake/labels{/name}","releases_url":"https://api.github.com/repos/RobotLocomotion/drake/releases{/id}","deployments_url":"https://api.github.com/repos/RobotLocomotion/drake/deployments","created_at":"2014-01-26T16:11:05Z","updated_at":"2016-07-18T20:20:21Z","pushed_at":"2016-07-20T12:25:37Z","git_url":"git://github.com/RobotLocomotion/drake.git","ssh_url":"git@github.com:RobotLocomotion/drake.git","clone_url":"https://github.com/RobotLocomotion/drake.git","svn_url":"https://github.com/RobotLocomotion/drake","homepage":"http://drake.mit.edu","size":308575,"stargazers_count":491,"watchers_count":491,"language":"Matlab","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":303,"mirror_url":null,"open_issues_count":318,"forks":303,"open_issues":318,"watchers":491,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RobotLocomotion/drake/pulls/2744"},"html":{"href":"https://github.com/RobotLocomotion/drake/pull/2744"},"issue":{"href":"https://api.github.com/repos/RobotLocomotion/drake/issues/2744"},"comments":{"href":"https://api.github.com/repos/RobotLocomotion/drake/issues/2744/comments"},"review_comments":{"href":"https://api.github.com/repos/RobotLocomotion/drake/pulls/2744/comments"},"review_comment":{"href":"https://api.github.com/repos/RobotLocomotion/drake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RobotLocomotion/drake/pulls/2744/commits"},"statuses":{"href":"https://api.github.com/repos/RobotLocomotion/drake/statuses/90b5868d81b8261a070a708d2faac17868eeca16"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ggould-tri","id":17596413,"avatar_url":"https://avatars.githubusercontent.com/u/17596413?v=3","gravatar_id":"","url":"https://api.github.com/users/ggould-tri","html_url":"https://github.com/ggould-tri","followers_url":"https://api.github.com/users/ggould-tri/followers","following_url":"https://api.github.com/users/ggould-tri/following{/other_user}","gists_url":"https://api.github.com/users/ggould-tri/gists{/gist_id}","starred_url":"https://api.github.com/users/ggould-tri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggould-tri/subscriptions","organizations_url":"https://api.github.com/users/ggould-tri/orgs","repos_url":"https://api.github.com/users/ggould-tri/repos","events_url":"https://api.github.com/users/ggould-tri/events{/privacy}","received_events_url":"https://api.github.com/users/ggould-tri/received_events","type":"User","site_admin":false},"comments":87,"review_comments":0,"commits":60,"additions":639,"deletions":4,"changed_files":10}}
{"actor":{"display_login":"ggould-tri"}}