{"action":"closed","issue":{"url":"https://api.github.com/repos/convexopt/gpkit/issues/251","labels_url":"https://api.github.com/repos/convexopt/gpkit/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/convexopt/gpkit/issues/251/comments","events_url":"https://api.github.com/repos/convexopt/gpkit/issues/251/events","html_url":"https://github.com/convexopt/gpkit/issues/251","id":72472087,"number":251,"title":"Initial guess dict error","user":{"login":"pgkirsch","id":8702579,"avatar_url":"https://avatars.githubusercontent.com/u/8702579?v=3","gravatar_id":"","url":"https://api.github.com/users/pgkirsch","html_url":"https://github.com/pgkirsch","followers_url":"https://api.github.com/users/pgkirsch/followers","following_url":"https://api.github.com/users/pgkirsch/following{/other_user}","gists_url":"https://api.github.com/users/pgkirsch/gists{/gist_id}","starred_url":"https://api.github.com/users/pgkirsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgkirsch/subscriptions","organizations_url":"https://api.github.com/users/pgkirsch/orgs","repos_url":"https://api.github.com/users/pgkirsch/repos","events_url":"https://api.github.com/users/pgkirsch/events{/privacy}","received_events_url":"https://api.github.com/users/pgkirsch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-01T16:46:07Z","updated_at":"2015-05-07T20:07:05Z","closed_at":"2015-05-07T20:07:05Z","body":"Ignore the fact that this problem (full code below) is infeasible, but the line\r\n```\r\nsol = sp.localsolve(xk={a3: 0.1, a4: 0.1})\r\n```\r\n\r\ngives the error \r\n\r\n```\r\nRuntimeWarning: starting point for solution needs tocontain the following variables: [a4]\r\n```\r\n\r\nhowever changing that line to anything where `a4` is a string doesn't return the runtime warning, e.g.;\r\n```\r\nsol = sp.localsolve(xk={a3: 0.1, 'a4': 0.1})\r\n```\r\n\r\nFull code here:\r\n\r\n```\r\nimport gpkit\r\n\r\ngpkit.enable_signomials()\r\n\r\na3 = gpkit.Variable('a3')\r\na4 = gpkit.Variable('a4')\r\n\r\nconstraints = [ 60*a3 -  2./3  <= 6 *a4 , \r\n               20*a4  >= -1./45 + 6 *a3 ]\r\n\r\nobjective = a4**12/a3\r\n\r\nsp = gpkit.SP(objective, constraints)\r\nsol = sp.localsolve(xk={a3:0.1, a4:0.1})\r\nprint sol.table()\r\n```"}}