[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-133313-en":3,"doc-seo-133313-105":31,"detail-sidebar-cat-0-en-105":92},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":22,"language":23,"language_code":24,"site_id":25,"html_lang":24,"table_of_contents":26,"faqs":27,"seo_title":28,"seo_description":14,"update_tm":29,"read_time":30},133313,1374391974468,"Eden","https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0",6,"Technology","GAMS - A User's Guide - Introduction","GAMS A User's Guide provides an end-to-end tutorial and reference for modeling and solving optimization and related problems with the GAMS language. It explains core principles, documentation and portability, then walks through the construction of a GAMS model using sets, parameters, tables, variables, equations, objective functions, and solve/model statements. The guide also details how to enter data, write expressions and summations, manage variable bounds and database attributes, and interpret GAMS output including echo prints, error messages, reference maps, equation listings, model statistics, and solution reports.","GAMS  \nA USER'S GUIDE  \nby: Anthony Brooke David Kendrick Alexander Meeraus Ramesh Raman  \nTutorial by:  \nRichard E. Rosenthal  \nDecember 1998  \n© GAMS Development Corporation, 1998  \nGAMS Development Corporation  \n1217 Potomac Street, N.W. Washington, DC 20007, USA Tel: +1 202 342-0180  \nFax: +1 202 342-0181  \n[E-mail:sales@gams.com](E-mail:sales@gams.com)  \n[Http://www.gams.com/](Http://www.gams.com/)  \n\n| GAMS |  |\n| --- | --- |\n|  |  |\n\nGAMS Software GmbH  \nEupener Str. 135-137 50933 Cologne, Germany Tel: +49 221-949-9170  \nFax: +49 221-949-9171  \n[E-mail:info@gams.de](E-mail:info@gams.de)  \n[Http://www.gams.de/](Http://www.gams.de/)  \nTable of Contents1  \nIntroduction 1  \n1.1 MOTIVATION 1  \n1.2 BASIC FEATURES OF GAMS 1  \n1.2.1 GENERAL PRINCIPLES 1  \n1.2.2 DOCUMENTATION 2  \n1.2.3 PORTABILITY 2  \n1.2.4 USER INTERFACE 2  \n1.2.5 MODEL LIBRARY 2  \n1.3 ORGANIZATION OF THE BOOK 3  \nA Gams Tutorial 5  \n2.1 INTRODUCTION 5  \n2.2 STRUCTURE OF A GAMS MODEL 7  \n2.3 SETS 9  \n2.4 DATA 10  \n2.4.1 DATA ENTRY BY LISTS 10  \n2.4.2 DATA ENTRY BY TABLES 11  \n2.4.3 DATA ENTRY BY DIRECT ASSIGNMENT 11  \n2.5 VARIABLES 12  \n2.6 EQUATIONS 13  \n2.6.1 EQUATION DECLARATION 13  \n2.6.2 GAMS SUMMATION (AND PRODUCT) NOTATION 14  \n2.6.3 EQUATION DEFINITION 14  \n2.7 OBJECTIVE FUNCTION 16  \n2.8 MODEL AND SOLVE STATEMENTS 16  \n2.9 DISPLAY STATEMENTS 17  \n2.10 THE '.LO, .L, .UP, .M' DATABASE 17  \n2.10.1 ASSIGNMENT OF VARIABLE BOUNDS AND/OR INITIAL VALUES 17  \n2.10.2 TRANSFORMATION AND DISPLAY OF OPTIMAL VALUES 18  \n2.11 GAMS OUTPUT 19  \n2.11.1 ECHO PRINTS 19  \n2.11.2 ERROR MESSAGES 21  \n2.11.3 REFERENCE MAPS 23  \n2.11.4 EQUATION LISTINGS 24  \n2.11.5 MODEL STATISTICS 25  \n2.11.6 STATUS REPORTS 25  \n2.11.7 SOLUTION REPORTS 26  \n2.12 SUMMARY 27  \n1 This is version: ug254j  \niv  \nGams Programms 29  \n3.1 INTRODUCTION 29  \n3.2 THE STRUCTURE OF GAMS PROGRAMS 29  \n3.2.1 FORMAT OF GAMS INPUT 29  \n3.2.2 CLASSIFICATION OF GAMS STATEMENTS 30  \n3.2.3 ORGANIZATION OF GAMS PROGRAMS 30  \n3.3 DATA TYPES AND DEFINITIONS 31  \n3.4 LANGUAGE ITEMS 32  \n3.4.1 CHARACTERS 32  \n3.4.2 RESERVED WORDS 33  \n3.4.3 IDENTIFIERS 33  \n3.4.4 LABELS 34  \n3.4.5 TEXT 34  \n3.4.6 NUMBERS 35  \n3.4.7 DELIMITERS 35  \n3.4.8 COMMENTS 36  \n3.5 SUMMARY 36  \nSet Definitions 37  \n4.1 INTRODUCTION 37  \n4.2 SIMPLE SETS 37  \n4.2.1 THE SYNTAX 37  \n4.2.2 SET NAMES 37  \n4.2.3 SET ELEMENTS 38  \n4.2.4 ASSOCIATED TEXT 38  \n4.2.5 SEQUENCES AS SET ELEMENTS 39  \n4.2.6 DECLARATIONS FOR MULTIPLE SETS 40  \n4.3 THE ALIAS STATEMENT: MULTIPLE NAMES FOR A SET 40  \n4.4 SUBSETS AND DOMAIN CHECKING 41  \n4.5 MULTI-DIMENSIONAL SETS 41  \n4.5.1 ONE-TO-ONE MAPPING 41  \n4.5.2 MANY-TO-MANY MAPPING 42  \n4.6 SUMMARY 43  \nData Entry: Parameters, Scalars & Tables 45  \n5.1 INTRODUCTION 45  \n5.2 SCALARS 45  \n5.2.1 THE SYNTAX 45  \n5.2.2 AN ILLUSTRATIVE EXAMPLE 45  \n5.3 PARAMETERS 46  \n5.3.1 THE SYNTAX 46  \n5.3.2 AN ILLUSTRATIVE EXAMPLES 46  \n5.3.3 PARAMETER DATA FOR HIGHER DIMENSIONS 47  \n5.4 TABLES 48  \n5.4.1 THE SYNTAX 48  \n5.4.2 AN ILLUSTRATIVE EXAMPLE 48  \n5.4.3 CONTINUED TABLES 49  \nv  \n5.4.4 TABLES WITH MORE THAN TWO DIMENSIONS 49  \n5.4.5 CONDENSING TABLES 50  \n5.4.6 HANDLING LONG ROW LABELS 50  \n5.5 ACRONYMS 51  \n5.5.1 THE SYNTAX 51  \n5.5.2 ILLUSTRATIVE EXAMPLE 51  \n5.6 SUMMARY 51  \nData Manipulations With Parameters 53  \n6.1 INTRODUCTION 53  \n6.2 THE ASSIGNMENT STATEMENT 53  \n6.2.1 SCALAR ASSIGNMENTS 53  \n6.2.2 INDEXED ASSIGNMENTS 53  \n6.2.3 USING LABELS EXPLICITLY IN ASSIGNMENTS 54  \n6.2.4 ASSIGNMENTS OVER SUBSETS 54  \n6.2.5 ISSUES WITH CONTROLLING INDICES 54  \n6.2.6 EXTENDED RANGE IDENTIFIERS IN ASSIGNMENTS 55  \n6.2.7 ACRONYMS IN ASSIGNMENTS 55  \n6.3 EXPRESSIONS 55  \n6.3.1 STANDARD ARITHMETIC OPERATIONS 56  \n6.3.2 INDEXED OPERATIONS 56  \n6.3.3 FUNCTIONS 58  \n6.3.4 EXTENDED RANGE ARITHMETIC AND ERROR HANDLING 58  \n6.4 SUMMARY 60  \nVariables 61  \n7.1 INTRODUCTION 61  \n7.2 VARIABLE DECLARATIONS 61  \n7.2.1 THE SYNTAX 61  \n7.2.2 VARIABLE TYPES 62  \n7.2.3 STYLES FOR VARIABLE DECLARATION 62  \n7.3 VARIABLE ATTRIBUTES 63  \n7.3.1 BOUNDS ON VARIA","cbCaib6iPTnN6L16","https://ap.wps.com/l/cbCaib6iPTnN6L16","pdf",769557,3,1,276,"English","en",105,"# Introduction\n## Motivation\n## Basic Features of GAMS\n## Organization of the Book\n# A Gams Tutorial\n## Structure of a GAMS Model\n## Sets\n## Data\n## Variables\n## Equations\n## Objective Function\n## Model and Solve Statements\n## Display Statements\n## The '.LO, .L, .UP, .M' Database\n## GAMS Output","[{\"question\":\"What are the basic elements required to build a GAMS model?\",\"answer\":\"A GAMS model is assembled from sets, data (scalars/parameters/tables), variables, equations, an objective function, and model/solve statements.\"},{\"question\":\"How does the guide describe entering parameter data in GAMS?\",\"answer\":\"It covers data entry by lists, by tables, and by direct assignment, including handling higher-dimensional data structures.\"},{\"question\":\"What kinds of output does GAMS produce and how are they interpreted?\",\"answer\":\"The guide details echo prints, error messages, reference maps, equation listings, model statistics, status reports, solve summaries, solver reports, and solution listings.\"}]","GAMS - A User's Guide - Introduction | PDF",1787217316,696,{"code":4,"msg":32,"data":33},"ok",{"site_id":25,"language":24,"slug":34,"title":13,"keywords":35,"description":14,"schema_data":36,"social_meta":87,"head_meta":89,"extra_data":91,"updated_unix":29},"gams-a-users-guide-introduction","",{"@graph":37,"@context":86},[38,54,69],{"@type":39,"itemListElement":40},"BreadcrumbList",[41,45,49,51],{"item":42,"name":43,"@type":44,"position":21},"https://docshare.wps.com","Home","ListItem",{"item":46,"name":47,"@type":44,"position":48},"https://docshare.wps.com/document/","Document",2,{"item":50,"name":12,"@type":44,"position":20},"https://docshare.wps.com/document/technology/",{"item":52,"name":13,"@type":44,"position":53},"https://docshare.wps.com/document/gams-a-users-guide-introduction/133313/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":24,"description":14,"dateModified":62,"datePublished":63,"encodingFormat":61,"isAccessibleForFree":64,"interactionStatistic":65},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":42,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-31","2026-08-20",true,{"@type":66,"interactionType":67,"userInteractionCount":20},"InteractionCounter",{"@type":68},"ViewAction",{"@type":70,"mainEntity":71},"FAQPage",[72,78,82],{"name":73,"@type":74,"acceptedAnswer":75},"What are the basic elements required to build a GAMS model?","Question",{"text":76,"@type":77},"A GAMS model is assembled from sets, data (scalars/parameters/tables), variables, equations, an objective function, and model/solve statements.","Answer",{"name":79,"@type":74,"acceptedAnswer":80},"How does the guide describe entering parameter data in GAMS?",{"text":81,"@type":77},"It covers data entry by lists, by tables, and by direct assignment, including handling higher-dimensional data structures.",{"name":83,"@type":74,"acceptedAnswer":84},"What kinds of output does GAMS produce and how are they interpreted?",{"text":85,"@type":77},"The guide details echo prints, error messages, reference maps, equation listings, model statistics, status reports, solve summaries, solver reports, and solution listings.","https://schema.org",{"og:url":52,"og:type":88,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":90,"canonical":52},"index,follow",{"doc_id":7,"site_id":25},{"code":4,"msg":5,"data":93},[94,98,102,106,111,114,119,124,129,132,136],{"id":21,"doc_module":4,"doc_module_name":47,"category_name":95,"show_sort_weight":96,"slug":97},"Story & Novel",90,"story-novel",{"id":48,"doc_module":4,"doc_module_name":47,"category_name":99,"show_sort_weight":100,"slug":101},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":47,"category_name":103,"show_sort_weight":104,"slug":105},"Exam",70,"exam",{"id":107,"doc_module":4,"doc_module_name":47,"category_name":108,"show_sort_weight":109,"slug":110},5,"Comic",60,"comic",{"id":11,"doc_module":4,"doc_module_name":47,"category_name":12,"show_sort_weight":112,"slug":113},50,"technology",{"id":115,"doc_module":4,"doc_module_name":47,"category_name":116,"show_sort_weight":117,"slug":118},7,"Healthcare",40,"healthcare",{"id":120,"doc_module":4,"doc_module_name":47,"category_name":121,"show_sort_weight":122,"slug":123},8,"Research & Report",30,"research-report",{"id":125,"doc_module":4,"doc_module_name":47,"category_name":126,"show_sort_weight":127,"slug":128},9,"Religion & Spirituality",20,"religion-spirituality",{"id":127,"doc_module":4,"doc_module_name":47,"category_name":130,"show_sort_weight":127,"slug":131},"World Cup","world-cup",{"id":133,"doc_module":4,"doc_module_name":47,"category_name":134,"show_sort_weight":133,"slug":135},10,"Lifestyle","lifestyle",{"id":137,"doc_module":4,"doc_module_name":47,"category_name":138,"show_sort_weight":107,"slug":139},19,"General","general"]