I want to solve GAMS model sequentially for "set myset /1,2/" and "set myset /1*6/". First solution will be lower bound for the second solution. And I want to automate this for several runs. But Gams does not allow to redefine or change sets. Is there any way?

Edit: I solved the problem using subset. But this time ord and card functions is not working for this set.

asked 30 May '16, 23:10

kubi's gravatar image

kubi
255
accept rate: 0%

edited 31 May '16, 07:11

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×51

Asked: 30 May '16, 23:10

Seen: 481 times

Last updated: 31 May '16, 07:11

OR-Exchange! Your site for questions, answers, and announcements about operations research.