{"action":"created","issue":{"url":"https://api.github.com/repos/Pyomo/pyomo/issues/663","repository_url":"https://api.github.com/repos/Pyomo/pyomo","labels_url":"https://api.github.com/repos/Pyomo/pyomo/issues/663/labels{/name}","comments_url":"https://api.github.com/repos/Pyomo/pyomo/issues/663/comments","events_url":"https://api.github.com/repos/Pyomo/pyomo/issues/663/events","html_url":"https://github.com/Pyomo/pyomo/issues/663","id":352304310,"node_id":"MDU6SXNzdWUzNTIzMDQzMTA=","number":663,"title":"Issue exporting model to gams with power operator","user":{"login":"pazochoa","id":30808587,"node_id":"MDQ6VXNlcjMwODA4NTg3","avatar_url":"https://avatars3.githubusercontent.com/u/30808587?v=4","gravatar_id":"","url":"https://api.github.com/users/pazochoa","html_url":"https://github.com/pazochoa","followers_url":"https://api.github.com/users/pazochoa/followers","following_url":"https://api.github.com/users/pazochoa/following{/other_user}","gists_url":"https://api.github.com/users/pazochoa/gists{/gist_id}","starred_url":"https://api.github.com/users/pazochoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pazochoa/subscriptions","organizations_url":"https://api.github.com/users/pazochoa/orgs","repos_url":"https://api.github.com/users/pazochoa/repos","events_url":"https://api.github.com/users/pazochoa/events{/privacy}","received_events_url":"https://api.github.com/users/pazochoa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-20T21:32:32Z","updated_at":"2018-08-22T13:30:47Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI am exporting an expression with a negative power operator to gams:\r\npyomo exports: m.Eq1=Constraint(expr=m.B+ m.A * m.T1**-1.0==0)\r\ngams receives:   Eq1..        B+ A* T1**- 1.0 =e= 0.0 \r\n\r\nAnd I am getting the following error in gams:\r\n\r\n445  More than one operator in a row. You need to use parenthesis\r\n       if you want to use such statements. For example\r\n           x := x + - not y;  ->  x := x + (- (not y));\r\n           sum(i$not x, ..)   ->  sum(i$(not x),..)\r\nBest, \r\nPaz\r\n"},"comment":{"url":"https://api.github.com/repos/Pyomo/pyomo/issues/comments/415032229","html_url":"https://github.com/Pyomo/pyomo/issues/663#issuecomment-415032229","issue_url":"https://api.github.com/repos/Pyomo/pyomo/issues/663","id":415032229,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTAzMjIyOQ==","user":{"login":"gseastream","id":28630589,"node_id":"MDQ6VXNlcjI4NjMwNTg5","avatar_url":"https://avatars3.githubusercontent.com/u/28630589?v=4","gravatar_id":"","url":"https://api.github.com/users/gseastream","html_url":"https://github.com/gseastream","followers_url":"https://api.github.com/users/gseastream/followers","following_url":"https://api.github.com/users/gseastream/following{/other_user}","gists_url":"https://api.github.com/users/gseastream/gists{/gist_id}","starred_url":"https://api.github.com/users/gseastream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gseastream/subscriptions","organizations_url":"https://api.github.com/users/gseastream/orgs","repos_url":"https://api.github.com/users/gseastream/repos","events_url":"https://api.github.com/users/gseastream/events{/privacy}","received_events_url":"https://api.github.com/users/gseastream/received_events","type":"User","site_admin":false},"created_at":"2018-08-22T13:30:47Z","updated_at":"2018-08-22T13:30:47Z","author_association":"CONTRIBUTOR","body":"Yes, there was a similar issue when variables were fixed to negative values. The fix for this should be very similar."}}
{"actor":{"display_login":"gseastream"}}