{"action":"created","issue":{"url":"https://api.github.com/repos/hoburg/gpkit/issues/1105","repository_url":"https://api.github.com/repos/hoburg/gpkit","labels_url":"https://api.github.com/repos/hoburg/gpkit/issues/1105/labels{/name}","comments_url":"https://api.github.com/repos/hoburg/gpkit/issues/1105/comments","events_url":"https://api.github.com/repos/hoburg/gpkit/issues/1105/events","html_url":"https://github.com/hoburg/gpkit/issues/1105","id":229993930,"number":1105,"title":"Can","user":{"login":"mopg","id":11822896,"avatar_url":"https://avatars0.githubusercontent.com/u/11822896?v=3","gravatar_id":"","url":"https://api.github.com/users/mopg","html_url":"https://github.com/mopg","followers_url":"https://api.github.com/users/mopg/followers","following_url":"https://api.github.com/users/mopg/following{/other_user}","gists_url":"https://api.github.com/users/mopg/gists{/gist_id}","starred_url":"https://api.github.com/users/mopg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mopg/subscriptions","organizations_url":"https://api.github.com/users/mopg/orgs","repos_url":"https://api.github.com/users/mopg/repos","events_url":"https://api.github.com/users/mopg/events{/privacy}","received_events_url":"https://api.github.com/users/mopg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-19T14:34:14Z","updated_at":"2017-05-19T14:38:26Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/hoburg/gpkit/issues/comments/302720606","html_url":"https://github.com/hoburg/gpkit/issues/1105#issuecomment-302720606","issue_url":"https://api.github.com/repos/hoburg/gpkit/issues/1105","id":302720606,"user":{"login":"mopg","id":11822896,"avatar_url":"https://avatars0.githubusercontent.com/u/11822896?v=3","gravatar_id":"","url":"https://api.github.com/users/mopg","html_url":"https://github.com/mopg","followers_url":"https://api.github.com/users/mopg/followers","following_url":"https://api.github.com/users/mopg/following{/other_user}","gists_url":"https://api.github.com/users/mopg/gists{/gist_id}","starred_url":"https://api.github.com/users/mopg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mopg/subscriptions","organizations_url":"https://api.github.com/users/mopg/orgs","repos_url":"https://api.github.com/users/mopg/repos","events_url":"https://api.github.com/users/mopg/events{/privacy}","received_events_url":"https://api.github.com/users/mopg/received_events","type":"User","site_admin":false},"created_at":"2017-05-19T14:38:26Z","updated_at":"2017-05-19T14:38:26Z","body":"I just pulled gpkit to the latest version, but after I installed it using `pip install -e gpkit`, none of the solves work anymore. \r\n\r\nFor the simple example from the website:\r\n`\"Very simple problem: minimize x while keeping x greater than 1.\"\r\nfrom gpkit import Variable, Model\r\n\r\n# Decision variable\r\nx = Variable(\"x\")\r\n\r\n# Constraint\r\nconstraints = [x >= 1]\r\n\r\n# Objective (to minimize)\r\nobjective = x\r\n\r\n# Formulate the Model\r\nm = Model(objective, constraints)\r\n\r\n# Solve the Model\r\nsol = m.solve(verbosity=1,solver='cvxopt')\r\n\r\n# print selected results\r\nprint(\"Optimal cost:  %s\" % sol[\"cost\"])\r\nprint(\"Optimal x val: %s\" % sol(x))`\r\n\r\nThe output I get is:\r\n`Using solver 'cvxopt'\r\nSolving for 1 variables.\r\nTraceback (most recent call last):\r\n  File \"example.py\", line 17, in <module>\r\n    sol = m.solve(verbosity=1,solver='cvxopt')\r\n  File \"/home/mopg/code/gpkit/gpkit/constraints/prog_factories.py\", line 81, in solvefn\r\n    result = solvefn(solver, verbosity, *args, **kwargs)\r\n  File \"/home/mopg/code/gpkit/gpkit/geometric_program.py\", line 188, in solve\r\n    k=self.k, *args, **kwargs)\r\n  File \"/home/mopg/code/gpkit/gpkit/_cvxopt.py\", line 44, in cvxoptimize\r\n    solution = gpsolver(k, F, g, *args, **kwargs)\r\n  File \"build/bdist.linux-x86_64/egg/cvxopt/cvxprog.py\", line 2161, in gp\r\n  File \"build/bdist.linux-x86_64/egg/cvxopt/cvxprog.py\", line 1966, in cp\r\n  File \"build/bdist.linux-x86_64/egg/cvxopt/cvxprog.py\", line 778, in cpl\r\n  File \"build/bdist.linux-x86_64/egg/cvxopt/cvxprog.py\", line 1901, in kktsolver_e\r\n  File \"build/bdist.linux-x86_64/egg/cvxopt/cvxprog.py\", line 1893, in kktsolver\r\n  File \"build/bdist.linux-x86_64/egg/cvxopt/misc.py\", line 1099, in factor\r\nValueError: -7`\r\n\r\nWith mosek the output is `final status of solver 'mosek' was 'UNKNOWN', not 'optimal'.\r\n\r\nWhen I try reverting to older versions (which worked before), I get the same issues, so I'm probably doing something not particularly intelligent.\r\n\r\nAny thoughts about what could be causing this?"}}
{"actor":{"display_login":"mopg"}}