{"action":"created","issue":{"url":"https://api.github.com/repos/appliedopt/gpkit/issues/114","labels_url":"https://api.github.com/repos/appliedopt/gpkit/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/appliedopt/gpkit/issues/114/comments","events_url":"https://api.github.com/repos/appliedopt/gpkit/issues/114/events","html_url":"https://github.com/appliedopt/gpkit/issues/114","id":54814698,"number":114,"title":"Constraint Not Iterable","user":{"login":"cjk12","id":8631725,"avatar_url":"https://avatars.githubusercontent.com/u/8631725?v=3","gravatar_id":"","url":"https://api.github.com/users/cjk12","html_url":"https://github.com/cjk12","followers_url":"https://api.github.com/users/cjk12/followers","following_url":"https://api.github.com/users/cjk12/following{/other_user}","gists_url":"https://api.github.com/users/cjk12/gists{/gist_id}","starred_url":"https://api.github.com/users/cjk12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjk12/subscriptions","organizations_url":"https://api.github.com/users/cjk12/orgs","repos_url":"https://api.github.com/users/cjk12/repos","events_url":"https://api.github.com/users/cjk12/events{/privacy}","received_events_url":"https://api.github.com/users/cjk12/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-19T21:29:44Z","updated_at":"2015-01-19T22:56:49Z","closed_at":"2015-01-19T22:12:37Z","body":"I'm not sure why this isn't working:\r\n\r\n`import gpkit as gpkit`\r\n`A = gpkit.mon(\"A\", \"-\", \"Test Variable\")`\r\n`gp = gpkit.GP(A, A>=1.3)`   <-------------------------------------\r\n`res_all = gp.solve(printing=False)`\r\n`res = res_all['variables']`\r\n`print type(res['A'])`\r\n\r\nI'm getting an error telling me the constraint is not iterable at the indicated line.  Also, I think this is actually returning 'str' and not 'float' as expected."},"comment":{"url":"https://api.github.com/repos/appliedopt/gpkit/issues/comments/70575909","html_url":"https://github.com/appliedopt/gpkit/issues/114#issuecomment-70575909","issue_url":"https://api.github.com/repos/appliedopt/gpkit/issues/114","id":70575909,"user":{"login":"whoburg","id":6042395,"avatar_url":"https://avatars.githubusercontent.com/u/6042395?v=3","gravatar_id":"","url":"https://api.github.com/users/whoburg","html_url":"https://github.com/whoburg","followers_url":"https://api.github.com/users/whoburg/followers","following_url":"https://api.github.com/users/whoburg/following{/other_user}","gists_url":"https://api.github.com/users/whoburg/gists{/gist_id}","starred_url":"https://api.github.com/users/whoburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whoburg/subscriptions","organizations_url":"https://api.github.com/users/whoburg/orgs","repos_url":"https://api.github.com/users/whoburg/repos","events_url":"https://api.github.com/users/whoburg/events{/privacy}","received_events_url":"https://api.github.com/users/whoburg/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T22:56:49Z","updated_at":"2015-01-19T22:56:49Z","body":"Agreed, I like keeping the API as simple as possible, even if it's a little less friendly."}}