{"action":"created","issue":{"url":"https://api.github.com/repos/lanl-ansi/PowerModels.jl/issues/74","repository_url":"https://api.github.com/repos/lanl-ansi/PowerModels.jl","labels_url":"https://api.github.com/repos/lanl-ansi/PowerModels.jl/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/lanl-ansi/PowerModels.jl/issues/74/comments","events_url":"https://api.github.com/repos/lanl-ansi/PowerModels.jl/issues/74/events","html_url":"https://github.com/lanl-ansi/PowerModels.jl/pull/74","id":203854472,"number":74,"title":"Refactoring Problem Formulations to use Complex Numbers","user":{"login":"ccoffrin","id":1105578,"avatar_url":"https://avatars.githubusercontent.com/u/1105578?v=3","gravatar_id":"","url":"https://api.github.com/users/ccoffrin","html_url":"https://github.com/ccoffrin","followers_url":"https://api.github.com/users/ccoffrin/followers","following_url":"https://api.github.com/users/ccoffrin/following{/other_user}","gists_url":"https://api.github.com/users/ccoffrin/gists{/gist_id}","starred_url":"https://api.github.com/users/ccoffrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccoffrin/subscriptions","organizations_url":"https://api.github.com/users/ccoffrin/orgs","repos_url":"https://api.github.com/users/ccoffrin/repos","events_url":"https://api.github.com/users/ccoffrin/events{/privacy}","received_events_url":"https://api.github.com/users/ccoffrin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-29T06:39:55Z","updated_at":"2017-02-01T00:58:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lanl-ansi/PowerModels.jl/pulls/74","html_url":"https://github.com/lanl-ansi/PowerModels.jl/pull/74","diff_url":"https://github.com/lanl-ansi/PowerModels.jl/pull/74.diff","patch_url":"https://github.com/lanl-ansi/PowerModels.jl/pull/74.patch"},"body":"Previously constructors and constraints had annotations like \"active\", \"reactive\", and \"complex\" to indicate the space they operated on.  In this PR I am experimenting with making all constructors and constraints implicitly \"complex\", with a few explicitly calling out \"active\"/\"reactive\" if they only apply to a specific subset.\r\n\r\nI think this approach will help the code match the math.  For example, it is nearly one-to-one with the formulations presented [here](https://arxiv.org/abs/1502.07847).\r\n\r\nI am not 100% confident this is the best way to go, will wait a few days to merge in.  Discussion is welcome. @rb004f @kersulis @kaarthiksundar @mlubin @bluejuniper"},"comment":{"url":"https://api.github.com/repos/lanl-ansi/PowerModels.jl/issues/comments/276542803","html_url":"https://github.com/lanl-ansi/PowerModels.jl/pull/74#issuecomment-276542803","issue_url":"https://api.github.com/repos/lanl-ansi/PowerModels.jl/issues/74","id":276542803,"user":{"login":"ccoffrin","id":1105578,"avatar_url":"https://avatars.githubusercontent.com/u/1105578?v=3","gravatar_id":"","url":"https://api.github.com/users/ccoffrin","html_url":"https://github.com/ccoffrin","followers_url":"https://api.github.com/users/ccoffrin/followers","following_url":"https://api.github.com/users/ccoffrin/following{/other_user}","gists_url":"https://api.github.com/users/ccoffrin/gists{/gist_id}","starred_url":"https://api.github.com/users/ccoffrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccoffrin/subscriptions","organizations_url":"https://api.github.com/users/ccoffrin/orgs","repos_url":"https://api.github.com/users/ccoffrin/repos","events_url":"https://api.github.com/users/ccoffrin/events{/privacy}","received_events_url":"https://api.github.com/users/ccoffrin/received_events","type":"User","site_admin":false},"created_at":"2017-02-01T00:58:16Z","updated_at":"2017-02-01T00:58:16Z","body":"Had discussions with a few LANL folks, all agreed this is a good idea."}}
{"actor":{"display_login":"ccoffrin"}}