{"id":665,"date":"2016-07-29T14:17:14","date_gmt":"2016-07-29T12:17:14","guid":{"rendered":"http:\/\/www.supagro.fr\/wordpress\/modeleco\/?page_id=665"},"modified":"2019-06-19T13:15:54","modified_gmt":"2019-06-19T11:15:54","slug":"activite-9b-pratique-sur-les-valeurs-duales","status":"publish","type":"page","link":"https:\/\/www.supagro.fr\/wordpress\/modelecoen\/auto-formation\/sequence1\/cours3-probleme-primal-probleme-dual\/activite-9b-pratique-sur-les-valeurs-duales\/","title":{"rendered":"Activity 9 : \u00ab Wheat\/maize \u00bb model \u2013 Writing a dual model"},"content":{"rendered":"<h4 style=\"text-align: right\"><u>Length : around 25 minutes<\/u><\/h4>\n<p><strong>You are now going to write the dual programme of the following base model which you wrote in the GAMS introduction lesson.<\/strong><\/p>\n<p><em>\u00a0\u00ab\u00a0A given farm can grow two types of crop : wheat and maize. The area to be cultivated must be determined for each crop, knowing that :<br \/>\nThe objective of the farmer is to maximize his income.<br \/>\nWheat yields 450\u20ac per hectare, maize 1000\u20ac.<br \/>\nWheat requires 25 hours of labour per hectare and per year, and maize 50 hours.<br \/>\nThe farm area is 50 ha and the farmer can work 2000 hours a year.\u00a0\u00bb<\/em><\/p>\n<p>The primal linear programme is written as follows :<\/p>\n<p>Maximizing Z = 450\u00d71 + 1000\u00d72<br \/>\nwith \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 x1 + x2\u00a0\u2264\u00a050<br \/>\n<em>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/em>\u00a025\u00d71 + 50\u00d72\u00a0\u2264\u00a02000<br \/>\n<em>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/em>\u00a0x1, x2 positive<br \/>\nx1 : wheat primal area<br \/>\nx2 : maize primal area<\/p>\n<p>Optimal solution, x1*=0; x2*=40; Z=40000<\/p>\n<p>We determined in the unit that the dual programme is written as follows :<\/p>\n<p>Minimizing Z=50y1 + 2000y2<br \/>\nwith\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 y1 + 25y2 \u2265 450<br \/>\n<em>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em>\u00a0y1 + 50 y2 \u2265 1000<br \/>\n<em>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em>\u00a0y1, y2 positive<br \/>\ny1\u00a0: dual value associated to the land constraint<br \/>\ny2\u00a0: dual value associated to the labour constraint<\/p>\n<p><strong>Write this dual programme and check that the value of the objective function is the same as for the primal programme, and find the relationships between the solutions of the primal programme and that of the dual one.<\/strong><\/p>\n<p><a href=\"http:\/\/www.supagro.fr\/wordpress\/modelecoen\/auto-formation\/sequence1\/cours3-probleme-primal-probleme-dual\/\"><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><\/p>\n<p><strong>Solution :<\/strong><\/p>\n<p>Download the solution model here :\u00a0<a href=\"https:\/\/www.supagro.fr\/ModelEco\/en\/modeles\/modelEco_dual.zip\"><strong>dual.zip<\/strong><\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Length : around 25 minutes You are now going to write the dual programme of the following base model which you wrote in the GAMS introduction lesson. \u00a0\u00ab\u00a0A given farm can grow two types of crop : wheat and maize. <a class=\"more-link\" href=\"https:\/\/www.supagro.fr\/wordpress\/modelecoen\/auto-formation\/sequence1\/cours3-probleme-primal-probleme-dual\/activite-9b-pratique-sur-les-valeurs-duales\/\">Continue reading <span class=\"screen-reader-text\">  Activity 9 : \u00ab Wheat\/maize \u00bb model \u2013 Writing a dual model<\/span><span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":92,"featured_media":0,"parent":101,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-onecolumn.php","meta":{"footnotes":""},"class_list":["post-665","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.supagro.fr\/wordpress\/modelecoen\/wp-json\/wp\/v2\/pages\/665","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=665"}],"version-history":[{"count":16,"href":"https:\/\/www.supagro.fr\/wordpress\/modelecoen\/wp-json\/wp\/v2\/pages\/665\/revisions"}],"predecessor-version":[{"id":4561,"href":"https:\/\/www.supagro.fr\/wordpress\/modelecoen\/wp-json\/wp\/v2\/pages\/665\/revisions\/4561"}],"up":[{"embeddable":true,"href":"https:\/\/www.supagro.fr\/wordpress\/modelecoen\/wp-json\/wp\/v2\/pages\/101"}],"wp:attachment":[{"href":"https:\/\/www.supagro.fr\/wordpress\/modelecoen\/wp-json\/wp\/v2\/media?parent=665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}