* -*- fundamental -*- $hidden When adding models we need to update this file at a few $hidden spots. Look for $hidden lines. To check > gams gamsmod.inc $setGlobal version $hidden update lib version above and run gams gamsmod.inc SETS s Model Sequence Numbers / 1*306,309*312,314,315,317*339,341*437 / $hidden bump sequence numbers above a Application Areas / AGECON Agricultural Economics AGE Applied General Equilibrium BCH Branch and Cut and Heuristic CHEME Chemical Engineering CT Contract Theory ECON Econometrics DEV Economic Development DISJ Disjunctive Programming ENER Energy Economics ENG Engineering FIN Finance FOREST Forestry TRA International Trade MACRO Macro Economics MS Management Science and OR MATH Mathematics MICRO Micro Economics SP Stochastic Programming STAT Statistics REC Recreational Models SPEC Special Integer Models GAMSL GAMS Language Features GAMST GAMS Tools / $sTitle Model Names and Titles set m model names in alphabetic order / $hidden enter the new model here, keep in order A ABEL Linear Quadratic Control Problem ABSMIP Discontinous functions abs() min() max() sign() as MIPs AGRESTE Agricultural Farm Level Model of NE Brazil AIRCRAFT Aircraft Allocation Under Uncertain Demand AIRSP Aircraft Allocation AIRSP2 Aircraft Allocation - stochastic optimization with DECIS AJAX Ajax Paper Company Production Schedule ALAN A Quadratic Programming Model for Portfolio Analysis ALKYL Simplified Alkylation Process ALLBASES Enumerate all Feasible Basic Solutions of the Transportation Problem ALPHAMET Alphametics - a Mathematical Puzzle ALUM World Aluminum Model AMPL AMPL Sample Problem ANDEAN Andean Fertilizer Model APL1P Stochastic Programming Example for DECIS APL1PCA Stochastic Programming Example for DECIS ASYNCINCBI 'Asynchronous processing of incumbents reported by GAMS/CPLEX' ASYNCJOBS Execute asynchronously several GAMS jobs and collect the fastest ASYNCLOOP Transportation Problem with async loop body execution AWKQAP Input file generation with AWK for the Quadratic Assignment Problem AWKTSP Traveling Salesman Problem Instance prepared with AWK B BADMIP Rounding Problems in MIPs BATCHDES Optimal Design for Chemical Batch Processing BCHFCNET Fixed Cost Network Flow Problem with Cuts using BCH Facility BCHMKNAP Multi knapsack problem using BCH Facility BCHOIL Oil Pipeline Design Problem using BCH Facility BCHSTOCK Cutting Stock - A Column Generation Approach with BCH BCHTLBAS Trim Loss Minimization with Heuristic using BCH Facility BCHTSP Traveling Salesman Problem Instance with BCH BEARING Hydrostatic Thrust Bearing Design for a Turbogenerator BID Bid Evaluation BIDPWL Bid Evaluation with Piecewise Linear Functions BIDSOS Bid Evaluation with SOS2 Sets BILINEAR Convexification of bilinear term binary times x BINPACKING Bin packing problem with different ways to estimate number of bins BLEND Blending Problem I BOXPACKING Container Packing Problem BRICK Brick design C CAFEMGE Corporate average fuel economy standards CALENDAR Calendar Function Examples CAMCGE Cameroon General Equilibrium Model Using NLP CAMCNS Cameroon General Equilibrium Model Using CNS CAMMCP Cameroon General Equilibrium Model Using MCP CAMMGE Cameroon General Equilibrium Model Using MPSGE CAMSHAPE Shape optimization of a cam COPS 2.0 #4 CARSEQ Car Sequencing CATMIX Catalyst Mixing COPS 2.0 #14 CBENDERS Cplex Benders for a Simple Facility Location Problem CCLINPTS Finding Optimal Breakpoints when linearizing a power utility function CCOIL Oil Pipeline Design Problem using concurrent MIP solves CEFILES Compressed Input Files CESAM Cross Entropy SAM Estimation CESAM2 Cross Entropy SAM Estimation CHAIN Hanging Chain COPS 2.0 #3 CHAKRA Optimal Growth Model CHANCE Chance Constrained Feed Mix Problem CHEM Chemical Equilibrium Problem CHENERY Substitution and Structural Change CHINA Organic Fertilizer Use in Intensive Farming CIRCLE Circle Enclosing Points - SNOPT Example CIRCPACK Pack circles in the smallest possible rectangle CIRIMGE Increasing returns in intermediate inputs CLAD Computation of Fairs extramarital affairs model estimates CLEARLAK Scenario Reduction: ClearLake exercise CMO Financial Optimization: Financial Engineering COEX Peacefully Coexisting Armies of Queens COEXX Peacefully Coexisting Armies of Queens - tight COPPER Modeling Investment in the World Copper Industry CO2MGE Carbon-related trade model (static) CPACK Packing identical size circles in the unit circle CRAZY Examples of Extended Arithmetic CROSS Alcuin's River Crossing CSCHED Cyclic Scheduling of Continuous Parallel Units CSP Closest String Problem CTA Controlled Tabular Adjustments CUBE Three-Dimensional Noughts and Crosses CUBESOLN Three-Dimensional Noughts and Crosses Multiple Solutions CUTSTOCK Cutting Stock - A Column Generation Approach CVRP Capacitated Vehicle Routing Problem D DANWOLFE Dantzig Wolfe Decomposition and Grid Computing DEA Data Envelopment Analysis - DEA DECOMP Decomposition Principle - Animated DECOMPHH A Successive Recalibration Algorithm for GE Models with Many Households DEMO1 Simple Farm Level Model DEMO7 Nonlinear Simple Agricultural Sector Model DERIVTST How to test derivatives of functions DICE Non-transitive Dice Design DICEGRID MIP Decomposition and Parallel Grid Submission - DICE Example DICEX Non-transitive Dice Design - Enhanced DIET Stigler's Nutrition Model DINAM DINAMICO A Dynamic Multi-Sectoral Multi-Skill Model DISPATCH Economic Load Dispatch Including Transmission Losses DMCMGE Accounting for economic growth with new inputs DQQ Warm-starting quad-precision MINOS DYNCGE A Recursive-Dynamic Standard CGE Model E EGYPT Egypt Agricultural Model ELEC Distribution of electrons on a sphere COPS 2.0 #2 EMBMIEX1 Simple Embedded Code ModelInstance example EMFL Existing Multi Facility Location Problem - Cone Format ENCRYPT Input file encyption demo EPSCM eps-Constraint Method for Multiobjective Optimization EPSCMMIP Improved version of eps-Constraint Method for Multiobjective Optimization ERS82MCP USDA-ERS CGE Model of the US ETAMAC ETA-MACRO Energy Model for the USA ETAMGE ETA-MACRO Energy Model for the USA - MPSGE Format F FARM The Farmer's Problem formulated for DECIS FAWLEY Platoform Example Refinery FCT LGO Interface Example FEASOPT1 An Infeasible Transportation Problem analyzed with Cplex option FeasOpt FEEDTRAY Optimum Feed Plate Location FERTD Egypt - Dynamic Fertilizer Model FERTS Egypt - Static Fertilizer Model FINMGE A General Equilibrium Model for Finland FDESIGN Linear Phase Lowpass Filter Design FIVELEAP The Five Leaper Tour Problem FLOWCHAN Flow in a channel COPS 2.0 #7 FLOWSHOP Flow shop scheduling FOOD Food Manufacturing Problem - Blending of oils FUEL Fuel Scheduling and Unit Commitment Problem G GAMSREP The GAMS Model Library GAMSHTM HTML generation of model library GAMSUTIL Generates some useful files from the Model Library GANCNS Macro-Economic Framework for India - CNS GANCNSX Macro-Economic Framework for India - Tracking CNS GANGES Macroeconomic Framework for India GANGESX Economic Framework for India - Tracking GAPMIN Lagrangian Relaxation of Assignment Problem GASNET Optimal Design of a Gas Transmission Network GASTRANS Gas Transmission Problem - Belgium GASOIL Catalytic cracking of gas oil COPS 2.0 #12 GAUSS Matrix Inversion with Full Pivoting GEAR Gear Train Design GEMMCP GEMTAP: A general equilibrium model for tax policy GEMMGE GEMTAP: A general equilibrium model for tax policy GLIDER Hang glider COPS 2.0 #11 GMSTEST Test sript for library models GQAPSDP SDP Convexifications of the Generalized Quadratic Assignment Problem GREAT Great Circle Distances GSOLVER Compare the actual system with the original solver database GTM International Gas Trade Model GUSS2DIM Two dimensional scenario GUSS Example GUSSEX1 Simple GUSS example GUSSGRID Simple GUSS Grid example GUSSRISK Simple investment example with varying weight for risk using GUSS H HANSMCP Hansen's Activity Analysis Example - MCP HANSMGE Hansen's Activity Analysis Example - MPSGE HARKER Models of Spatial Competition HARKMCP Models of Spatial Competition in MCP Form HARMGE Increasing returns with average cost pricing HAVERLY Haverly's pooling problem example HERVES Herves (Transposable Element) Activity Calculations HDA Synthesis: Hydrodealkylation of Toluene HHFAIR Household Optimization Problem by Fair HHMAX A Household Maximization Problem HIMMEL11 Himmelblau Test Problem Number 11 HIMMEL16 Area of Hexagon Test Problem HOLIDAY US Holiday and Leave Chart HOUSE House Plan Design HS62 Hock - Schittkowski Problem 62 HYDRO Hydrothermal Scheduling Problem I IBM1 Aluminum Alloy Smelter Sample Problem ICUT Integer Cut Example IMMUN Financial Optimization: Risk Management IMSL Piecewise Linear Approximation INDUS Indus Agricultural Model INDUS89 Indus Basin Water Resource Model INSCRIBEDSQUARE Inscribed Square Problem IOBALANCE Updating and Projecting Coefficients: The RAS Approach IRSCGE A CGE Model with Scale Economy ISWNM Indus Surface Water Network Submodule J JACOBI Asynchronous Jacobi Methods JBEARING Journal bearing COPS 2.0 #16 JDATE Julian date test JIT Design of Just-in-Time Flowshops JOBT On-the-Job Training K KAND Stochastic Programming KEHOMGE Multiple equilibria in a simple GE model KNIGHTS Maximum Knights Problem KORCGE General Equilibrium Model for Korea - NLP KORCNS General Equilibrium Model for Korea - CNS KORMCP General Equilibrium Model for Korea - MCP KORPET Investment Planning in the Korean Oil-Petro Industry KNAPSACK Binary Knapsack Problem KNP Kissing Number Problem using Variable Neighborhood Search KPORT Product Portfolio Optimization KQKPSDP SDP Convexifications of the Cardinality constraint Quadratic Knapsack Problem L LANDS Optimal Investment LAUNCH Launch Vehicle Design and Costing LATIN The Orthogonal Latin-Square Problem LEAST Nonlinear Regression Problem LIKE Maximum Likelihood Estimation LINEAR Linear Regression with Various Criteria LINEARNE Linearization techniques for extremal-Nash equilibria LMP1 Linear Multiplicative Model - Type 1 LMP2 Linear Multiplicative Model - Type 2 LMP3 Linear Multiplicative Model - Type 3 LNTS Particle steering COPS 2.0 #9 LOGMIP1A LogMIP User's Manual Example 1a - Job Scheduling LOGMIP1B LogMIP User's Manual Example 1b - Job Scheduling LOGMIP1C LogMIP User's Manual Example 1c - Job Scheduling LOGMIP2 LogMIP User's Manual Example 2 - Example to illustrate disjunctions LOGMIP3 LogMIP User's Manual Example 3 - Synthesis of 8 Processes LOGMIP4 LogMIP User's Manual Example 4 - Job Shop Scheduling LOP Line Optimization LRGCGE A Large Country CGE Model LRS Linear Recursive Sequence Optimization Model M MAGIC Magic Power Scheduling Problem MARCO Mini Oil Refining Model MARILYN Numerical Puzzle MARKOV Strategic Petroleum Reserve MATHOPT1 MathOptimizer Example 1 MATHOPT2 MathOptimizer Example 2 MATHOPT3 MathOptimizer Example 3 MATHOPT4 MathOptimizer Example 4 MATHOPT5 MathOptimizer Example 5 MATHOPT6 MathOptimizer Example 6 MAXCUT 'Goemans/Williamson Randomized Approximation Algorithm for MaxCut' MAXMIN Max Min Location of Points in Unit Square MEANVAR Financial Optimization: Risk Management MEANVARX Financial Optimization: Risk Management METHANOL Methanol to hydrocarbons COPS 2.0 #13 MEXLS Mexico Steel - Large Static MEXSD Mexico Steel - Small Dynamic MEXSS Mexico Steel - Small Static MHW4D Nonlinear Test Problem MHW4DX MHW4D with additional Tests MHW4DXX MHW4DX with multiple solutions MINGAMMA Minimal y of GAMMA(x) MINE Opencast Mining MINLPHI Heat Integrated Distillation Sequences MINLPHIX Heat Integrated Distillation Sequences MINSURF Minimal surface with obstacle COPS 2.0 #17 MLBETA Fitting of beta distribution through maximum likelihood MLGAMMA Maximum Likelihood estimation of parameters of the gamma distribution MONCGE A Monopoly CGE Model MPSTRANS MPS file for transportation problem MR5MCP Multi-Region Growth Model Based on Global 2100 MRP2 Materials Requirement Planning (MRP) Formulations MSM Morocco Fertilizer Distribution - Mode Selection MST Minimum Spanning Tree MWS "Computation of Horowitz's work-trip mode choice model estimates" N NASH A non-cooperative game: Nash and Stackelberg versions NEBRAZIL North-East Brazil Regional Agricultural Model NEMHAUS Scheduling to Minimize Interaction Cost NETGEN Min Cost Flow with an Instance generated by NETGEN NONSHARP Synthesis of General Distillation Sequences NSHARPX Synthesis of General Distillation Sequences NSMGE North-South trade and capital flows NURSES A Nurse Scheduling Problem O OBSTACLE An Obstacle Problem OLIGOMCP Oligopolistic Competition - Examples from MP OPENPIT Dynamic open pit mining extraction ORANI A Miniature Version of Orani 78 OTPOP OPEC Trade and Production P PARTSSUPPLY Parts Supply Problem PAK Optimal Patterns of Growth and Aid PAKLIVE Pakistan Punjab Livestock Model PAPERCO Vertically Integrated Company PENTIUM Pentium Error Test PDI ARCNET - Production Distribution and Inventory PHOSDIS Sea Distances for World Phosphate Model PINDYCK Optimal Pricing and Extraction for OPEC PINENE Isometrization of alpha-pinene COPS 2.0 #5 PIVOT Simple Gaussian Elimination PMEANVAR Mean-Variance models with variable upper and lower bounds PMEDIAN P-Median problem PMELODY Choose notes for melodic lines and chords with permutations POLLUT Industrial Pollution Control POLYGON Largest small polygon COPS 2.0 #1 POOL Pooling problem POPDYNM Marine population dynamics COPS 2.0 #6 PORT Simple Portfolio Model POUTIL Portfolio Optimization for Electric Utilities POWERSET PowerSetLeft and PowerSetRight examples PRIME Prime Number Generation PRISONER Prisoners dilemma as EMP and MCP PROCESS Alkylation Process Optimization PROCMEAN Optimal Process Mean PROCSEL Structural Optimization of Process Flowsheets PRODMIX A Production Mix Problem PRODPLAN A Production Planning Example PRODSCH APEX - Production Scheduling Model PRODSCHX Production Scheduling Model using SOS1 and SOS2 PRODSP Stochastic Programming Example PRODSP2 Stochastic Programming Example - reformulated for DECIS PROLOG Market Equilibrium and Activity Analysis PS10_S 'Parts Supply Problem w/ 10 Types and w/ Asymmetric Information' PS10_S_MN 'Parts Supply Problem w/ 10 Types w/ Random p(i)' PS2_F_S 'Parts Supply Problem w/ 2 Types w/o and w/ Asymmetric Information' PS2_F 'Parts Supply Problem w/ 2 Types w/o Asymmetric Information' PS2_F_eff 'Parts Supply Problem w/ Efficient Type w/o Asymmetric Information' PS2_F_inf 'Parts Supply Problem w/ Inefficient Type w/o Asymmetric Information' PS2_S 'Parts Supply Problem w/ 2 Types w/ Asymmetric Information' PS3_F 'Parts Supply Problem w/ 3 Types w/o Asymmetric Information' PS3_S 'Parts Supply Problem w/ 3 Types w/ Asymmetric Information' PS3_S_GIC 'Parts Supply Problem w/ 3 Types w/ Global Incentive Comp. Const.' PS3_S_MN 'Parts Supply Problem w/ 3 Types w/ Monotonicity Constraint' PS3_S_SCP 'Parts Supply Problem w/ 3 Types w/o and w/ SCP' PS5_S_MN 'Parts Supply Problem w/ 5 Types w/ Random p(i)' PTSP Traveling Salesman Problem Instance solved with explicit Permutation Enumeration PUMP Pump Network Synthesis Q QABEL Linear Quadratic Control Problem QALAN A Quadratic Programming Model for Portfolio Analysis QCP QCP1 Standard QP Model QCP QDEMO7 Nonlinear Simple Agricultural Sector Model QCP QFILTER Audio filter design using quad-precision MINOS QMEANVAR Financial Optimization: Risk Management using MIQCP QMEANVAG Portfolio Modeling with Parallel Solutions QUANTUM An application from quantum mechanics QSAMBAL Social Accounting Matrix Balancing Problem QCP QP1 Standard QP Model QP1X Standard QP Model with GDX data input QP2 Standard QP Model - symmetry exploitations QP3 Standard QP Model - intermediate variables QP4 Standard QP Model - no covariance matrix QP5 Standard QP Model - linear approximation QP6 Standard QP Model - LCP formulation of QP4 QP7 Standard QP Model - conic programming formulation QUEENS Maximum Queens Chess Problem QUOCGE A CGE Model with Quotas R RAILCIRC Minimum Circulation of Railway Stock RAMSEY Savings Model by Ramsey RBROCK Rosenbrock Test Function RCPSP Resource-Constrained Project Scheduling Problem RDATA Sample Database of the US Economy REACTION Logical Inference for Reaction path synthesis RELIEF Relief Mission REPAY Repayment Factors for Loans ROBERT Elementary Production and Inventory Model ROBOT Robot arm COPS 2.0 #8 ROBUSTLP Robust linear programming as an SOCP ROCKET Goddard rocket COPS 2.0 #10 ROTDK Robust Optimization S SAMBAL Social Accounting Matrix Balancing Problem SAMMGE Carbon taxes with exemptions for heavy industry SAMPLE Stratified Sample Design SARAS 'South African Regionalised Farm-level Resource Use and Output Supply Response (SARAS) model' SARF Farm Credit and Income Distribution Model SCARFMCP Scarf's Activity Analysis Example SCARFMGE Tax distortions in a small activity analysis model SCENMERGE Combining scenario results in a directory tree with gdxmerge SCHULZ Termination routine to ensure solvers stay with resource limit SDDP Multi-stage Stochastic Water Reservoir Model solved with SDDP SECURE Secure Work Files - Example 2 SEDERS ERS Data Manipulations with SED SENSTRAN Sensitivity analysis using LOOPS SGOLFER Social Golfer Problem SHALE Investment Planning in the Oil Shale Industry SHIP Structural Optimization SHOVMGE The economic effects of UK membership in the EC SIPRES Global optimization of semi-infinite programs via restriction of the right-hand side SLVTEST Solver combination test SOLMPOOL Cplex Solution Pool for a Simple Facility Location Problem with Merged Solution File SOLNPOOL Cplex Solution Pool for a Simple Facility Location Problem SOLVEOPT Option solveopt explained SPARTA Military Manpower Planning from Wagner SPATEQU Spatial Equilibrium SPBENDERS1 Stochastic Benders - Sequential GAMS Loop SPBENDERS2 Stochastic Benders - Async Subsolve GAMS Loop SPBENDERS3 Stochastic Benders - Sequential GamsModelInstance SPBENDERS4 Stochastic Benders - Parallel MPI SPBENDERS5 Stochastic Benders - Parallel MPI with GAMSModelInstance SPLCGE A Simple CGE Model SPRING Coil Compression String Design SPRINGCHAIN Equilibrium of System with Piecewise Linear Springs SRCPM Single-Region Contingency Planning Model SRKANDW Stochastic Programming Scenario Reduction SROUTE The Shortest Route Problem SROUTEX Shortest Route Algorithm SRPCHASE Scenario Tree Construction Example SRTREE Simple Scenario Tree Construction Example STABLEM Stable Marriage Problem STDCGE A Standard CGE Model STOCKCC Minimizing Total Average Cycle Stock SWATH Mission Planning for Synthetic Aperture Radar Surveillance SYNHEAT Simultaneous Optimization for Hen Synthesis T T1000 LGO Test t1000_10 TABLELAYOUT Configuring text layout in table cells to minimize table height TABORA Tabora Rural Development - Fuelwood Production TANKSIZE Tank Size Design Problem TBA Financial Optimization: Financial Engineering TFORDY Antalya Forestry Model - Dynamic TFORSS Antalya Forestry Model - Steady State TGRIDMIX Grid Transportation Problem with Single Submit and Collect Loop THAI Thai Navy Problem THAIX Thai Navy Problem Extended THREEMGE Three Approaches to Differential Tax Policy Analysis TIMESTEPS Accessing previous (or next) time steps in an equation fast TORSION Elastic-plastic torsion COPS 2.0 #15 TRAFFIC Traffic Equilibrium Problem TRANSMCP Transportation Model as Equilibrium Problem TRICP Triangular Graph Circle Packing TRIG Simple Trigonometric Example TRIGX Another Trigonometric Example TRIMLOSS Trim Loss Minimization TRNSGRID Grid Transportation Problem TRNSINDIC Fixed Charge Transportation Problem with Indicator Constraints TRNSPORT A Transportation Problem TRNSPWL A Transportation Problem with discretized economies of scale TRNSPWLX A Transportation Problem with Piecewise Linear Functions TRUSSM Truss Toplogy Design with Multiple Loads TSP1 Traveling Salesman Problem - One TSP2 Traveling Salesman Problem - Two TSP2LTX TSP tour plotting with LaTeX xy-pic environment TSP3 Traveling Salesman Problem - Three TSP4 Traveling Salesman Problem - Four TSP42 TSP solution with subtour elimination TSP5 TSP solution with Miller et al subtour elimination TURKEY Turkey Agricultural Model with Risk TURKPOW Turkey Power Planning Model TVCSCHED Flow Formulation of the ISCI Rotator Problem TWOCGE A Two Country CGE Model TWO3MAC Simple 2 x 2 x 2 General Equilibrium Model Using Macros TWO3MCP Simple 2 x 2 x 2 General Equilibrium Model U UIMP UIMP - Production Scheduling Problem UNSTMGE Globally Unstable Equilibria V VERSION1 How to test for a GAMS version VIETMAN Vietoriscz Manne Fertilizer Model 1961 VONTHMCP General Equilibrium Variant of the von Thunen Model VONTHMGE A General Equilibrium Version of the von Thunen Model W WALL Chemical Equilibrium Problem WALLMCP Chemical Equilibrium Problem as MCP WATER Design of a Water Distribution Network WATERLD Design of a Water Distribution Network with Limited Domain of Variables WATERX Design of a Water Distribution Network (MINLP) WEAPONS Weapons Assignment WESTMIP Economies of Scale and Investment over Time WINDFAC Winding Factor of Electrical Machines WHOUSE Simple Warehouse Problem WORST Financial Optimization: Risk Management X Y YEMCEM Yemen Cement Model Z ZLOOF Relational Database Example / letters(m) / a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z / set inc list of include files with explicit extensions / 'QPDATA.INC' StockMaster - closing values for 170 stocks and 100 days 'BR17.INC' 17 City TSP Data 'COPSPART.INC' COPS collocation method 'CSCHED1.INC' data set 1 for model csched 'CSCHED2.INC' data set 2 for model csched 'GAMSMOD.INC' GAMS Model Library 'SLVDATA.INC' Solver test data 'GAMSREF.INC' GAMS Reference Database 'POOLMOD.INC' model equations for model pool 'T1000D.INC' Data for T1000 'BCHTLHEU.INC' Heuristic for trimloss minimization 'BCHDICUT.INC' Cut generator for Steiner tree problem 'BERLIN2.INC' Data set for BCHFCNET 'BCHOIL_C.INC' Cut generator for Oil pipeline problem 'BCHOIL_D.INC' Data for Oil pipeline problem 'BCHOIL_H.INC' Heuristic for Oil pipeline problem 'BCHCOVER.INC' Simple cover inequalities for the multi-knapsack problem with integer data 'TAI7A.INC' Include file for AWKQAP 'F001.INC' Include file for SEDERS 'P43.INC' Include file for AWKTSP 'HERVESIO.XLSX' Excel input file for HERVES 'COX3.XLSX' Excel input file for CTA 'NETGN099.INC' NETGEN generated input file for NETGEN 'GNETGN99.INC' GNETGEN generated input file for GNETGEN 'SWATHDAT.GDX' Length of arcs for SWATH 'WATER.GDX' Data for SDDP 'WATER.XLSX' Data for SDDP stored in Excel 'WORKTRIP.INC' sample of 842 household for work-trip mode decision (automobile or other) 'TG207777.INC' MaxCut instance from Biq Mac Library 'PB16X7.INC' GQAP instance pb16x7 '50_25.INC' KQKP instance 50_25 'SCARFDATA.INC' data for scarfmcp and related models 'MVDATA.GDX' Data for mean variance problem 'PWLFUNC.INC' Generic macros for piecewise linear functions 'CLADDAT.GDX' Data for CLAD 'TABLELAYOUT5X5.INC' Data for TABLELAYOUT 'PMED15.INC' Data for pmedian 'pilot4.gdx' pilot4 instance data for DQQ 'pilot.gdx' pilot instance data for DQQ 'pilot87.gdx' pilot87 instance data for DQQ 'tma_me.gdx' TMA_ME instance data for DQQ 'glcaerwt.gdx' GlcAerTW instance data for DQQ 'glcalift.gdx' GlcAlift instance data for DQQ 'j301_1.sm' PSPLIB format project instance for RCPSP 'binpack5.txt' Instance for binpacking 'br1.csv' Instance for container loading problem 'a-n32-k05.xml' Instance for CVRP / set bininc(inc) binary include files / 'HERVESIO.XLSX' 'COX3.XLSX' 'SWATHDAT.GDX' 'WATER.GDX' 'WATER.XLSX' 'MVDATA.GDX' 'CLADDAT.GDX' 'pilot4.gdx' 'pilot.gdx' 'pilot87.gdx' 'tma_me.gdx' 'glcaerwt.gdx' 'glcalift.gdx' / $sTitle Model Assignments set sm(s,m) model sequence number assignment / 1.TRNSPORT , 11.UIMP , 21.CHEM , 31.ALUM , 41.PROLOG 2.BLEND , 12.MAGIC , 22.SHIP , 32.MARCO , 42.CUBE 3.PRODMIX , 13.FERTS , 23.LINEAR , 33.CHENERY , 43.CHAKRA 4.WHOUSE , 14.FERTD , 24.LEAST , 34.PAK , 44.ANDEAN 5.JOBT , 15.MEXSS , 25.LIKE , 35.DINAM , 45.COPPER 6.SROUTE , 16.MEXSD , 26.CHANCE , 36.HIMMEL16 , 46.SHALE 7.DIET , 17.MEXLS , 27.SAMPLE , 37.ROBERT , 47.OTPOP 8.AIRCRAFT , 18.WEAPONS , 28.PINDYCK , 38.RDATA , 48.KORPET 9.PRODSCH , 19.BID , 29.ZLOOF , 39.MINE , 49.SARF 10.PDI , 20.PROCESS , 30.VIETMAN , 40.ORANI , 50.PORT 51.YEMCEM , 61.TFORSS , 71.GAUSS , 81.CAMCGE , 91.DEMO1 52.SRCPM , 62.TFORDY , 72.REPAY , 82.MARKOV , 92.DEMO7 53.GTM , 63.RAMSEY , 73.GREAT , 83.RBROCK , 93.SROUTEX 54.TURKPOW , 64.ABEL , 74.AMPL , 84.MHW4D , 94.MST 55.PAKLIVE , 65.FAWLEY , 75.EGYPT , 85.HARKER , 95.HIMMEL11 56.CHINA , 66.MSM , 76.WALL , 86.TURKEY , 96.POLLUT 57.TABORA , 67.CRAZY , 77.SAMBAL , 87.NEBRAZIL , 97.GANGES 58.WESTMIP , 68.WATER , 78.PHOSDIS , 88.AGRESTE , 98.THAI 59.IMSL , 69.HHFAIR , 79.IBM1 , 89.ISWNM , 99.HOUSE 60.AJAX , 70.PIVOT , 80.ETAMAC , 90.INDUS , 100.KORCGE 101.GAMSREP , 102.PAPERCO , 103.QUEENS , 104.MPSTRANS , 105.THAIX 106.SENSTRAN , 107.GANGESX , 108.SPARTA , 109.PRODSCHX , 110.IMMUN 111.WORST , 112.MEANVAR , 113.MEANVARX , 114.CMO , 115.TBA 116.PROCSEL , 117.SYNHEAT , 118.MINLPHI , 119.BATCHDES , 120.NONSHARP 121.REACTION , 122.FEEDTRAY , 123.HDA , 124.ALAN , 125.WATERX 126.TRANSMCP , 127.WALLMCP , 128.HARKMCP , 129.CAMMCP , 130.KORMCP 131.TWO3MCP , 132.SCARFMCP , 133.OLIGOMCP , 134.MR5MCP , 135.HANSMCP 136.VONTHMCP , 137.GEMMCP , 138.ERS82MCP , 139.CAFEMGE , 140.CAMMGE 141.CIRIMGE , 142.CO2MGE , 143.DMCMGE , 144.ETAMGE , 145.FINMGE 146.GEMMGE , 147.HANSMGE , 148.HARMGE , 149.KEHOMGE , 150.NSMGE 151.SAMMGE , 152.SCARFMGE , 153.SHOVMGE , 154.THREEMGE , 155.UNSTMGE 156.VONTHMGE , 157.PRIME , 158.KNIGHTS , 159.LATIN , 160.ICUT 161.LAUNCH , 162.PENTIUM , 163.BIDSOS , 164.DECOMP , 165.ALKYL 166.DISPATCH , 167.HYDRO , 168.FUEL , 169.TRAFFIC , 170.ALPHAMET 171.QP1 , 172.QP2 , 173.QP3 , 174.QP4 , 175.QP5 176.DICE , 177.TSP1 , 178.TSP2 , 179.TSP3 , 180.TSP4 181.INDUS89 , 182.GAPMIN , 183.CALENDAR , 184.QP6 , 185.ROTDK 186.PRODSP , 187.KAND , 188.LANDS , 189.AIRSP , 190.GAMSUTIL 191.CROSS , 192.DEA , 193.MARILYN , 194.NEMHAUS , 195.GMSTEST 196.AIRSP2 , 197.APL1P , 198.APL1PCA , 199.FARM , 200.PRODSP2 201.CIRCLE , 202.BEARING , 203.GEAR , 204.TRIMLOSS , 205.PUMP 206.SPRING , 207.MRP2 , 208.ABSMIP , 209.CAMCNS , 210.GANCNS 211.GANCNSX , 212.KORCNS , 213.TSP42 , 214.HAVERLY , 215.GAMSHTM 216.SLVTEST , 217.GASTRANS , 218.COEXX , 219.COEX , 220.RAILCIRC 221.LOP , 222.CSCHED , 223.GASNET , 224.WINDFAC , 225.STOCKCC 226.NSHARPX , 227.MINLPHIX , 228.CESAM , 229.POLYGON , 230.ELEC 231.CHAIN , 232.CAMSHAPE , 233.PINENE , 234.POPDYNM , 235.FLOWCHAN 236.ROBOT , 237.LNTS , 238.ROCKET , 239.GLIDER , 240.GASOIL 241.METHANOL , 242.CATMIX , 243.TORSION , 244.JBEARING , 245.MINSURF 246.QP1X , 247.TVCSCHED , 248.SRKANDW , 249.CLEARLAK , 250.JIT 251.LMP1 , 252.LMP2 , 253.LMP3 , 254.POOL , 255.MATHOPT1 256.MATHOPT2 , 257.MATHOPT3 , 258.MATHOPT4 , 259.MATHOPT5 , 260.MATHOPT6 261.TRIG , 262.HOLIDAY , 263.MAXMIN , 264.HS62 , 265.FCT 266.T1000 , 267.MHW4DX , 268.FIVELEAP , 269.NASH , 270.KPORT 271.QP7 , 272.DICEX , 273.EMFL , 274.HHMAX , 275.SPLCGE 276.STDCGE , 277.LRGCGE , 278.TWOCGE , 279.MONCGE , 280.QUOCGE 281.IRSCGE , 282.QALAN , 283.QCP1 , 284.QDEMO7 , 285.QSAMBAL 286.BCHTLBAS , 287.BCHFCNET , 288.BCHOIL , 289.BCHMKNAP , 290.BADMIP 291.QMEANVAR , 292.JDATE , 293.QABEL , 294.CUTSTOCK , 295.MHW4DXX 296.AWKQAP , 297.SEDERS , 298.AWKTSP , 299.MINGAMMA , 300.QUANTUM 301.PROCMEAN , 302.MLBETA , 303.MLGAMMA , 304.DECOMPHH , 305.HERVES 306.CSP , 309.OPENPIT , 310.CTA 311.GSOLVER , 312.LRS , 314.FEASOPT1 , 315.TRNSGRID 317.CEFILES , 318.ENCRYPT , 319.EPSCM , 320.VERSION1 321.KNP , 322.SCHULZ , 323.NETGEN , 324.TSP2LTX , 325.SWATH 326.SOLNPOOL , 327.QMEANVAG , 328.DANWOLFE , 329.JACOBI , 330.DICEGRID 331.MWS , 332.LOGMIP1A , 333.LOGMIP1B , 334.LOGMIP1C , 335.LOGMIP2 336.LOGMIP3 , 337.LOGMIP4 , 338.MAXCUT , 339.GQAPSDP 341.TWO3MAC , 342.POUTIL , 343.SECURE , 344.SRPCHASE , 345.TSP5 346.BILINEAR , 347.SOLVEOPT , 348.BCHTSP , 349.BCHSTOCK , 350.TANKSIZE 351.TRNSPWL , 352.FOOD , 353.RELIEF , 354.SPATEQU , 355.KQKPSDP 356.PRODPLAN , 357.SDDP , 358.PS2_F_S , 359.PS2_F , 360.PS2_F_eff 361.PS2_F_inf, 362.PS2_S , 363.PS3_F , 364.PS3_S , 365.PS3_S_GIC 366.PS3_S_MN , 367.PS3_S_SCP , 368.PS10_S , 369.PS10_S_MN, 370.CCOIL 371.CUBESOLN , 372.SIPRES , 373.CCLINPTS , 374.PTSP , 375.PMELODY 376.FLOWSHOP , 377.PS5_S_MN , 378.IOBALANCE, 379.FDESIGN , 380.PMEANVAR 381.POWERSET , 382.LINEARNE , 383.SARAS , 384.EPSCMMIP , 385.BIDPWL 386.TRNSPWLX , 387.CPACK , 388.TRIGX , 389.STABLEM , 390.SRTREE 391.TGRIDMIX , 392.PRISONER , 393.CESAM2 , 394.SOLMPOOL , 395.TRICP 396.ALLBASES , 397.CLAD , 398.GUSSEX1 , 399.GUSSRISK , 400.GUSSGRID 401.CIRCPACK , 402.TABLELAYOUT, 403.ASYNCJOBS, 404.PARTSSUPPLY,405.QFILTER 406.DERIVTST , 407.CARSEQ , 408.PMEDIAN , 409.SGOLFER ,410.DYNCGE 411.ASYNCLOOP, 412.TRNSINDIC , 413.TIMESTEPS, 414.DQQ ,415.CBENDERS 416.ROBUSTLP, 417.EMBMIEX1 , 418.SPBENDERS1,419.SPBENDERS2 ,420.SPBENDERS3 421.SPBENDERS4,422.SPBENDERS5 , 423.GUSS2DIM , 424.OBSTACLE ,425.INSCRIBEDSQUARE 426.WATERLD, 427.SCENMERGE , 428.NURSES , 429.RCPSP ,430.ASYNCINCBI 431.SPRINGCHAIN,432.TRUSSM , 433.BINPACKING, 434.BOXPACKING,435.CVRP 436.KNAPSACK, 437.BRICK $hidden seq . name mapping goes here / set incmap(inc,s) list of include files required / $hidden enter new include files and/or new $includes $hidden gamslib will copy include files according to this mapping 'br17.inc' .(177*180,345,374) 'copspart.inc' .(233,234,240,241) 'csched1.inc' .(222) 'csched2.inc' .(222) ('gamsmod.inc', 'gamsref.inc') .(101,190,195,215,216) 'qpdata.inc' .(171*175,184,246,271,283) 'slvdata.inc' .(216) 'poolmod.inc' .(254) 't1000d.inc' .(266) 'bchtlheu.inc' .(286) ('bchdicut.inc', 'berlin2.inc').287 ('bchoil_c.inc', 'bchoil_d.inc', 'bchoil_h.inc').288 'bchcover.inc' .289 'tai7a.inc' .296 'f001.inc' .297 'p43.inc' .(298,348) 'hervesio.xlsx' .305 'cox3.xlsx' .310 'netgn099.inc' .323 'gnetgn99.inc' .323 'swathdat.gdx' .325 'worktrip.inc' .331 'tg207777.inc' .338 'pb16x7.inc' .339 'scarfdata.inc' .132 '50_25.inc' .355 'water.gdx' .357 'water.xlsx' .357 'mvdata.gdx' .380 'pwlfunc.inc' .(385,386) 'claddat.gdx' .397 'tablelayout5x5.inc' . 402 'pmed15.inc' .408 'pilot4.gdx' .414 'pilot.gdx' .414 'pilot87.gdx' .414 'tma_me.gdx' .414 'glcaerwt.gdx' .414 'glcalift.gdx' .414 'j301_1.sm' .429 'binpack5.txt' .433 'br1.csv' .434 'a-n32-k05.xml' .435 / set as (a,s) model classification / $hidden do not forget to classify the model at least once agecon.(26,49,55,56,75,86*92,181,284,383) age .(81,97,100,107,129*141,145*149,151*156,209*212,269,274*281,304,341,354,392,410) bch .(286*289,348,349) cheme .(20,21,76,116*123,127,165,214,222,226,227,233,240*242,254,270,350) ct .(358*369,377,404) econ .(23*25,331) dev .(33*35,41,63,143) disj .(332*337) ener .(28,46*48,52*54,57,80,82,96,144,161,342,382) eng .(22,68,125,166,167,168,202*206,217,223,224,230*232,235*239,243*245,305,379,402,424,426,431,432) fin .(50,72,110,111,112,113,114,115,124,171*175,184,246,271,282,283,291,327,373,380) forest.(61,62) tra .(31,45,142,150) macro .(40,43,64,69,293) ms .(1*6,8*12,18,29,37,39,60,65,74,79,93,94,98,101*106,108,109,126 128,164,169,182,185,194,207,220,221,225,247,250,268,273,290,294 306,309,310,312,314,315,325,326,328,330,339,351,352,355*357,370 376,385,386,389,391,394,398*401,407*409,415*422,428,429,433,434,435) math .(36,42,59,67,70,71,73,83,84,95,99,157*160,162,176,184,201,208,229,234, 251,252,253,255*261,263*267,272,295,319,321,329,338,346,371,372,384,387,388,423,425,436,437) micro .(7,13*17,19,30,32,38,44,51,58,66,78,85,163,228,393,395,396) stat .(27,77,192,285,299*303,378,397) rec .(42,103,158,159,170,176,177*180,191,193,213,218,219,272,353) sp .(186*189,196*200,248,249,344,390) spec .(105,109,160,177*180,332*337,345) gamsl .(101,104,183,190,195,215,216,262,292,311,317*318,320,322 343,347,374,375,381,403,405,406,411*414,427,430) gamst .(296*298,323,324) / $hidden tell model type set t single model types / system.modeltypes, DECIS, GAMS, MPSGE / ts(t,s) classification by type / cns. (58,209*212) decis. (196*200) dnlp. (23,68,259,260,263,265,299,300,305,425*426) gams. (29,67,70*73,93,94,101,103,104,157,162,183,190,195,215,216, 262,292,297,311,317*318,320,322,343,347,374,375, 381,390,403,405,406,413*414,427) emp. (332*337,382,392) lp. (1*8,10,11,13,15,17,23,26,32,34,35,37,39,40,44,46,49,50, 52,54*57,59*62,65,66,74,75,78,79,82,87*92,102,106,108,110, 164,175,181,186*189,192,196,199,200,207,248,249,314, 315,319,323,328,344,357,391,398,400,411,417*422) mip. (9,12,14,16,19,30,31,38,42,44,45,48,51,58,98,103,105,109,114,115, 118,120,121,158*160,163,170,176*180,182,185,191,193,194,207,208, 213,218*221,225,247,268,272,287,288*290,294,298,306,309,310,312, 324*326,330*331,338,342,345,348,349,351*353,356,370,371,376, 384*386,389,394,396,397,402,412,415,428*430,433,434,435,436) nlp. (18,20*28,33,36,41,43,47,52,53,63,64,69,76,77,80,81, 83*86,92,96,97,99,100,107,111,112,118,120,124,161,165,166,167, 169,171*174,194,201,202,214,217,228,229*245,246,251,252,253,254, 255*258,261,264,266,267,274*281,295,301*303,321,358*369,372,373, 377,378,383,388,393,399,401,404,410,423) mcp. (126*156,169,184,228,269,329,341,354,392,424,437) mpsge. (139*156,304) minlp. (113,116,117,119,122*125,168,203*206,222*224,226,227,250,270,286,346,350,407*409) miqcp. (282,291,296,327,380) qcp. (95,110,282*285,293,271,273,379,387,395,416,431,432) rminlp.(124) rmiqcp.(339,355) rmip. (30,182) mpec. (269) / parameter oval ordinal value of model type for slvtest/ MINLP 1, LP 6, RMIP 11, MPEC 16, MIQCP 2, GAMS 7, RMINLP 12, RMPEC 17, NLP 3, DECIS 8, CNS 13, RMIQCP 18, QCP 4, MCP 9, DNLP 14, EMP 19, MIP 5, MPSGE 10 /; set big(s) 'models too big to run with every QA test' / 6,13,14,16,17,30,31,34,35,44,45,48,49,51,54,57,62,66,75,78,86 87,89,90,97,103,107,114,115,122,123,134,137,139*146,150,153,156 158,159,169,170,173,176,178,180,181,184,185,186,189,193, 196,200,210,211,213,218,219,220,221,222,225,229*245,247,251*253, 254,266,268,270,272,273,286*288,304,309,310,312,321,323*325,328*331, 338*339,342,345,346,353,355,357,370,372,382,386,395,397,403,407*409, 413*414,428*429,433,434,435/; set gbig(s) 'cannot be solved with global solvers with 2000x3000 limit (lindoglobal)' / 31,44,181,185,233,247,273,309,325,342,434 /; set tiny(s) 'tiny models that have not more than 10x10 variables and equation' / 1*3,24,26,27,50,76,83,84,95,99,106,112,124,127,131,133,149, 155,166,201,203,208,255*261,264,267,274,282,295,311,341,388,392,399,423,425,437 /; set notest(s) / 190,195,215,216,274*281,290,292,322,358*369,377 /; set small(s) 'big models that fit the demo limit' / 6, 13, 16, 17, 30, 34, 35, 45, 48, 49, 51, 54, 57, 62, 75, 86, 87, 89, 90 97,103,107,114,115,122,123,134,137,139,140,141,142,143,144,145,146,150,153 156,158,159,170,173,176,178,180,184,186,193,200,210,211,213,218,219,220,221 222,225,229,230,231,232,236,237,238,239,242,251,252,253,254,268,270,272,286 288,310,312,321,328,329,330,331,345,346,357,370,372,379,386,395,407,414,431 432,433,435 /; set community(s) 'big models that fit the community limit' / 14, 31, 66, 78,189,196,234,235,240,241,243,245,266,304,309,342,353,397 /; set demo(s); demo(s) = small(s) or not big(s); alias(s,ss); set srev(s,s) reverse set ; srev(s,s+(card(s)+1-2*ord(s))) = yes; $onEmpty set deprecated(s) 'models that we would like to get rid off but cannot because Alex made a promise to someone' / * 358*369,377 * 274*281 /; set drop(t,s) Additional drop set / cns. (58) * decis. ( ) * dnlp. () gams. (103) lp. (44,207) mip. (118) nlp. (120,194,228) * mcp. ( ) * mpsge. ( ) * minlp. ( ) * rminlp.( ) * rmip. ( ) /; set tss(t,s) only one type per model used in IDE files; * quick and dirty dropping of multiple classifications tss(t,s) = ts(t,s) - drop(t,s); tss('rmip ',s)$ts('mip ',s) = no; tss('lp ',s)$ts('nlp ',s) = no; tss('lp ',s)$ts('qcp ',s) = no; tss('qcp ',s)$ts('miqcp',s) = no; tss('nlp ',s)$ts('dnlp ',s) = no; tss('nlp ',s)$ts('mcp ',s) = no; tss('rminlp',s)$ts('minlp',s) = no; tss('nlp ',s)$ts('minlp',s) = no; tss('mcp ',s)$ts('mpec ',s) = no; tss('mcp ',s)$ts('rmpec',s) = no; tss(t ,s)$ts('mpsge',s) = sameas(t,'mpsge'); tss(t ,s)$ts('decis',s) = sameas(t,'decis'); tss(t ,s)$ts('emp' ,s) = sameas(t,'emp'); * drop potential second classification set sseen(s); sseen(s) = no; loop((a,s)$as(a,s), as(a,s)$sseen(s) = no; sseen(s)=yes); set err1(s) 'model unclassified in AS(A,S)' err1a(s) 'model classified in AS(A,S) multiple times' err2(s) 'model unclassified in TS(T,S)' err3(s) 'model unclassified in SM(S,M)' err5(s) 'all types dropped in DROP(T,S)' err6(s) 'multiple types in TSS(T,S)' err7(t,s) 'drops missing in DROP(T,S) for model with multiple types' err8(m) 'model and include names cannot have the same name' ; err1(s) = not sum(as(a,s), yes); err1a(s) = sum(as(a,s), 1)>1; err2(s) = not sum(ts(t,s), yes); err3(s) = not sum(sm(s,m), yes); err5(s) = sum(t$(ts(t,s)-drop(t,s)), 1) = 0; err6(s) = sum(tss(t,s), 1) > 1; err7(t,s)$err6(s) = tss(t,s); err8(m) = sum(inc, sameas(m,inc)); abort$card(err1) err1; abort$card(err1a) err1a; abort$card(err2) err2; abort$card(err3) err3; abort$card(err5) err5; abort$card(err6) err6,err7; abort$card(err8) err8;