{"id":161,"date":"2024-03-25T11:40:46","date_gmt":"2024-03-25T11:40:46","guid":{"rendered":"https:\/\/dataenvelopment.com\/gams\/?p=161"},"modified":"2024-03-25T11:43:14","modified_gmt":"2024-03-25T11:43:14","slug":"chapter-6-fig-6-01","status":"publish","type":"post","link":"https:\/\/dataenvelopment.com\/gams\/chapter-6-fig-6-01\/","title":{"rendered":"Chapter 6 (Fig. 6.01) &#8211; The Mathematical formulation for BoD model and the corresponding GAMS code"},"content":{"rendered":"\n<pre class=\"wp-block-preformatted\">$Title Chapter 6 (Fig. 6.1)\r\n$Title Mathematical formulation for BoD model and the corresponding GAMS code\r\n\r\n$onText\r\n\r\nIf using this code, please cite:\r\n\r\n---------------------------------------------------------------------------------\r\nEmrouznejad, A., P. Petridis, and V. Charles (2023). Data Envelopment Analysis\r\nwith GAMS: A Handbook on Productivity Analysis, and Performance Measurement,\r\nSpringer, ISBN: 978-3-031-30700-3.\r\n---------------------------------------------------------------------------------\r\n\r\nWebsite: https:\/\/dataenvelopment.com\/GAMS\/\r\n\r\n$offText\r\n\r\nSets    i criteria \/C1*C6\/\r\n        j alternatives \/Alt1*Alt10\/;\r\n\r\nParameters\r\n\r\nres_w(i) results of weights for each criterion i\r\nCI(j) Sub-Composite Indicator of alternative j;\r\n\r\n\r\nTable x(j,i) Alternative rating as per 6 criteria\r\n           C1       C2        C3       C4       C5       C6\r\nAlt1        2        2        3        2        1        1\r\nAlt2        2        3        1        2        2        2\r\nAlt3        2        2        1        2        2        1\r\nAlt4        1        2        1        3        2        2\r\nAlt5        2        2        3        2        1        1\r\nAlt6        3        2        1        2        3        3\r\nAlt7        1        2        3        2        1        2\r\nAlt8        1        2        1        2        1        1\r\nAlt9        1        2        2        2        3        2\r\nAlt10       1        2        3        1        3        1;\r\n\r\n\r\n\r\nVariables z\r\nNonnegative variables w(i) weights;\r\n\r\nEquations\r\nOBJ\r\nCON2(j);\r\n\r\nOBJ..       z=E=SUM(i,SUM(j,w(i)*x(j,i)));\r\nCON2(j)..   SUM(i,w(i)*x(j,i))=L=1;\r\n\r\nModel BoD\/ALL\/;\r\n\r\nSolve BoD maximizing z using LP;\r\nres_w(i)=w.l(i);\r\nCI(j) = SUM(i,res_w(i)*x(j,i));\r\n\r\nDisplay res_w, CI;\r\n\r\nexecute_unload;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>$Title Chapter 6 (Fig. 6.1) $Title Mathematical formulation for BoD model and the corresponding GAMS code $onText If using this code, please cite: &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Emrouznejad, A., P. Petridis, and V. Charles (2023). Data Envelopment Analysis with GAMS: A Handbook on Productivity Analysis, and Performance Measurement, Springer, ISBN: 978-3-031-30700-3. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Website: https:\/\/dataenvelopment.com\/GAMS\/ $offText Sets i criteria [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/posts\/161"}],"collection":[{"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/comments?post=161"}],"version-history":[{"count":2,"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/posts\/161\/revisions"}],"predecessor-version":[{"id":163,"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/posts\/161\/revisions\/163"}],"wp:attachment":[{"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/media?parent=161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/categories?post=161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/tags?post=161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}