{"action":"opened","issue":{"url":"https://api.github.com/repos/dirkschumacher/ompr/issues/13","repository_url":"https://api.github.com/repos/dirkschumacher/ompr","labels_url":"https://api.github.com/repos/dirkschumacher/ompr/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/dirkschumacher/ompr/issues/13/comments","events_url":"https://api.github.com/repos/dirkschumacher/ompr/issues/13/events","html_url":"https://github.com/dirkschumacher/ompr/issues/13","id":163520269,"number":13,"title":"Bug: -x instead of -1 * x causes problem","user":{"login":"dirkschumacher","id":1569647,"avatar_url":"https://avatars.githubusercontent.com/u/1569647?v=3","gravatar_id":"","url":"https://api.github.com/users/dirkschumacher","html_url":"https://github.com/dirkschumacher","followers_url":"https://api.github.com/users/dirkschumacher/followers","following_url":"https://api.github.com/users/dirkschumacher/following{/other_user}","gists_url":"https://api.github.com/users/dirkschumacher/gists{/gist_id}","starred_url":"https://api.github.com/users/dirkschumacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirkschumacher/subscriptions","organizations_url":"https://api.github.com/users/dirkschumacher/orgs","repos_url":"https://api.github.com/users/dirkschumacher/repos","events_url":"https://api.github.com/users/dirkschumacher/events{/privacy}","received_events_url":"https://api.github.com/users/dirkschumacher/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dirkschumacher/ompr/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-02T14:16:44Z","updated_at":"2016-07-02T14:16:44Z","closed_at":null,"body":"```R\r\nadd_variable(new(\"Model\"), x, type = \"continuous\", lb = 4) %>%\r\n    add_variable(y, type = \"continuous\", ub = 4) %>%\r\n    add_constraint(x + y, \"<=\", 10) %>%\r\n    set_objective(-x + y, direction = \"max\") %>%\r\n    solve_model(configure_glpk_solver())\r\n```"}}
{"actor":{"display_login":"dirkschumacher"}}