{"id":308,"date":"2013-01-22T23:28:50","date_gmt":"2013-01-22T23:28:50","guid":{"rendered":"http:\/\/solverstudio.org\/?page_id=308"},"modified":"2013-03-18T05:45:03","modified_gmt":"2013-03-18T05:45:03","slug":"gams","status":"publish","type":"page","link":"https:\/\/solverstudio.org\/languages\/gams\/","title":{"rendered":"SolverStudio &#038; GAMS"},"content":{"rendered":"<p><a href=\"http:\/\/gams.com\" rel=\"attachment wp-att-309\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-309   alignright\" alt=\"GAMS\" src=\"http:\/\/solverstudio.org\/wp-content\/uploads\/2013\/01\/gams_s.gif\" width=\"86\" height=\"71\" \/><\/a><\/p>\n<p>SolverStudio supports the commercial <a title=\"GAMS web site\" href=\"http:\/\/gams.com\" target=\"_blank\">GAMS<\/a> modelling environment which needs to be <a title=\"Download GAMS from gams.com\" href=\"http:\/\/www.gams.com\/download\/\" target=\"_blank\">downloaded<\/a> and installed by the user. Downloading and installing GAMS will give you access to a demo version (with limited capabilities) which can be upgraded to the full version by <a href=\"http:\/\/www.gams.com\/sales\/sales.htm\" target=\"_blank\">purchasing a license<\/a>.<\/p>\n<p>SolverStudio (in version 0.5 and later) supports solving GAMS models in the cloud using the online <a href=\"http:\/\/www.neos-server.org\/\" target=\"_blank\">NEOS<\/a> support generously provided by GAMS. (Note that GAMS does not need to be downloaded or installed to use this NEOS feature.) Other features include easily importing GAMS GDX files into Excel. Thanks to integrated GDX support, SolverStudio is also faster when processing large data sets.<\/p>\n<p>We recommend users look at the GAMS examples included with SolverStudio to see how data and results should be passed between a GAMS model and the spreadsheet.<\/p>\n<p>We gratefully acknowledge the assistance provided by GAMS in providing us with a license to support the development and testing of SolverStudio, and also allowing us to distribute the GAMS GDX DLL (gdxdclib.dll) with SolverStudio. (This DLL, which is included in the GAMS download, is documented <a href=\"http:\/\/www.gams.com\/dd\/docs\/api\/expert-level\/gdxioapi.pdf\">here<\/a>. This file contains proprietary code owned by GAMS.)<\/p>\n<p><em>Examples:<br \/>\n<\/em> The SolverStudio download includes examples of GAMS formulations. The following is another <a title=\"Transportation example from www.gams.com\" href=\"http:\/\/www.gams.com\/docs\/example.htm\" target=\"_blank\">example provided by GAMS<\/a> that illustrates their language structure.<\/p>\n<pre>  SETS\r\n       I   canning plants   \/ SEATTLE, SAN-DIEGO \/\r\n       J   markets          \/ NEW-YORK, CHICAGO, TOPEKA \/ ;\r\n  PARAMETERS\r\n       A(I)  capacity of plant i in cases\r\n         \/    SEATTLE     350\r\n              SAN-DIEGO   600  \/\r\n       B(J)  demand at market j in cases\r\n         \/    NEW-YORK    325\r\n              CHICAGO     300\r\n              TOPEKA      275  \/ ;\r\n  TABLE D(I,J)  distance in thousands of miles\r\n                    NEW-YORK       CHICAGO      TOPEKA\r\n      SEATTLE          2.5           1.7          1.8\r\n      SAN-DIEGO        2.5           1.8          1.4  ;\r\n  SCALAR F  freight in dollars per case per thousand miles  \/90\/ ;\r\n  PARAMETER C(I,J)  transport cost in thousands of dollars per case ;\r\n            C(I,J) = F * D(I,J) \/ 1000 ;\r\n  VARIABLES\r\n       X(I,J)  shipment quantities in cases\r\n       Z       total transportation costs in thousands of dollars ;\r\n  POSITIVE VARIABLE X ;\r\n  EQUATIONS\r\n       COST        define objective function\r\n       SUPPLY(I)   observe supply limit at plant i\r\n       DEMAND(J)   satisfy demand at market j ;\r\n  COST ..        Z  =E=  SUM((I,J), C(I,J)*X(I,J)) ;\r\n  SUPPLY(I) ..   SUM(J, X(I,J))  =L=  A(I) ;\r\n  DEMAND(J) ..   SUM(I, X(I,J))  =G=  B(J) ;\r\n  MODEL TRANSPORT \/ALL\/ ;\r\n  SOLVE TRANSPORT USING LP MINIMIZING Z ;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>SolverStudio supports the commercial GAMS modelling environment which needs to be downloaded and installed by the user. Downloading and installing GAMS will give you access to a demo version (with limited capabilities) which can be upgraded to the full version by purchasing a license. SolverStudio (in version 0.5 and later) supports solving GAMS models in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":201,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-308","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/solverstudio.org\/wp-json\/wp\/v2\/pages\/308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/solverstudio.org\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/solverstudio.org\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/solverstudio.org\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/solverstudio.org\/wp-json\/wp\/v2\/comments?post=308"}],"version-history":[{"count":13,"href":"https:\/\/solverstudio.org\/wp-json\/wp\/v2\/pages\/308\/revisions"}],"predecessor-version":[{"id":311,"href":"https:\/\/solverstudio.org\/wp-json\/wp\/v2\/pages\/308\/revisions\/311"}],"up":[{"embeddable":true,"href":"https:\/\/solverstudio.org\/wp-json\/wp\/v2\/pages\/201"}],"wp:attachment":[{"href":"https:\/\/solverstudio.org\/wp-json\/wp\/v2\/media?parent=308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}