add two tuplas

David López deibyd at gmail.com
Wed Oct 4 22:24:55 CEST 2006


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




More information about the mozart-users mailing list