{"id":1695,"date":"2016-11-14T17:08:39","date_gmt":"2016-11-14T16:08:39","guid":{"rendered":"http:\/\/www.supagro.fr\/wordpress\/modeleco\/?page_id=1695"},"modified":"2019-06-19T14:04:30","modified_gmt":"2019-06-19T12:04:30","slug":"activite-13a-desserrer-les-contraintes-solution","status":"publish","type":"page","link":"https:\/\/www.supagro.fr\/wordpress\/modelecoen\/auto-formation\/sequence2\/cours1-enrichir-le-modele-de-base\/lecon13\/activite-13a-desserrer-les-contraintes-solution\/","title":{"rendered":"Activity 13A : Loosening constraints \u2013 Solution"},"content":{"rendered":"<p>Even though the model offers a solution, the <strong>model status<\/strong> is 3, which means Unbounded. There is therefore no optimal solution. This can be observed in various places :<br \/>\nin the process window (warning : it is not written in red), it is written as follows :<br \/>\n<em><strong>\u00a0\u00a0\u00a0\u00a0<\/strong><\/em>\u00a0LP status(2): unbounded<br \/>\nin the results file in\u00a0\u00ab\u00a0Solution Report\u00a0\u00bb\u00a0:<br \/>\n**** MODEL STATUS\u00a0 3 UNBOUNDED<br \/>\nthen in the variables\u00a0\u00ab\u00a0SolVAR\u00a0\u00bb for var MOS :<br \/>\n<em><strong>\u00a0\u00a0\u00a0\u00a0<\/strong><\/em>\u00a0hiver\u00a0\u00a0\u00a0\u00a0 .\u00a0\u00a0\u00a0\u00a0\u00a0 .\u00a0\u00a0\u00a0\u00a0 +INF\u00a0\u00a0 6000 \u00a0\u00a0 UNBND<br \/>\nfinally, at the end of the\u00a0\u00ab\u00a0Report Summary\u00a0\u00bb\u00a0file :<br \/>\n<em><strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/strong><\/em>\u00a0**** Report Summary 0 NONOPT 0 INFEASIBLE 1 UNBOUNDED (UNBND)<\/p>\n<p>Download the model solution : <a href=\"https:\/\/www.supagro.fr\/ModelEco\/en\/modeles\/modelEco_labour3.zip\">labour3.gms<\/a><\/p>\n<p>The result parameter is written as follows :<\/p>\n<p>Parameter RESULT(*,*);<br \/>\nRESULT(c,t) = X.L(c,t);<br \/>\nRESULT(\u2018Terre\u2019, \u2018Total\u2019) = TERRE.L;<br \/>\nRESULT(\u2018Terre\u2019, \u2018Marginal\u2019)=TERRE.M;<br \/>\nRESULT(\u2018Travail_Hiver\u2019, \u2018Total\u2019) = TRAVAIL.L(\u2018hiver\u2019);<br \/>\nRESULT(\u2018Travail_Hiver\u2019, \u2018Marginal\u2019)= TRAVAIL.M(\u2018hiver\u2019);<br \/>\nRESULT(\u2018Travail_Ete\u2019, \u2018Total\u2019) = TRAVAIL.L(\u2018ete\u2019);<br \/>\nRESULT(\u2018Travail_Ete\u2019, \u2018Marginal\u2019)= TRAVAIL.M(\u2018ete\u2019);<br \/>\nRESULT(\u2018MOS_Hiver\u2019, \u2018Total\u2019)=MOS.L(\u2018hiver\u2019);<br \/>\nRESULT(\u2018MOS_Ete\u2019, \u2018Total\u2019)=MOS.L(\u2018ete\u2019);<br \/>\nRESULT(\u2018Eau\u2019, \u2018Total\u2019) = EAU.L;<br \/>\nRESULT(\u2018Eau\u2019, \u2018Marginal\u2019)= EAU.M;<br \/>\nRESULT(c,\u2019TOTAL\u2019) = sum(t, X.L(c,t));<br \/>\nRESULT(\u2018StatutDuModele\u2019, \u2018Total\u2019)= modelS2.ModelStat ;<br \/>\nDisplay RESULT ;<\/p>\n<p>In order to export the data in Excel, the following code lines must be written :<\/p>\n<p>execute_unload \u2018resultat_labour3_B.gdx\u2019 RESULT ;<br \/>\nexecute \u2018gdxxrw.exe resultat_labour3_B.gdx par=RESULT\u2019\u00a0\u00a0\u00a0\u00a0 ;<\/p>\n<p><a href=\"http:\/\/www.supagro.fr\/wordpress\/modelecoen\/auto-formation\/sequence2\/cours1-enrichir-le-modele-de-base\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4121 alignright\" src=\"http:\/\/www.supagro.fr\/wordpress\/modelecoen\/files\/2018\/11\/backUnit.png\" alt=\"\" width=\"211\" height=\"66\" \/><\/a><a href=\"http:\/\/www.supagro.fr\/wordpress\/modelecoen\/auto-formation\/sequence2\/cours1-enrichir-le-modele-de-base\/lecon13\/activite-13a-desserrer-toutes-les-contraintes\/\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-4326 alignleft\" src=\"http:\/\/www.supagro.fr\/wordpress\/modelecoen\/files\/2018\/11\/backStatement.png\" alt=\"\" width=\"191\" height=\"61\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Even though the model offers a solution, the model status is 3, which means Unbounded. There is therefore no optimal solution. This can be observed in various places : in the process window (warning : it is not written in <a class=\"more-link\" href=\"https:\/\/www.supagro.fr\/wordpress\/modelecoen\/auto-formation\/sequence2\/cours1-enrichir-le-modele-de-base\/lecon13\/activite-13a-desserrer-les-contraintes-solution\/\">Continue reading <span class=\"screen-reader-text\">  Activity 13A : Loosening constraints \u2013 Solution<\/span><span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":92,"featured_media":0,"parent":397,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1695","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.supagro.fr\/wordpress\/modelecoen\/wp-json\/wp\/v2\/pages\/1695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supagro.fr\/wordpress\/modelecoen\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.supagro.fr\/wordpress\/modelecoen\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.supagro.fr\/wordpress\/modelecoen\/wp-json\/wp\/v2\/users\/92"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supagro.fr\/wordpress\/modelecoen\/wp-json\/wp\/v2\/comments?post=1695"}],"version-history":[{"count":14,"href":"https:\/\/www.supagro.fr\/wordpress\/modelecoen\/wp-json\/wp\/v2\/pages\/1695\/revisions"}],"predecessor-version":[{"id":4583,"href":"https:\/\/www.supagro.fr\/wordpress\/modelecoen\/wp-json\/wp\/v2\/pages\/1695\/revisions\/4583"}],"up":[{"embeddable":true,"href":"https:\/\/www.supagro.fr\/wordpress\/modelecoen\/wp-json\/wp\/v2\/pages\/397"}],"wp:attachment":[{"href":"https:\/\/www.supagro.fr\/wordpress\/modelecoen\/wp-json\/wp\/v2\/media?parent=1695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}