{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaOpt/JuMP.jl/issues/1293","repository_url":"https://api.github.com/repos/JuliaOpt/JuMP.jl","labels_url":"https://api.github.com/repos/JuliaOpt/JuMP.jl/issues/1293/labels{/name}","comments_url":"https://api.github.com/repos/JuliaOpt/JuMP.jl/issues/1293/comments","events_url":"https://api.github.com/repos/JuliaOpt/JuMP.jl/issues/1293/events","html_url":"https://github.com/JuliaOpt/JuMP.jl/issues/1293","id":321811427,"number":1293,"title":"Simple Constraint Type Inspection","user":{"login":"ccoffrin","id":1105578,"avatar_url":"https://avatars3.githubusercontent.com/u/1105578?v=4","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":1,"created_at":"2018-05-10T05:10:51Z","updated_at":"2018-05-10T21:26:20Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Is there a clean way to support functions like,\r\n```julia\r\nnumlinconstr(model)\r\nnumquadconstr(model)\r\n```\r\nWithout the user needing to understand all of the constraint variants in MOI?"},"comment":{"url":"https://api.github.com/repos/JuliaOpt/JuMP.jl/issues/comments/388191131","html_url":"https://github.com/JuliaOpt/JuMP.jl/issues/1293#issuecomment-388191131","issue_url":"https://api.github.com/repos/JuliaOpt/JuMP.jl/issues/1293","id":388191131,"user":{"login":"ccoffrin","id":1105578,"avatar_url":"https://avatars3.githubusercontent.com/u/1105578?v=4","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":"2018-05-10T21:26:20Z","updated_at":"2018-05-10T21:26:20Z","author_association":"CONTRIBUTOR","body":"Right, I was thinking it would be convenient for JuMP users if they did not have to know all these MOI constraint variants and JuMP provided helper functions along this line that called the most common ones."}}
{"actor":{"display_login":"ccoffrin"}}