I just posted a question: Let me give a simpler example for easy

comprehension:

The area planted in quarters 1, 2 and 3 are 1, 8 and 12 acres

respectively

The area planted in quarters 10, 11 and 12 are 9, 11 and 100 acres

respectively.

I have to sum them and match them up:

so that, I can have Total(q) is a set such as [1, 8, 12, 0, 0, 0, 0,

0, 0, 9, 11, 100]

Although T0 and T1 are subsets of the set Q, they do not get matched

properly and I get the error message 149 - UNCONTROLLED SET ENTERED AS

CONSTANT.

# How can the indices in subsets T0 and T1 be matched with the bigger

set Q?

set

Q /q1*q12/
T0(q) /q1*q3/

T1(q) /q10*q12/

;

Parameter

Area(t0) /q1 1, q2 8, q3 12/

Area1(t1) /q10 9, q11 11, q12 100/

Total(q);

Total(q) = Area(t0) + Area(t1);

Display Area, Area1, Total;

–~–~---------~–~----~------------~-------~–~----~

To post to this group, send email to gamsworld@googlegroups.com

To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com

For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en

-~----------~----~----~----~------~----~------~–~—

\