{"users":[{"id":9,"username":"rschuchmann","name":"Robin Schuchmann","avatar_template":"/user_avatar/forum.gams.com/rschuchmann/{size}/12_2.png","admin":true,"moderator":true,"trust_level":1},{"id":1956,"username":"PietroAndreoni","name":"Pietro Andreoni","avatar_template":"/user_avatar/forum.gams.com/pietroandreoni/{size}/2282_2.png","trust_level":0},{"id":4,"username":"Fred_Fiand","name":"Fred Fiand","avatar_template":"/user_avatar/forum.gams.com/fred_fiand/{size}/7_2.png","admin":true,"moderator":true,"trust_level":2},{"id":408,"username":"Tatjana","name":null,"avatar_template":"/letter_avatar_proxy/v4/letter/t/d9b06d/{size}.png","trust_level":1},{"id":2239,"username":"akolstad","name":"","avatar_template":"/letter_avatar_proxy/v4/letter/a/5e9695/{size}.png","trust_level":0},{"id":16,"username":"dirkse","name":null,"avatar_template":"/user_avatar/forum.gams.com/dirkse/{size}/29_2.png","moderator":true,"trust_level":1},{"id":1275,"username":"wassila.ghennam","name":null,"avatar_template":"/user_avatar/forum.gams.com/wassila.ghennam/{size}/2363_2.png","trust_level":1},{"id":782,"username":"abhosekar","name":null,"avatar_template":"/letter_avatar_proxy/v4/letter/a/43a26b/{size}.png","moderator":true,"trust_level":1},{"id":1027,"username":"M07a2M3D","name":null,"avatar_template":"/letter_avatar_proxy/v4/letter/m/a9a28c/{size}.png","trust_level":1},{"id":11,"username":"mbussieck","name":"Michael Bussieck","avatar_template":"/user_avatar/forum.gams.com/mbussieck/{size}/21_2.png","moderator":true,"trust_level":2},{"id":19,"username":"Lutz","name":"","avatar_template":"/user_avatar/forum.gams.com/lutz/{size}/2132_2.png","moderator":true,"trust_level":2},{"id":961,"username":"Jazzco","name":null,"avatar_template":"/user_avatar/forum.gams.com/jazzco/{size}/43_2.png","trust_level":1},{"id":2229,"username":"Mariyam","name":"Mariyam","avatar_template":"/letter_avatar_proxy/v4/letter/m/ecae2f/{size}.png","trust_level":0},{"id":2230,"username":"vjha","name":"Vaibhavnath Jha","avatar_template":"/user_avatar/forum.gams.com/vjha/{size}/2507_2.png","trust_level":0},{"id":1263,"username":"ak_sxngh","name":null,"avatar_template":"/letter_avatar_proxy/v4/letter/a/fbc32d/{size}.png","trust_level":1},{"id":2207,"username":"Ali_Hejazi","name":"Ali Hejazi","avatar_template":"/user_avatar/forum.gams.com/ali_hejazi/{size}/2498_2.png","trust_level":0},{"id":2204,"username":"indium0405","name":"Youngin","avatar_template":"/user_avatar/forum.gams.com/indium0405/{size}/2494_2.png","trust_level":0},{"id":2202,"username":"Emma","name":"","avatar_template":"/letter_avatar_proxy/v4/letter/e/57b2e6/{size}.png","trust_level":0},{"id":14,"username":"Clemens","name":null,"avatar_template":"/user_avatar/forum.gams.com/clemens/{size}/28_2.png","moderator":true,"trust_level":1},{"id":2097,"username":"pbignardi","name":"Paolo Bignardi","avatar_template":"/letter_avatar_proxy/v4/letter/p/b782af/{size}.png","trust_level":1},{"id":2181,"username":"lolenze","name":"","avatar_template":"/letter_avatar_proxy/v4/letter/l/e480ec/{size}.png","trust_level":0},{"id":511,"username":"mkbonde","name":null,"avatar_template":"/letter_avatar_proxy/v4/letter/m/a5b964/{size}.png","trust_level":1},{"id":1295,"username":"Aleh","name":null,"avatar_template":"/letter_avatar_proxy/v4/letter/a/e274bd/{size}.png","trust_level":2},{"id":2177,"username":"torbjorn.jansson","name":"Torbjörn Jansson","avatar_template":"/user_avatar/forum.gams.com/torbjorn.jansson/{size}/2466_2.png","trust_level":1},{"id":2124,"username":"westenage","name":"A  ot person","avatar_template":"/letter_avatar_proxy/v4/letter/w/8baadc/{size}.png","trust_level":1},{"id":2115,"username":"dklein","name":"David Klein","avatar_template":"/letter_avatar_proxy/v4/letter/d/ecb155/{size}.png","trust_level":1},{"id":2147,"username":"Wogayehu_abele","name":"Wogayehu abele","avatar_template":"/user_avatar/forum.gams.com/wogayehu_abele/{size}/2433_2.png","trust_level":0},{"id":1114,"username":"Anafijafar","name":null,"avatar_template":"/letter_avatar_proxy/v4/letter/a/77aa72/{size}.png","trust_level":1},{"id":2149,"username":"_Dima_Kolmogorov","name":"  Dima Kolmogorov","avatar_template":"/user_avatar/forum.gams.com/_dima_kolmogorov/{size}/2437_2.png","trust_level":1},{"id":1313,"username":"gerachanante","name":"","avatar_template":"/user_avatar/forum.gams.com/gerachanante/{size}/2137_2.png","trust_level":1},{"id":716,"username":"aileen","name":"Aileen Homey","avatar_template":"/letter_avatar_proxy/v4/letter/a/b5a626/{size}.png","moderator":true,"trust_level":1},{"id":2125,"username":"Alex2b","name":"","avatar_template":"/letter_avatar_proxy/v4/letter/a/f04885/{size}.png","trust_level":0},{"id":615,"username":"achristensen","name":"Adam Christensen","avatar_template":"/user_avatar/forum.gams.com/achristensen/{size}/2135_2.png","moderator":true,"trust_level":2},{"id":2046,"username":"snakezq2","name":"Cristiam Alejandro Murcia Cortes","avatar_template":"/user_avatar/forum.gams.com/snakezq2/{size}/2352_2.png","trust_level":0},{"id":2104,"username":"ljesus","name":"Lucas","avatar_template":"/letter_avatar_proxy/v4/letter/l/ecae2f/{size}.png","trust_level":0},{"id":2018,"username":"Lincoln25","name":null,"avatar_template":"/letter_avatar_proxy/v4/letter/l/b38774/{size}.png","trust_level":1},{"id":2101,"username":"Daniel_Plotegher","name":"Daniel Plotegher","avatar_template":"/user_avatar/forum.gams.com/daniel_plotegher/{size}/2393_2.png","trust_level":0},{"id":2100,"username":"Mingjie_Zhuo","name":"Ming jie Zhuo","avatar_template":"/user_avatar/forum.gams.com/mingjie_zhuo/{size}/2359_2.png","trust_level":0},{"id":2079,"username":"Gok","name":"Hayrettin ","avatar_template":"/user_avatar/forum.gams.com/gok/{size}/2380_2.png","trust_level":0},{"id":1875,"username":"halfa","name":"Halfa","avatar_template":"/user_avatar/forum.gams.com/halfa/{size}/2189_2.png","trust_level":1}],"primary_groups":[],"flair_groups":[],"topic_list":{"can_create_topic":false,"more_topics_url":"/c/gams/9?page=1","per_page":30,"top_tags":[{"id":125,"name":"modeling","slug":"modeling"},{"id":126,"name":"syntax","slug":"syntax"},{"id":122,"name":"solver","slug":"solver"},{"id":124,"name":"tool","slug":"tool"},{"id":123,"name":"api","slug":"api"},{"id":9,"name":"cplex","slug":"cplex"},{"id":128,"name":"csv","slug":"csv"},{"id":108,"name":"gdx","slug":"gdx"},{"id":106,"name":"performance","slug":"performance"},{"id":7,"name":"conopt","slug":"conopt"},{"id":38,"name":"mcp","slug":"mcp"},{"id":115,"name":"python-api","slug":"python-api"},{"id":5,"name":"baron","slug":"baron"},{"id":129,"name":"contributed-documentation","slug":"contributed-documentation"},{"id":119,"name":"embedded-code","slug":"embedded-code"},{"id":45,"name":"emp","slug":"emp"},{"id":127,"name":"gamspy","slug":"gamspy"},{"id":12,"name":"gurobi","slug":"gurobi"},{"id":2,"name":"license","slug":"license"},{"id":1,"name":"licensing","slug":"licensing"},{"id":35,"name":"lp","slug":"lp"},{"id":116,"name":"matlab-api","slug":"matlab-api"},{"id":42,"name":"minlp","slug":"minlp"},{"id":36,"name":"mip","slug":"mip"}],"topics":[{"fancy_title":"About the GAMS category","id":37,"title":"About the GAMS category","slug":"about-the-gams-category","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2024-08-29T06:39:35.615Z","last_posted_at":"2024-08-29T06:39:35.657Z","bumped":true,"bumped_at":"2024-08-29T06:39:35.657Z","archetype":"regular","unseen":false,"pinned":true,"unpinned":null,"excerpt":"Help/discussion forum for GAMS. If you use the classic GAMS, this is the right place for you. \nGAMS (General Algebraic Modeling System) is a high-level modeling language designed for formulating and solving complex optim&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":137,"like_count":0,"has_summary":false,"last_poster_username":"rschuchmann","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":"latest single","description":"Original Poster, Most Recent Poster","user_id":9,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Possible bug with scaling and asynchronous solve in-memory with multiple iterations","id":8530,"title":"Possible bug with scaling and asynchronous solve in-memory with multiple iterations","slug":"possible-bug-with-scaling-and-asynchronous-solve-in-memory-with-multiple-iterations","posts_count":2,"reply_count":0,"highest_post_number":2,"image_url":null,"created_at":"2026-07-08T12:02:13.313Z","last_posted_at":"2026-07-08T18:48:34.524Z","bumped":true,"bumped_at":"2026-07-08T18:48:34.524Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Dear GAMS support teams, \nI believe I might have stumbled in an unexpected behaviour. I am scaling the development version of the RICE50x model (open source version accessible at GitHub - witch-team/RICE50xmodel: The mul&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":122,"name":"solver","slug":"solver"},{"id":129,"name":"contributed-documentation","slug":"contributed-documentation"},{"id":106,"name":"performance","slug":"performance"}],"tags_descriptions":{},"views":39,"like_count":1,"has_summary":false,"last_poster_username":"Fred_Fiand","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":null,"description":"Original Poster","user_id":1956,"primary_group_id":null,"flair_group_id":null},{"extras":"latest","description":"Most Recent Poster","user_id":4,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Put only starts after execute?","id":8519,"title":"Put only starts after execute?","slug":"put-only-starts-after-execute","posts_count":2,"reply_count":0,"highest_post_number":2,"image_url":null,"created_at":"2026-05-22T10:16:34.786Z","last_posted_at":"2026-05-26T15:07:55.973Z","bumped":true,"bumped_at":"2026-05-26T15:07:55.973Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"I would like to run my gams file gamsfile.gms several times for different values a and b. For this, I created a file which states \nset \n  a /boat, house, car/\n  b /y1*y8/;\nfile myfile /input.inc/; \nloop((a,b),\n  put myfi&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":126,"name":"syntax","slug":"syntax"}],"tags_descriptions":{},"views":57,"like_count":0,"has_summary":false,"last_poster_username":"Fred_Fiand","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":null,"description":"Original Poster","user_id":408,"primary_group_id":null,"flair_group_id":null},{"extras":"latest","description":"Most Recent Poster","user_id":4,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"MPSGE recursive-dynamic model fails in later timesteps - System Error and -214748 in .lst file","id":8508,"title":"MPSGE recursive-dynamic model fails in later timesteps - System Error and -214748 in .lst file","slug":"mpsge-recursive-dynamic-model-fails-in-later-timesteps-system-error-and-214748-in-lst-file","posts_count":5,"reply_count":1,"highest_post_number":5,"image_url":null,"created_at":"2026-05-12T11:55:38.675Z","last_posted_at":"2026-05-22T08:23:20.167Z","bumped":true,"bumped_at":"2026-05-22T08:23:20.167Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Hi, \nI am working on a CGE model in GAMS/MPSGE and have been running into an error I cannot figure out. When increasing the complexity of the model, the solver fails - sometimes as early as timestep 2 of 10, but more com&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":94,"like_count":1,"has_summary":false,"last_poster_username":"akolstad","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":"latest","description":"Original Poster, Most Recent Poster","user_id":2239,"primary_group_id":null,"flair_group_id":null},{"extras":null,"description":"Recent Poster","user_id":16,"primary_group_id":null,"flair_group_id":null},{"extras":null,"description":"Recent Poster","user_id":4,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Reducing loop execution time in GAMS model","id":8506,"title":"Reducing loop execution time in GAMS model","slug":"reducing-loop-execution-time-in-gams-model","posts_count":2,"reply_count":0,"highest_post_number":2,"image_url":null,"created_at":"2026-04-29T14:42:02.782Z","last_posted_at":"2026-05-03T18:40:35.207Z","bumped":true,"bumped_at":"2026-05-03T18:40:35.207Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Hello, \nI hope you are doing well. \nI am working on a Mixed-Integer Programming (MIP) model. To evaluate the computational complexity of the model, I perform multiple runs using a loop, where each iteration generates a n&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":122,"name":"solver","slug":"solver"},{"id":9,"name":"cplex","slug":"cplex"}],"tags_descriptions":{},"views":76,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":null,"description":"Original Poster","user_id":1275,"primary_group_id":null,"flair_group_id":null},{"extras":"latest","description":"Most Recent Poster","user_id":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"&ldquo;reading solution for model&rdquo; - GAMS Linux","id":4435,"title":"\"reading solution for model\" - GAMS Linux","slug":"reading-solution-for-model-gams-linux","posts_count":5,"reply_count":0,"highest_post_number":5,"image_url":null,"created_at":"2024-07-15T09:21:38.000Z","last_posted_at":"2026-04-23T15:37:08.326Z","bumped":true,"bumped_at":"2026-04-23T15:37:08.326Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Hello everyone. \nWhen using GAMS on Linux, it does not display “reading solution for model” if the solving process is interrupted. \nConsequently, I must wait for the solver to finish to obtain the solution. \nIs there a w&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":122,"name":"solver","slug":"solver"}],"tags_descriptions":{},"views":34893,"like_count":0,"has_summary":false,"last_poster_username":"Jazzco","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":null,"description":"Original Poster","user_id":1027,"primary_group_id":null,"flair_group_id":null},{"extras":null,"description":"Frequent Poster","user_id":11,"primary_group_id":null,"flair_group_id":null},{"extras":null,"description":"Recent Poster","user_id":19,"primary_group_id":null,"flair_group_id":null},{"extras":"latest","description":"Most Recent Poster","user_id":961,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Remote GAMS execution","id":8504,"title":"Remote GAMS execution","slug":"remote-gams-execution","posts_count":3,"reply_count":0,"highest_post_number":3,"image_url":null,"created_at":"2026-04-21T14:17:43.686Z","last_posted_at":"2026-04-23T06:29:50.798Z","bumped":true,"bumped_at":"2026-04-23T06:29:50.798Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"I’m trying to deploy a message-ix model via a Streamlit Cloud app. The gams-streamlit repo uses GAMSPy + Engine, but message-ix uses ixmp + GAMSModel internally. Is there any supported way to route ixmp’s solve call thro&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":122,"name":"solver","slug":"solver"},{"id":127,"name":"gamspy","slug":"gamspy"},{"id":1,"name":"licensing","slug":"licensing"}],"tags_descriptions":{},"views":77,"like_count":0,"has_summary":false,"last_poster_username":"vjha","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":null,"description":"Original Poster","user_id":2229,"primary_group_id":null,"flair_group_id":null},{"extras":null,"description":"Recent Poster","user_id":782,"primary_group_id":null,"flair_group_id":null},{"extras":"latest","description":"Most Recent Poster","user_id":2230,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Solving Mass Balance","id":4384,"title":"Solving Mass Balance","slug":"solving-mass-balance","posts_count":3,"reply_count":1,"highest_post_number":3,"image_url":null,"created_at":"2024-03-11T16:03:55.000Z","last_posted_at":"2026-04-06T12:49:50.059Z","bumped":true,"bumped_at":"2026-04-06T12:49:50.059Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Ive been struggling to solve ii, im not sure how to model a mass balance onto GAMS, any help would be appreciated. \nAmmonia is an important industrial chemical that is manufactured by the Haber-Bosch process by reacting &hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":125,"name":"modeling","slug":"modeling"}],"tags_descriptions":{},"views":23357,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":null,"description":"Original Poster","user_id":1263,"primary_group_id":null,"flair_group_id":null},{"extras":null,"description":"Recent Poster","user_id":2207,"primary_group_id":null,"flair_group_id":null},{"extras":"latest","description":"Most Recent Poster","user_id":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Model doesn&rsquo;t follow restrictions(equations) that i&rsquo;ve set, but somehow it found optimal solution","id":8483,"title":"Model doesn't follow restrictions(equations) that i've set, but somehow it found optimal solution","slug":"model-doesnt-follow-restrictions-equations-that-ive-set-but-somehow-it-found-optimal-solution","posts_count":8,"reply_count":3,"highest_post_number":8,"image_url":null,"created_at":"2026-02-16T10:00:21.026Z","last_posted_at":"2026-02-18T16:02:12.100Z","bumped":true,"bumped_at":"2026-02-18T16:02:12.100Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Dear forum members, \nHello, I’m currently working on a power Bottom-up model using MCP(mixed complementary problem) methods. I properly set every inequality(or equality) restrictions and matched all variables and equatio&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":125,"name":"modeling","slug":"modeling"},{"id":38,"name":"mcp","slug":"mcp"}],"tags_descriptions":{},"views":73,"like_count":0,"has_summary":false,"last_poster_username":"Fred_Fiand","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":null,"description":"Original Poster","user_id":2204,"primary_group_id":null,"flair_group_id":null},{"extras":"latest","description":"Most Recent Poster","user_id":4,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"GAMS .NET API compatibility with recent .NET Core versions","id":8477,"title":"GAMS .NET API compatibility with recent .NET Core versions","slug":"gams-net-api-compatibility-with-recent-net-core-versions","posts_count":2,"reply_count":0,"highest_post_number":2,"image_url":null,"created_at":"2026-02-10T14:08:57.814Z","last_posted_at":"2026-02-16T07:36:40.782Z","bumped":true,"bumped_at":"2026-02-16T07:36:40.782Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Hi, \nI’d like to know whether the GAMS .NET API is fully portable and officially supported on .NET Core (and newer .NET versions such as .NET 6/7/8). \nKind regards,","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":68,"like_count":0,"has_summary":false,"last_poster_username":"Clemens","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":null,"description":"Original Poster","user_id":2202,"primary_group_id":null,"flair_group_id":null},{"extras":"latest","description":"Most Recent Poster","user_id":14,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"GUSS or Control API for SDDP implementation","id":8465,"title":"GUSS or Control API for SDDP implementation","slug":"guss-or-control-api-for-sddp-implementation","posts_count":3,"reply_count":1,"highest_post_number":3,"image_url":null,"created_at":"2026-01-20T17:52:33.794Z","last_posted_at":"2026-01-28T09:15:36.808Z","bumped":true,"bumped_at":"2026-01-28T09:15:36.808Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Hello! \nI am looking to write my own implementation of the SDDP algorithm in GAMS, with data coming from MATLAB. From what I have gathered reading the forum and the documentation, it appears that I have a few options: \n\nM&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":123,"name":"api","slug":"api"},{"id":106,"name":"performance","slug":"performance"}],"tags_descriptions":{},"views":68,"like_count":0,"has_summary":false,"last_poster_username":"pbignardi","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":"latest","description":"Original Poster, Most Recent Poster","user_id":2097,"primary_group_id":null,"flair_group_id":null},{"extras":null,"description":"Recent Poster","user_id":11,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Modeling Multi-period Profit Maximization for Two Companies Under Non-cooperative Game","id":8461,"title":"Modeling Multi-period Profit Maximization for Two Companies Under Non-cooperative Game","slug":"modeling-multi-period-profit-maximization-for-two-companies-under-non-cooperative-game","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2026-01-16T07:34:33.848Z","last_posted_at":"2026-01-16T07:34:33.982Z","bumped":true,"bumped_at":"2026-01-16T07:34:33.982Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Dear Teacher/Expert, Hello! The following is my consultation on the core problem and modeling ideas of the “dynamic game of water-electricity joint operation between two non-cooperative companies”, attached with the refe&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":71,"like_count":0,"has_summary":false,"last_poster_username":"lolenze","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":"latest single","description":"Original Poster, Most Recent Poster","user_id":2181,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Is GAMS&rsquo;s strict domain checking necessary here? Can it be relaxed?","id":8459,"title":"Is GAMS's strict domain checking necessary here? Can it be relaxed?","slug":"is-gamss-strict-domain-checking-necessary-here-can-it-be-relaxed","posts_count":7,"reply_count":3,"highest_post_number":7,"image_url":null,"created_at":"2026-01-13T14:49:56.627Z","last_posted_at":"2026-01-15T10:07:56.020Z","bumped":true,"bumped_at":"2026-01-15T10:07:56.020Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"I have encountered what seems like unnecessarily strict domain checking in GAMS. Consider this example: \nset abc / a, b, c /;\nset ab[abc] / a, b /;\nset a[ab] / a /;\n\nparameter foo[abc];\nfoo[a] = 1;                    # W&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":152,"like_count":0,"has_summary":false,"last_poster_username":"Lutz","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":null,"description":"Original Poster","user_id":511,"primary_group_id":null,"flair_group_id":null},{"extras":null,"description":"Frequent Poster","user_id":11,"primary_group_id":null,"flair_group_id":null},{"extras":null,"description":"Recent Poster","user_id":1295,"primary_group_id":null,"flair_group_id":null},{"extras":"latest","description":"Most Recent Poster","user_id":19,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"How do you emulate encapsulation or namespaces?","id":8441,"title":"How do you emulate encapsulation or namespaces?","slug":"how-do-you-emulate-encapsulation-or-namespaces","posts_count":2,"reply_count":0,"highest_post_number":2,"image_url":null,"created_at":"2025-12-04T07:19:02.852Z","last_posted_at":"2026-01-13T15:24:19.834Z","bumped":true,"bumped_at":"2026-01-13T15:24:19.834Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"GAMS has no encapsulation. That is, all symbols, except for $setLocal, have global scope. This creates challenges when the code grows. I work with a model that has been developed during decades by a many contributors. A &hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":126,"name":"syntax","slug":"syntax"}],"tags_descriptions":{},"views":147,"like_count":0,"has_summary":false,"last_poster_username":"mkbonde","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":null,"description":"Original Poster","user_id":2177,"primary_group_id":null,"flair_group_id":null},{"extras":"latest","description":"Most Recent Poster","user_id":511,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Subject: GAMS Model Becomes Infeasible with Longer Time Horizons - Suspected Cumulative Error Issue","id":8423,"title":"Subject: GAMS Model Becomes Infeasible with Longer Time Horizons - Suspected Cumulative Error Issue","slug":"subject-gams-model-becomes-infeasible-with-longer-time-horizons-suspected-cumulative-error-issue","posts_count":3,"reply_count":1,"highest_post_number":3,"image_url":null,"created_at":"2025-11-21T13:47:13.018Z","last_posted_at":"2025-11-25T14:35:42.627Z","bumped":true,"bumped_at":"2025-11-26T01:13:55.346Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Hello GAMS Community, \nI’m working on a cascade reservoir optimization model. The model runs successfully with 500 time periods but becomes infeasible when extended to 750+ periods. The error occurs during the relaxed NL&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":198,"like_count":0,"has_summary":false,"last_poster_username":"westenage","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":"latest","description":"Original Poster, Most Recent Poster","user_id":2124,"primary_group_id":null,"flair_group_id":null},{"extras":null,"description":"Recent Poster","user_id":11,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Access current date and time at execution time","id":8407,"title":"Access current date and time at execution time","slug":"access-current-date-and-time-at-execution-time","posts_count":8,"reply_count":5,"highest_post_number":8,"image_url":null,"created_at":"2025-10-27T09:54:34.969Z","last_posted_at":"2025-10-30T10:41:04.643Z","bumped":true,"bumped_at":"2025-10-30T10:41:04.643Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Dear GAMS experts, \nIs there a way to retrieve the current date and time at execution time? I would like to write it to an individual output file in a loop at execution time, however, I can only find system.date and syst&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":233,"like_count":1,"has_summary":false,"last_poster_username":"dklein","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":"latest","description":"Original Poster, Most Recent Poster","user_id":2115,"primary_group_id":null,"flair_group_id":null},{"extras":null,"description":"Recent Poster","user_id":19,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Error 343","id":8382,"title":"Error 343","slug":"error-343","posts_count":3,"reply_count":0,"highest_post_number":3,"image_url":"https://forum.gams.com/uploads/default/original/2X/1/1531d3e92c1d78e8ee71714af9056401ec94b3da.png","created_at":"2025-09-25T14:14:35.536Z","last_posted_at":"2025-10-01T23:57:24.340Z","bumped":true,"bumped_at":"2025-10-01T23:57:24.340Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Hi everyone \nI run the command As Shown on the screen Shoots and the error pops out. please help in importing xlsx. thank you","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":108,"name":"gdx","slug":"gdx"}],"tags_descriptions":{},"views":176,"like_count":0,"has_summary":false,"last_poster_username":"Wogayehu_abele","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":"latest","description":"Original Poster, Most Recent Poster","user_id":2147,"primary_group_id":null,"flair_group_id":null},{"extras":null,"description":"Recent Poster","user_id":11,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"How to Plot CGE Graph with GAMS","id":4096,"title":"How to Plot CGE Graph with GAMS","slug":"how-to-plot-cge-graph-with-gams","posts_count":2,"reply_count":0,"highest_post_number":2,"image_url":null,"created_at":"2022-10-28T13:37:56.000Z","last_posted_at":"2025-10-01T10:32:32.624Z","bumped":true,"bumped_at":"2025-10-01T10:32:32.624Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Dear All, Please I am find it difficult to plot my CGE graph using GAMS any ideas please ?.","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":125,"name":"modeling","slug":"modeling"}],"tags_descriptions":{},"views":10419,"like_count":0,"has_summary":false,"last_poster_username":"_Dima_Kolmogorov","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":null,"description":"Original Poster","user_id":1114,"primary_group_id":null,"flair_group_id":null},{"extras":"latest","description":"Most Recent Poster","user_id":2149,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Improving/automating data input: Excel -&gt; CSV -&gt; GDX -&gt; GAMS","id":8311,"title":"Improving/automating data input: Excel -> CSV -> GDX -> GAMS","slug":"improving-automating-data-input-excel-csv-gdx-gams","posts_count":4,"reply_count":2,"highest_post_number":4,"image_url":null,"created_at":"2025-07-09T18:32:01.081Z","last_posted_at":"2025-09-11T10:18:43.879Z","bumped":true,"bumped_at":"2025-09-11T10:18:43.879Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Hi again, GAMS fanatics. \nI posted a while ago about data input. I managed to solve some of my issues and I have a working process. First, I want to share it here with you. Second, I would like your advice to make it fas&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":126,"name":"syntax","slug":"syntax"}],"tags_descriptions":{},"views":266,"like_count":1,"has_summary":false,"last_poster_username":"aileen","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":null,"description":"Original Poster","user_id":1313,"primary_group_id":null,"flair_group_id":null},{"extras":null,"description":"Recent Poster","user_id":1295,"primary_group_id":null,"flair_group_id":null},{"extras":"latest","description":"Most Recent Poster","user_id":716,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"CPLEX : SOS2 variable issue","id":8339,"title":"CPLEX : SOS2 variable issue","slug":"cplex-sos2-variable-issue","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2025-07-31T10:45:41.689Z","last_posted_at":"2025-07-31T10:45:41.800Z","bumped":true,"bumped_at":"2025-07-31T10:45:41.800Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Hi there ! \nI am currently working on an optimisation problem. As I need to extrapolate one variable (price) based on volumes I use a SOS2 variable (Lbda). \nSOS2 Variable lbda(h, i) #SOS2 variable declaration \nlbda.up(h,&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":122,"name":"solver","slug":"solver"}],"tags_descriptions":{},"views":105,"like_count":0,"has_summary":false,"last_poster_username":"Alex2b","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":"latest single","description":"Original Poster, Most Recent Poster","user_id":2125,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"MATLAB wgdx function in GAMS 49","id":8272,"title":"MATLAB wgdx function in GAMS 49","slug":"matlab-wgdx-function-in-gams-49","posts_count":5,"reply_count":2,"highest_post_number":5,"image_url":null,"created_at":"2025-05-30T19:17:03.029Z","last_posted_at":"2025-06-13T14:27:56.931Z","bumped":true,"bumped_at":"2025-07-25T14:31:13.277Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Hello! \nI am having some troubles with GAMS 49 and Matlab 2024b. \nI added the GAMS installation folder to the Matlab path as in the documentation here, but I can’t use the gams and wgdx functions, as they are not defined&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":108,"name":"gdx","slug":"gdx"},{"id":116,"name":"matlab-api","slug":"matlab-api"}],"tags_descriptions":{},"views":206,"like_count":2,"has_summary":false,"last_poster_username":"abhosekar","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":null,"description":"Original Poster","user_id":2097,"primary_group_id":null,"flair_group_id":null},{"extras":null,"description":"Recent Poster","user_id":615,"primary_group_id":null,"flair_group_id":null},{"extras":"latest","description":"Most Recent Poster","user_id":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"CSVRead does not stop on missing input","id":8315,"title":"CSVRead does not stop on missing input","slug":"csvread-does-not-stop-on-missing-input","posts_count":3,"reply_count":0,"highest_post_number":3,"image_url":null,"created_at":"2025-07-15T16:45:14.215Z","last_posted_at":"2025-07-16T12:02:27.661Z","bumped":true,"bumped_at":"2025-07-16T12:02:27.661Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Hello everyone, \nwhen I try to read data from a csv file at execution time with \n`executeTool ‘csvread myfile.csv id=myParameter index=1,2 values=3’; \nGAMS does not stop with an error if the file (myfile.csv) does not ex&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":124,"name":"tool","slug":"tool"},{"id":128,"name":"csv","slug":"csv"}],"tags_descriptions":{},"views":91,"like_count":0,"has_summary":false,"last_poster_username":"dklein","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":"latest","description":"Original Poster, Most Recent Poster","user_id":2115,"primary_group_id":null,"flair_group_id":null},{"extras":null,"description":"Recent Poster","user_id":4,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Can CSVRead deal with commented line?","id":8309,"title":"Can CSVRead deal with commented line?","slug":"can-csvread-deal-with-commented-line","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2025-07-05T12:12:50.782Z","last_posted_at":"2025-07-05T12:12:50.998Z","bumped":true,"bumped_at":"2025-07-05T12:12:50.998Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Dear GAMS team, \nI would like to use the CSVRead to read data from a csv file at execution time. When I read the file with $ondelim at compile time, the file contain commented lines (starting with *). In my test, CSVRead&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":124,"name":"tool","slug":"tool"},{"id":128,"name":"csv","slug":"csv"}],"tags_descriptions":{},"views":74,"like_count":0,"has_summary":false,"last_poster_username":"dklein","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":"latest single","description":"Original Poster, Most Recent Poster","user_id":2115,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"GAMS scheduling","id":8305,"title":"GAMS scheduling","slug":"gams-scheduling","posts_count":2,"reply_count":0,"highest_post_number":2,"image_url":null,"created_at":"2025-06-27T08:05:42.146Z","last_posted_at":"2025-06-27T08:07:42.259Z","bumped":true,"bumped_at":"2025-06-27T08:07:42.259Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Hi everyone, right now I am building a code for scheduling using a case of 4 jobs in 10 machines during 4 months, at the begining I had a code much more dummy but it worked, so I’ve been trying to modify it so I can use &hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":125,"name":"modeling","slug":"modeling"},{"id":126,"name":"syntax","slug":"syntax"},{"id":122,"name":"solver","slug":"solver"}],"tags_descriptions":{},"views":120,"like_count":0,"has_summary":false,"last_poster_username":"Fred_Fiand","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":null,"description":"Original Poster","user_id":2046,"primary_group_id":null,"flair_group_id":null},{"extras":"latest","description":"Most Recent Poster","user_id":4,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"CONOPT solution as an initial guess for BARON","id":8290,"title":"CONOPT solution as an initial guess for BARON","slug":"conopt-solution-as-an-initial-guess-for-baron","posts_count":2,"reply_count":0,"highest_post_number":2,"image_url":null,"created_at":"2025-06-16T18:32:08.772Z","last_posted_at":"2025-06-18T06:43:03.560Z","bumped":true,"bumped_at":"2025-06-18T06:43:03.560Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Hello everyone, \nI am experiencing issues with my model in GAMS. I am using CONOPT to solve my model and use its solution as an initial guess for Baron to find the global optimum solution. My problem is that Baron does n&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":122,"name":"solver","slug":"solver"},{"id":7,"name":"conopt","slug":"conopt"},{"id":5,"name":"baron","slug":"baron"}],"tags_descriptions":{},"views":97,"like_count":0,"has_summary":false,"last_poster_username":"Fred_Fiand","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":null,"description":"Original Poster","user_id":2104,"primary_group_id":null,"flair_group_id":null},{"extras":"latest","description":"Most Recent Poster","user_id":4,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"About the IFPRI Standard CGE model","id":8287,"title":"About the IFPRI Standard CGE model","slug":"about-the-ifpri-standard-cge-model","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2025-06-16T12:45:37.593Z","last_posted_at":"2025-06-16T12:45:37.786Z","bumped":true,"bumped_at":"2025-06-16T12:45:37.786Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"I have calibrated the IFPRI dynamic CGE model and the model runs successfully. I want to include the timber dynamics into the model but timber harvest is not coupling into the model. The SAM of the model does not include&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":155,"like_count":0,"has_summary":false,"last_poster_username":"Lincoln25","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":"latest single","description":"Original Poster, Most Recent Poster","user_id":2018,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Hydropower Optimization Problem","id":8283,"title":"Hydropower Optimization Problem","slug":"hydropower-optimization-problem","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2025-06-10T16:12:19.946Z","last_posted_at":"2025-06-10T16:12:20.063Z","bumped":true,"bumped_at":"2025-06-10T16:12:20.063Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Hello guys! I wanted to ask if somebody of you is able to solve this optimization problem: I am completely stuck and would really appreciate your help. I can’t upload the corresponding Excel but a general code would alre&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":80,"like_count":0,"has_summary":false,"last_poster_username":"Daniel_Plotegher","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":"latest single","description":"Original Poster, Most Recent Poster","user_id":2101,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"**Subject: Issue with Solving CGE Model in GAMS: &ldquo;exit other error&rdquo; and &ldquo;solve aborted&rdquo;**","id":8280,"title":"**Subject: Issue with Solving CGE Model in GAMS: \"exit other error\" and \"solve aborted\"**","slug":"subject-issue-with-solving-cge-model-in-gams-exit-other-error-and-solve-aborted","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2025-06-09T00:15:51.823Z","last_posted_at":"2025-06-09T00:15:51.992Z","bumped":true,"bumped_at":"2025-06-09T00:15:51.992Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Dear experts, \nI am a CGE modelling enthusiast currently working on translating the MINIMAL model developed by the COPS centre into GAMS. While I have successfully replicated the model structure, and it runs correctly us&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":122,"name":"solver","slug":"solver"}],"tags_descriptions":{},"views":108,"like_count":0,"has_summary":false,"last_poster_username":"Mingjie_Zhuo","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":"latest single","description":"Original Poster, Most Recent Poster","user_id":2100,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"P3 Standard Exception Handler: GetCurrentDir failed: result too long or not ANSI I get this error,","id":8240,"title":"P3 Standard Exception Handler: GetCurrentDir failed: result too long or not ANSI I get this error,","slug":"p3-standard-exception-handler-getcurrentdir-failed-result-too-long-or-not-ansi-i-get-this-error","posts_count":3,"reply_count":0,"highest_post_number":3,"image_url":null,"created_at":"2025-05-12T09:55:02.056Z","last_posted_at":"2025-05-21T18:54:51.699Z","bumped":true,"bumped_at":"2025-05-21T18:54:51.699Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"P3 Standard Exception Handler: GetCurrentDir failed: result too long or not ANSI \nI get this error, I don’t understand, can you tell me this error solution","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":226,"like_count":0,"has_summary":false,"last_poster_username":"Gok","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":"latest","description":"Original Poster, Most Recent Poster","user_id":2079,"primary_group_id":null,"flair_group_id":null},{"extras":null,"description":"Recent Poster","user_id":4,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Reducing Scenarios in GAMS Using the Scenred Function","id":8256,"title":"Reducing Scenarios in GAMS Using the Scenred Function","slug":"reducing-scenarios-in-gams-using-the-scenred-function","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2025-05-21T10:44:25.073Z","last_posted_at":"2025-05-21T10:44:25.227Z","bumped":true,"bumped_at":"2025-05-21T10:44:25.227Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Hello, I have a dataset (scenario) with 1,000 rows in Excel. I want to use the Scenred function in GAMS to reduce these from 1,000 scenarios to 50 scenarios (ultimately, by multiplying each of the 50 scenarios by its pro&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[{"id":125,"name":"modeling","slug":"modeling"}],"tags_descriptions":{},"views":75,"like_count":0,"has_summary":false,"last_poster_username":"halfa","category_id":9,"op_like_count":0,"pinned_globally":false,"featured_link":null,"has_accepted_answer":false,"can_vote":false,"posters":[{"extras":"latest single","description":"Original Poster, Most Recent Poster","user_id":1875,"primary_group_id":null,"flair_group_id":null}]}]}}