{"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":716,"username":"aileen","name":"Aileen Homey","avatar_template":"/letter_avatar_proxy/v4/letter/a/b5a626/{size}.png","moderator":true,"trust_level":1},{"id":1964,"username":"jack11","name":"jack11","avatar_template":"/user_avatar/forum.gams.com/jack11/{size}/2287_2.png","trust_level":0},{"id":782,"username":"abhosekar","name":null,"avatar_template":"/letter_avatar_proxy/v4/letter/a/43a26b/{size}.png","moderator":true,"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}],"primary_groups":[],"flair_groups":[],"topic_list":{"can_create_topic":false,"more_topics_url":"/c/faq/gams-faqs/19?page=1","per_page":30,"top_tags":[],"topics":[{"fancy_title":"About the GAMS category","id":74,"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-29T12:53:51.371Z","last_posted_at":"2024-08-29T12:53:51.395Z","bumped":true,"bumped_at":"2024-08-29T12:53:51.395Z","archetype":"regular","unseen":false,"pinned":true,"unpinned":null,"excerpt":"Frequently asked questions on GAMS","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":22,"like_count":0,"has_summary":false,"last_poster_username":"rschuchmann","category_id":19,"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":"Integrals","id":3173,"title":"Integrals","slug":"integrals","posts_count":3,"reply_count":0,"highest_post_number":3,"image_url":null,"created_at":"2020-06-05T06:20:03.000Z","last_posted_at":"2024-12-15T17:35:06.757Z","bumped":true,"bumped_at":"2024-12-15T17:35:06.757Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"How do I calculate the value of a definite integral in GAMS?","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":4010,"like_count":0,"has_summary":false,"last_poster_username":"jack11","category_id":19,"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":716,"primary_group_id":null,"flair_group_id":null},{"extras":"latest","description":"Most Recent Poster","user_id":1964,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Utilizing multiple CPUs","id":3974,"title":"Utilizing multiple CPUs","slug":"utilizing-multiple-cpus","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2022-05-03T15:49:24.000Z","last_posted_at":"2022-05-03T15:49:24.000Z","bumped":false,"bumped_at":"2022-05-03T15:49:24.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"In the following, we will give an overview of the different ways to increase solver performance, mainly by considering hardware upgrading. Note that not all solvers have all capabilities and that the feature naming may d&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":48225,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Can I use Dropbox with GAMS ?","id":3969,"title":"Can I use Dropbox with GAMS ?","slug":"can-i-use-dropbox-with-gams","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2022-04-28T11:19:11.000Z","last_posted_at":"2022-04-28T11:19:11.000Z","bumped":false,"bumped_at":"2022-04-28T11:19:11.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Using GAMS with cloud storage services (e.g., dropbox, onedrive, google drive) requires some caution and especially it is not recommended to place a GAMS working directory in such a synchronized cloud storage folder. A u&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":26625,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"GDXMRW: How can I adjust the startup Matlab Path on Linux or Mac?","id":3873,"title":"GDXMRW: How can I adjust the startup Matlab Path on Linux or Mac?","slug":"gdxmrw-how-can-i-adjust-the-startup-matlab-path-on-linux-or-mac","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2022-01-21T19:40:18.000Z","last_posted_at":"2022-01-21T19:40:18.000Z","bumped":false,"bumped_at":"2022-01-21T19:40:18.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Note: Starting with GAMS version 38, GAMSTransfer Matlab is the preferred way to transfer data between Matlab and GAMS. \nFor GDXMRW, \nI run Matlab on a machine where I have no root privileges so updating the system-wide &hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":26493,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Security policies interference","id":3861,"title":"Security policies interference","slug":"security-policies-interference","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2022-01-10T14:08:51.000Z","last_posted_at":"2022-01-10T14:08:51.000Z","bumped":false,"bumped_at":"2022-01-10T14:08:51.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Q - “When I call GAMS the model compiles and calls the solver but the call fails and returns error code 13, System Failure. This happens with all solvers” \nIt almost sounds like GAMS is not allowed to execute a CMD scrip&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":24973,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Virus scanner incompatibility","id":3860,"title":"Virus scanner incompatibility","slug":"virus-scanner-incompatibility","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2022-01-10T14:07:39.000Z","last_posted_at":"2022-01-10T14:07:39.000Z","bumped":false,"bumped_at":"2022-01-10T14:07:39.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"One can observe errors from GAMS in opening, closing, and writing files. It is likely these errors have been triggered by a virus scanner. By default GAMS does quite a few file operations during its runs and we have seen&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":24469,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Warning from a Virus Scanner","id":3859,"title":"Warning from a Virus Scanner","slug":"warning-from-a-virus-scanner","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2022-01-10T14:05:20.000Z","last_posted_at":"2022-01-10T14:05:20.000Z","bumped":false,"bumped_at":"2022-01-10T14:05:20.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"GAMS tests the distributions that can be found from the GAMS website , that they are free of viruses. So far, all suspicious file alerts from virus scanners have been false alerts, i.e. false positives. \nIn most cases, p&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":24883,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Problem opening Excel: Cannot create an instance of Excel","id":3777,"title":"Problem opening Excel: Cannot create an instance of Excel","slug":"problem-opening-excel-cannot-create-an-instance-of-excel","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2021-09-27T12:29:34.000Z","last_posted_at":"2021-09-27T12:29:34.000Z","bumped":false,"bumped_at":"2021-09-27T12:29:34.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"This errors will occur when Excel is not installed, or more likely, the wrong version of Excel is installed. \nAccording to Microsoft, there are two versions of Excel 2010; “Click to Run” and “Regular”. The “Click to Run”&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":23719,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"GAMS User Groups","id":3746,"title":"GAMS User Groups","slug":"gams-user-groups","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2021-08-26T16:07:35.000Z","last_posted_at":"2021-08-26T16:07:35.000Z","bumped":false,"bumped_at":"2021-08-26T16:07:35.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Besides GAMS World Forum, there are other user groups that allow GAMS users worldwide to exchange information about GAMS: \n\nGAMS-L - GAMS user list: https://www.listserv.dfn.de/sympa/info/gams-l \n \n \nGAMS at stack overfl&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":19639,"like_count":0,"has_summary":false,"last_poster_username":"aileen","category_id":19,"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":716,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"How do I formulate logical expressions in equations?","id":3738,"title":"How do I formulate logical expressions in equations?","slug":"how-do-i-formulate-logical-expressions-in-equations","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2021-08-19T12:36:53.000Z","last_posted_at":"2021-08-19T12:36:53.000Z","bumped":false,"bumped_at":"2021-08-19T12:36:53.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"GAMS does not reformulate logical expressions. You need to do this by hand. A common way to model logical expressions is using the so-called big-M method. The interested reader is referred to the book by H.P. Williams on&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":20525,"like_count":0,"has_summary":false,"last_poster_username":"aileen","category_id":19,"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":716,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Linearize a nonlinear function using piecewise linear approximation","id":3734,"title":"Linearize a nonlinear function using piecewise linear approximation","slug":"linearize-a-nonlinear-function-using-piecewise-linear-approximation","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2021-08-17T15:07:13.000Z","last_posted_at":"2021-08-17T15:07:13.000Z","bumped":false,"bumped_at":"2021-08-17T15:07:13.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Find below some approaches to linearize the cubic function \ny =e= x*sqr(x) - 7*sqr(x) + 14*x - 8\n\nusing piecewise linear approximation. In general, piecewise linear functions can be modeled using binary variables, SOS1 t&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":19941,"like_count":0,"has_summary":false,"last_poster_username":"aileen","category_id":19,"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":716,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"GAMS Related References","id":3726,"title":"GAMS Related References","slug":"gams-related-references","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2021-08-11T12:15:32.000Z","last_posted_at":"2021-08-11T12:15:32.000Z","bumped":false,"bumped_at":"2021-08-11T12:15:32.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"This post contains a list of some GAMS related scientific papers. Please email suggestions for additions to this list to support@gams.com. \n\nJohannes Bisschop and Alexander Meeraus. On the Development of a General Algebr&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":18670,"like_count":0,"has_summary":false,"last_poster_username":"aileen","category_id":19,"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":716,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"How to reference GAMS in a paper?","id":3725,"title":"How to reference GAMS in a paper?","slug":"how-to-reference-gams-in-a-paper","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2021-08-11T11:19:53.000Z","last_posted_at":"2021-08-11T11:19:53.000Z","bumped":false,"bumped_at":"2021-08-11T11:19:53.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"This post contains some information on how to give a proper reference to the GAMS software and the GAMS documentation in a (scientific) paper. Since the software and the documentation changes with every release, it is a &hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":19376,"like_count":0,"has_summary":false,"last_poster_username":"aileen","category_id":19,"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":716,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"How do I implement a &ldquo;lookup-table&rdquo;?","id":3722,"title":"How do I implement a \"lookup-table\"?","slug":"how-do-i-implement-a-lookup-table","posts_count":2,"reply_count":0,"highest_post_number":2,"image_url":null,"created_at":"2021-08-10T13:53:21.000Z","last_posted_at":"2021-08-10T13:56:52.000Z","bumped":true,"bumped_at":"2021-08-10T13:56:52.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"In my case the determinant is the summation of the variables from U1 to Ux that have been introduced as a binary variable to GAMS. In each iteration during the optimization these variables are set to 0 or 1 but the struc&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":45525,"like_count":0,"has_summary":false,"last_poster_username":"aileen","category_id":19,"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":716,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"how to use .lp file with GAMS?","id":3672,"title":"how to use .lp file with GAMS?","slug":"how-to-use-lp-file-with-gams","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2021-07-01T15:26:12.000Z","last_posted_at":"2021-07-01T15:26:12.000Z","bumped":false,"bumped_at":"2021-07-01T15:26:12.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"To generate lp file from GAMS, you can use writelp option. An example is shown here using the rotdk model from GAMS model library where the lines before the solve statement demonstrate how to use the option writelp. \n$ti&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":18425,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"enumerate all subsets of a set","id":3663,"title":"enumerate all subsets of a set","slug":"enumerate-all-subsets-of-a-set","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2021-06-23T13:58:30.000Z","last_posted_at":"2021-06-23T13:58:30.000Z","bumped":false,"bumped_at":"2021-06-23T13:58:30.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"An easy way to get this is using powerset system attribute. Here, we want all subsets of the set i. We know that there are 2**card(i) subsets of the set i. We use a set j containing two elements and system.powersetright &hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":16902,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Academic Programs by Solver Partners","id":3662,"title":"Academic Programs by Solver Partners","slug":"academic-programs-by-solver-partners","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2021-06-22T16:54:50.000Z","last_posted_at":"2021-06-22T16:54:50.000Z","bumped":false,"bumped_at":"2021-06-22T16:54:50.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"The vendors for CPLEX, GUROBI, MOSEK and XPRESS all have academic programs that may be able to provide you with a free license for their respective solver libraries. There are two ways in which you can use these free sol&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":17027,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"The system cannot find the path specified","id":3634,"title":"The system cannot find the path specified","slug":"the-system-cannot-find-the-path-specified","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2021-05-28T17:00:42.000Z","last_posted_at":"2021-05-28T17:00:42.000Z","bumped":false,"bumped_at":"2021-05-28T17:00:42.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"If you run a model from the IDE and you get a log that contains the message The system cannot find the path specified. in the GAMS log \n\n— Job trnsport.gms Start 11/23/17 19:09:03 24.9.2 r64480 WEX-WEI x86 64bit/MS Windo&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":16545,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Segmentation fault when using Python API with 3rd party libraries","id":3631,"title":"Segmentation fault when using Python API with 3rd party libraries","slug":"segmentation-fault-when-using-python-api-with-3rd-party-libraries","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2021-05-27T14:47:09.000Z","last_posted_at":"2021-05-27T14:47:09.000Z","bumped":false,"bumped_at":"2021-05-27T14:47:09.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Using the GAMS Python OO API in combination with third party libraries (e.g. pandas) might fail with a segmentation fault on Linux and Mac OS X. This problem occurs if the third party library loads a version of the share&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":16500,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Monitor the memory used by the GAMS process tree","id":3630,"title":"Monitor the memory used by the GAMS process tree","slug":"monitor-the-memory-used-by-the-gams-process-tree","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2021-05-27T13:49:16.000Z","last_posted_at":"2021-05-27T13:49:16.000Z","bumped":false,"bumped_at":"2021-05-27T13:49:16.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Memory is required by GAMS for model compilation and generation and by the solver during the optimization. The command line option procTreeMemMonitor  can be used to monitor the memory used by the GAMS process tree. \nMor&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":16253,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Is there an alternative to the tool mcfilter?","id":3629,"title":"Is there an alternative to the tool mcfilter?","slug":"is-there-an-alternative-to-the-tool-mcfilter","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2021-05-27T10:33:08.000Z","last_posted_at":"2021-05-27T10:33:08.000Z","bumped":false,"bumped_at":"2021-05-27T10:33:08.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"The tool mcfilter (https://www.gams.com/35/docs/T_MCFILTER.html) allows to extract from a list of multi-dimensional points to non-dominated points. This can be handy to approximate the Pareto frontier for multi-objective&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":18347,"like_count":0,"has_summary":false,"last_poster_username":"mbussieck","category_id":19,"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":11,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"CONOPT objective worsening","id":3625,"title":"CONOPT objective worsening","slug":"conopt-objective-worsening","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2021-05-24T12:31:49.000Z","last_posted_at":"2021-05-24T12:31:49.000Z","bumped":false,"bumped_at":"2021-05-24T12:31:49.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Comments by Arne Drud: \n\nQ: Why does “worsening” of the objective happen? A: The objective that is reported in the iteration log is the ‘real’ objective function adjusted with a ‘Lagrangian’ term. The adjustment term is &hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":16159,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Dicopt: Infeasible Subproblems","id":3605,"title":"Dicopt: Infeasible Subproblems","slug":"dicopt-infeasible-subproblems","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2021-05-13T14:14:12.000Z","last_posted_at":"2021-05-13T14:14:12.000Z","bumped":false,"bumped_at":"2021-05-13T14:14:12.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"For the case when there are infeasible NLP subproblems, in the default version of DICOPT no linearizations are added but simply an integer cut, which is very weak. In order to add linearizations for infeasible NLPs, whic&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":45071,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Branching on sums of binary variables","id":3500,"title":"Branching on sums of binary variables","slug":"branching-on-sums-of-binary-variables","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2021-01-28T16:24:16.000Z","last_posted_at":"2021-01-28T16:24:16.000Z","bumped":false,"bumped_at":"2021-01-28T16:24:16.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"For example, to branch on the sum of some variables as in the following constraints: \nsum(s, delta(s)) =l= k; or \\sum(s, delta(s)) =g= k+1;\n\nAnother integer variable can be introduced \nsum_delta =e= sum(s, delta(s));\n\nBr&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":46297,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Getting a list of best integer solutions/multiple solutions of MIP","id":3498,"title":"Getting a list of best integer solutions/multiple solutions of MIP","slug":"getting-a-list-of-best-integer-solutions-multiple-solutions-of-mip","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2021-01-28T13:49:23.000Z","last_posted_at":"2021-01-28T13:49:23.000Z","bumped":false,"bumped_at":"2021-01-28T13:49:23.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"GAMS/CPLEX has a feature called solution pool to obtain multiple solutions of MIPs or MIQCPs. It was introduced with GAMS 22.6 and is described in the CPLEX manual in chapter 3.5. There is also an example solnpool in the&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":51301,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"Different solutions across solvers/versions/ small changes in data","id":3464,"title":"Different solutions across solvers/versions/ small changes in data","slug":"different-solutions-across-solvers-versions-small-changes-in-data","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2021-01-11T16:14:35.000Z","last_posted_at":"2021-01-11T16:14:35.000Z","bumped":false,"bumped_at":"2021-01-11T16:14:35.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"There are several reasons for observing different solutions across different solvers, or different versions of solvers, or with respect to small changes in data. \nCritical optimality tolerance \nThe default value of the r&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":46186,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"MIP solution and final solve are different/ Objective of fixed model is different than the reported MIP solution","id":3461,"title":"MIP solution and final solve are different/ Objective of fixed model is different than the reported MIP solution","slug":"mip-solution-and-final-solve-are-different-objective-of-fixed-model-is-different-than-the-reported-mip-solution","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2021-01-07T15:57:38.000Z","last_posted_at":"2021-01-07T15:57:38.000Z","bumped":false,"bumped_at":"2021-01-07T15:57:38.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"GAMS MIP solvers (by default) solve the MIP problem and then fixes the discrete variables at the levels returned by the solver and solves the resulting LP to get LP marginals (these marginals can be useful e.g. when inte&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":6693,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"How to use Couenne with GAMS 33","id":3372,"title":"How to use Couenne with GAMS 33","slug":"how-to-use-couenne-with-gams-33","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2020-11-04T20:42:23.000Z","last_posted_at":"2020-11-04T20:42:23.000Z","bumped":false,"bumped_at":"2020-11-04T20:42:23.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"The solver Couenne has been removed from the GAMS system. \nFor the time being, libraries of GAMS/Couenne are available at the COIN-OR GAMSlinks https://github.com/coin-or/GAMSlinks/releases. All instructions below make u&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":8912,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]},{"fancy_title":"MIP: Terminating the optimization after the first feasible solution","id":3362,"title":"MIP: Terminating the optimization after the first feasible solution","slug":"mip-terminating-the-optimization-after-the-first-feasible-solution","posts_count":1,"reply_count":0,"highest_post_number":1,"image_url":null,"created_at":"2020-10-29T14:41:35.000Z","last_posted_at":"2020-10-29T14:41:35.000Z","bumped":false,"bumped_at":"2020-10-29T14:41:35.000Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"One way is to minimize/maximize a constant objective (min objective = 0) using any solver if the aim is to obtain just a feasible solution. \nOn the GAMS level you can set optcr and optca to large numbers. If the bound an&hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"tags":[],"tags_descriptions":{},"views":6383,"like_count":0,"has_summary":false,"last_poster_username":"abhosekar","category_id":19,"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":782,"primary_group_id":null,"flair_group_id":null}]}]}}