Filip Konvicka wrote:
> Hi David,
> 
> SumaVariables7_1 is a list, not a tuple (lists look like [1 2 3], tuples
> look like 1#2#3). You can concatenate two lists using Append - for example
> 
thanks Filip, buyt i realy do is sum this two list.

attach pdf with the constraint is enclosed.

it wanted to be able to add those two lists for all the period that is
reflected in the set of ordered pairs


I hope thank you very much that you understand to me,


> Hope this helps,
> Filip
> 
>> David López wrote:
>>> how can i add two tuplas?    thanks for the answer
>>>
>> hor exmaple:
>>
>> i have this tuple:
>>
>>  for 1 in 1..Periodos do
>>       SumaVariables7_1=for M in 1..Salas collect:Collect do
>>               for  W in 1..5  do
>>                  {Collect X.M.W.1}
>>               end
>>                end
>> in
>>       {FD.sum SumVariables7_1 '=<:' 0}
>> end
>>
>> and this another tuple
>>
>>
>> for 1 in 1..Periodos do
>>       SumaVariables7_2=for M in 1..Salas collect:Collect do
>>               for  W in 6..7  do
>>                  {Collect X.M.W.1}
>>               end
>>                end
>> in
>>       {FD.sum SumVariables7_2 '=<:' 0}
>> end
>>
>> how can i sumar or add this two  SumaVariables7_1 +  SumaVariables7_2,
>> thanks
>>
> 

Attachment: modelo_particular.pdf
Description: Adobe PDF document

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to