{"action":"created","issue":{"url":"https://api.github.com/repos/cvxgrp/dccp/issues/5","repository_url":"https://api.github.com/repos/cvxgrp/dccp","labels_url":"https://api.github.com/repos/cvxgrp/dccp/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/cvxgrp/dccp/issues/5/comments","events_url":"https://api.github.com/repos/cvxgrp/dccp/issues/5/events","html_url":"https://github.com/cvxgrp/dccp/issues/5","id":151482329,"number":5,"title":"Failure on small problem","user":{"login":"SteveDiamond","id":520736,"avatar_url":"https://avatars.githubusercontent.com/u/520736?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveDiamond","html_url":"https://github.com/SteveDiamond","followers_url":"https://api.github.com/users/SteveDiamond/followers","following_url":"https://api.github.com/users/SteveDiamond/following{/other_user}","gists_url":"https://api.github.com/users/SteveDiamond/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveDiamond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveDiamond/subscriptions","organizations_url":"https://api.github.com/users/SteveDiamond/orgs","repos_url":"https://api.github.com/users/SteveDiamond/repos","events_url":"https://api.github.com/users/SteveDiamond/events{/privacy}","received_events_url":"https://api.github.com/users/SteveDiamond/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-27T20:25:25Z","updated_at":"2016-04-28T15:52:36Z","closed_at":null,"body":"I ran dccp on this problem\r\n```\r\nfrom cvxpy import *\r\nimport dccp\r\n\r\nx = Variable()\r\n\r\nprob = Problem(Minimize(log(x)), [x**2 >= 5])\r\nprob.solve(method=\"dccp\")\r\nprint x.value\r\n```\r\nand I got a weird error message \r\n```\r\niteration= 1 cost value =  0.373930353269 tau =  0.005\r\nmax slack =  18.0335348159\r\niteration= 2 cost value = \r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"cvxpy/problems/problem.py\", line 171, in solve\r\n    return func(self, *args, **kwargs)\r\n  File \"/Users/stevend2/anaconda/envs/cvxpy/lib/python2.7/site-packages/dccp-0.1.0-py2.7.egg/dccp/problem.py\", line 34, in dccp\r\n    result_temp = iter_dccp(self, max_iter, tau, mu, tau_max, solver)\r\n  File \"/Users/stevend2/anaconda/envs/cvxpy/lib/python2.7/site-packages/dccp-0.1.0-py2.7.egg/dccp/problem.py\", line 373, in iter_dccp\r\n    print \"iteration=\",it, \"cost value = \", prob_new.solve(), \"tau = \", tau\r\n  File \"cvxpy/problems/problem.py\", line 173, in solve\r\n    return self._solve(*args, **kwargs)\r\n  File \"cvxpy/problems/problem.py\", line 284, in _solve\r\n    self._update_problem_state(results_dict, sym_data, solver)\r\n  File \"cvxpy/problems/problem.py\", line 392, in _update_problem_state\r\n    self._handle_no_solution(results_dict[s.STATUS])\r\n  File \"cvxpy/problems/problem.py\", line 438, in _handle_no_solution\r\n    constr.save_value(None)\r\nAttributeError: 'index' object has no attribute 'save_value'\r\n```\r\nIt's non-deterministic (probably due to the randomized initialization)."},"comment":{"url":"https://api.github.com/repos/cvxgrp/dccp/issues/comments/215474755","html_url":"https://github.com/cvxgrp/dccp/issues/5#issuecomment-215474755","issue_url":"https://api.github.com/repos/cvxgrp/dccp/issues/5","id":215474755,"user":{"login":"SteveDiamond","id":520736,"avatar_url":"https://avatars.githubusercontent.com/u/520736?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveDiamond","html_url":"https://github.com/SteveDiamond","followers_url":"https://api.github.com/users/SteveDiamond/followers","following_url":"https://api.github.com/users/SteveDiamond/following{/other_user}","gists_url":"https://api.github.com/users/SteveDiamond/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveDiamond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveDiamond/subscriptions","organizations_url":"https://api.github.com/users/SteveDiamond/orgs","repos_url":"https://api.github.com/users/SteveDiamond/repos","events_url":"https://api.github.com/users/SteveDiamond/events{/privacy}","received_events_url":"https://api.github.com/users/SteveDiamond/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T15:52:36Z","updated_at":"2016-04-28T15:52:36Z","body":"Great! It works now. Thanks!"}}