{"action":"opened","issue":{"url":"https://api.github.com/repos/ibex-team/ibex-lib/issues/219","repository_url":"https://api.github.com/repos/ibex-team/ibex-lib","labels_url":"https://api.github.com/repos/ibex-team/ibex-lib/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/ibex-team/ibex-lib/issues/219/comments","events_url":"https://api.github.com/repos/ibex-team/ibex-lib/issues/219/events","html_url":"https://github.com/ibex-team/ibex-lib/issues/219","id":166116643,"number":219,"title":"System: trouble with copy and reformulation","user":{"login":"Jordan08","id":6967787,"avatar_url":"https://avatars.githubusercontent.com/u/6967787?v=3","gravatar_id":"","url":"https://api.github.com/users/Jordan08","html_url":"https://github.com/Jordan08","followers_url":"https://api.github.com/users/Jordan08/followers","following_url":"https://api.github.com/users/Jordan08/following{/other_user}","gists_url":"https://api.github.com/users/Jordan08/gists{/gist_id}","starred_url":"https://api.github.com/users/Jordan08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jordan08/subscriptions","organizations_url":"https://api.github.com/users/Jordan08/orgs","repos_url":"https://api.github.com/users/Jordan08/repos","events_url":"https://api.github.com/users/Jordan08/events{/privacy}","received_events_url":"https://api.github.com/users/Jordan08/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-18T15:08:39Z","updated_at":"2016-07-18T15:08:39Z","closed_at":null,"body":"```\r\nint main(int argc, char** argv) {\r\n\r\n\tcout<<\"begin\"<< endl;\r\n\tAmplInterface interface(argv[1]);\r\n\tcout<<\"creation ok\"<< endl;\r\n\tSystem sys(interface);\r\n\tcout<<\"Bound_sys\"<< endl;\r\n\tcout<<sys.box<<endl;\r\n\tNormalizedSystem sys1(interface);\r\n\tcout<<\"Bound_sys Normalized\"<< endl;\r\n\tcout<<sys1.box<<endl;\r\n\tExtendedSystem sys2(sys1);\r\n\tcout<<\"Bound_sys Extended\"<< endl;\r\n\tcout<<sys2.box<<endl;\r\n\tExtendedSystem sys3(interface);\r\n\tcout<<\"Bound_sys Extended\"<< endl;\r\n\tcout<<sys3.box<<endl;\r\n}\r\n```\r\n\r\nwith this file \r\n```\r\n# Premier  Exemple:\r\n# Cette exemple condence le model, les données et les commandes\r\n# Donner dans la case \"Model File\" sur le serveur NEOS\r\n\r\nparam c := 100;                          # constante\r\nvar x1 >=0 , <=5;                                  # variable x1\r\nvar x2 >=0 , <=5;                                  # variable x2\r\nminimize f: c*(x2-x1^2)^2 + (1-x1)^2;    # fonction à minimiser\r\nsubject to const: x1^2 +x2^2 - 1.5 <= 0; # une contrainte d'inégalité\r\nlet x1 := 1.9;                           # initialisation de x1\r\nlet x2 := 2;                             # initialisation de x2\r\nsolve;                                   # appel du solveur\r\ndisplay x1;                              # affichage de x1\r\ndisplay x2;                              # affichage de x2\r\n\r\nwrite gex1;\r\n```\r\n[ex1.nl](https://www.dropbox.com/s/sfr91y31c842w5x/ex1.nl?dl=0)\r\n\r\n\r\nreturn\r\n\r\n```\r\nbegin\r\ncreation ok\r\nBound_sys\r\n([0, 5] ; [0, 5])\r\nBound_sys Normalized\r\n([ ENTIRE ] ; [ ENTIRE ])\r\nBound_sys Extended\r\n([ ENTIRE ] ; [ ENTIRE ] ; [ ENTIRE ])\r\nErreur de segmentation (core dumped)\r\n```\r\n"}}
{"actor":{"display_login":"Jordan08"}}