{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaOpt/SCS.jl/issues/41","labels_url":"https://api.github.com/repos/JuliaOpt/SCS.jl/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/JuliaOpt/SCS.jl/issues/41/comments","events_url":"https://api.github.com/repos/JuliaOpt/SCS.jl/issues/41/events","html_url":"https://github.com/JuliaOpt/SCS.jl/pull/41","id":100341725,"number":41,"title":"take out sign flipping, closes #40","user":{"login":"bodono","id":555071,"avatar_url":"https://avatars.githubusercontent.com/u/555071?v=3","gravatar_id":"","url":"https://api.github.com/users/bodono","html_url":"https://github.com/bodono","followers_url":"https://api.github.com/users/bodono/followers","following_url":"https://api.github.com/users/bodono/following{/other_user}","gists_url":"https://api.github.com/users/bodono/gists{/gist_id}","starred_url":"https://api.github.com/users/bodono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bodono/subscriptions","organizations_url":"https://api.github.com/users/bodono/orgs","repos_url":"https://api.github.com/users/bodono/repos","events_url":"https://api.github.com/users/bodono/events{/privacy}","received_events_url":"https://api.github.com/users/bodono/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-08-11T15:42:09Z","updated_at":"2015-08-11T19:23:47Z","closed_at":"2015-08-11T19:23:43Z","pull_request":{"url":"https://api.github.com/repos/JuliaOpt/SCS.jl/pulls/41","html_url":"https://github.com/JuliaOpt/SCS.jl/pull/41","diff_url":"https://github.com/JuliaOpt/SCS.jl/pull/41.diff","patch_url":"https://github.com/JuliaOpt/SCS.jl/pull/41.patch"},"body":"Now output in https://github.com/JuliaOpt/SCS.jl/issues/40 is:\r\n\r\n```\r\njulia> @show MathProgBase.status(m)\r\nMathProgBase.status(m) = :Optimal\r\n:Optimal\r\n\r\njulia> @show MathProgBase.getobjval(m)\r\nMathProgBase.getobjval(m) = -0.0005944812927751632\r\n-0.0005944812927751632\r\n\r\njulia> @show MathProgBase.getsolution(m)\r\nMathProgBase.getsolution(m) = [-0.0005944812927751632,1.0000244304176664,1.000024520748117]\r\n3-element Array{Float64,1}:\r\n -0.000594481\r\n  1.00002    \r\n  1.00002    \r\n\r\njulia> y = MathProgBase.getconicdual(m)\r\n5-element Array{Float64,1}:\r\n  1663.68\r\n  1663.68\r\n  1663.68\r\n     1.0 \r\n -1663.68\r\n\r\njulia> @show y\r\ny = [1663.6755938289195,1663.676176978334,1663.6760356732946,1.0000001698583723,-1663.675735133884]\r\n5-element Array{Float64,1}:\r\n  1663.68\r\n  1663.68\r\n  1663.68\r\n     1.0 \r\n -1663.68\r\n\r\njulia> @show -dot(b,y) # should match primal objective\r\n-(dot(b,y)) = -0.0005831494145240868\r\n-0.0005831494145240868\r\n\r\njulia> @show c + A'y # should be all zeros, since variables are free\r\nc + A' * y = [-1.698583722564706e-7,0.00014130496447251062,0.00014130503950582352]\r\n3-element Array{Float64,1}:\r\n -1.69858e-7 \r\n  0.000141305\r\n  0.000141305\r\n```"},"comment":{"url":"https://api.github.com/repos/JuliaOpt/SCS.jl/issues/comments/130028196","html_url":"https://github.com/JuliaOpt/SCS.jl/pull/41#issuecomment-130028196","issue_url":"https://api.github.com/repos/JuliaOpt/SCS.jl/issues/41","id":130028196,"user":{"login":"mlubin","id":1733683,"avatar_url":"https://avatars.githubusercontent.com/u/1733683?v=3","gravatar_id":"","url":"https://api.github.com/users/mlubin","html_url":"https://github.com/mlubin","followers_url":"https://api.github.com/users/mlubin/followers","following_url":"https://api.github.com/users/mlubin/following{/other_user}","gists_url":"https://api.github.com/users/mlubin/gists{/gist_id}","starred_url":"https://api.github.com/users/mlubin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlubin/subscriptions","organizations_url":"https://api.github.com/users/mlubin/orgs","repos_url":"https://api.github.com/users/mlubin/repos","events_url":"https://api.github.com/users/mlubin/events{/privacy}","received_events_url":"https://api.github.com/users/mlubin/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T19:23:47Z","updated_at":"2015-08-11T19:23:47Z","body":"Thanks!"}}