Search found 3 matches

by Alex_Lee
4 years ago
Forum: Modeling
Topic: assigning specific elements to a subset from a set.
Replies: 2
Views: 2242

assigning specific elements to a subset from a set.

Hi there, This might be a simple question, but I'd like to have some clarification. Suppose I have a set AllPeriod with its defined elements... set AllPeriod /2000*2100/ ...and the subset is defined as: set Period(AllPeriod) I know that you can put single elements into the set by Period(AllPeriod) =...
by Alex_Lee
4 years ago
Forum: Modeling
Topic: changing the amount of sets in parameter
Replies: 3
Views: 3223

Re: changing the amount of sets in parameter

Hi there,

Thanks for the reply.

However, when I do this I get error messages:

Code: Select all

Error 171 Domain violation for set
Error 148 Dimension different - The symbol is referenced with more/less indices as declared
Error 149 Uncontrolled set entered as constant
by Alex_Lee
4 years ago
Forum: Modeling
Topic: changing the amount of sets in parameter
Replies: 3
Views: 3223

changing the amount of sets in parameter

Hi, This may sound like a very simple question, maybe it has been asked before. I want to know how you can remove superfluous sets in a parameter without changing any of the data in the parameter. Firstly the sets and the parameter are defined as: sets AreaCode,centralamerica,ItemCode,crops,ElementC...