code 256

David López deibyd at gmail.com
Fri Oct 6 16:47:33 CEST 2006


Hi

again, arise this message of error:

Process *Oz Compiler* exited abnormally with code 256,

with this script:

attach on tis mail

why?, what do it means?

thnks


David López wrote:
> Hi Boriss,
> 
> i have:
> 
> - Linux zeus 2.6.18 #1 SMP PREEMPT Thu Sep 21 18:36:52 CLT 2006 i686
> pentium4 i386 GNU/Linux
> 
> - 512 MB RAM
> 
> and , mozart-oz:
> the last one,  Version 1.3.2 released on June 15, 2006!
> 
> The important thing is that i myself it compiles both S.O and mozart-oz.
> 
> With respect to the code, that this very duplicated, what you recommend
> to me?, how can I automate the variables of the form #define like in c?
> 
> The problem of code 256, comes when I occupy the following distribution:
> {FD.distribute ff Variables}
> 
> But when I occupy:
> {FD.distribute generic(value:max) Variables}
> it is delayed very little, these are the statistics:
> stat(b:0 c:0 depth:1 f:0 s:1 start:299), and time:15,06s
> 
> 
> Also it wanted to know if there is some way to be able to have the
> result, of another that inspector way since the interpretation costs to
> me much, is possible to be occupied tk, or some text file?    thank you
> very much by the answer
> 
> 
> Boriss Mejias wrote:
>> Hi David,
>>
>> Sorry for the late reply. I tried feeding your code in the OPI and I
>> didn't have any error message from the compiler. I let the program run
>> for a while but it consumed huge amount of RAM so I needed to forced it
>> to quit. So I don't know where you error code 256 comes from. Which
>> version of Mozart are you running and which operative system?
>>
>> About the code... you have a lot of code duplication, but I can see that
>> you are already fixing that and other issues in the discussion with Filip.
>>
>> cheers
>> Boriss
>>
>> David López wrote:
>>> Boriss Mejias wrote:
>>>> Hi David,
>>>>
>>>> What was the code you fed in the OPI? Without that it's going to be very
>>>> difficult to help you.
>>>>
>>> hi Boris, tis is my code:
>>>
>>> declare
>>>
>>> Salas=12
>>> Asignaturas=150
>>> Periodos=35
>>>
>>> proc{Asignacion X}
>>>    Variables in
>>>
>>>    X={MakeTuple salas Salas}
>>>    for M in 1..Salas do
>>>       X.M={MakeTuple asignaturas Asignaturas}
>>>       for W in 1..Asignaturas do
>>>      X.M.W={FD.tuple periodos Periodos 0#1}
>>>       end
>>>    end
>>>
>>>    Variables = for M in 1..Salas   collect:Collect do
>>>           for W in 1..Asignaturas do
>>>              for L in 1..Periodos do
>>>             {Collect X.M.W.L}
>>>              end
>>>           end
>>>            end
>>>
>>>    % primera restricción: Toda sala m debe ser asignada a lo mas a una
>>> asignatura w en el periodo l
>>>    for M in 1..Salas do
>>>       for L in 1..Periodos do
>>>      SumVariables=for  W in 1..Asignaturas collect:Collect do
>>>             {Collect X.M.W.L}
>>>          end
>>>       in
>>>      {FD.sum SumVariables '=<:' 1}
>>>       end
>>>    end
>>>
>>>    % segunda restricción: Toda asignatura w tiene tw periodos a la semana
>>>    for W in 1..Asignaturas do
>>>       SumVariables2=for L in 1..Periodos collect:Collect do
>>>                for  M in 1..Salas do
>>>               {Collect X.M.W.L}
>>>                end
>>>             end
>>>    in
>>>       {FD.sum SumVariables2 '=:' 2}
>>>    end
>>>
>>>    % tercera restricción: Toda asignatura w debe ser asignada a lo mas a
>>> una sala m en el periodo l
>>>    for W in 1..Asignaturas do
>>>       for L in 1..Periodos do
>>>      SumVariables3=for  M in 1..Salas collect:Collect do
>>>              {Collect X.M.W.L}
>>>           end
>>>       in
>>>      {FD.sum SumVariables3 '=<:' 1}
>>>       end
>>>    end
>>>
>>>    % cuarta restricción: la asignacion de las asignaturas w de un mismo
>>> semestre j no deben coincidir en el mismo periodo l
>>>    for L in 1..Periodos do
>>>       SumaVariables4_1=for M in 1..Salas collect:Collect do
>>>               for  W in 1..5  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_2=for M in 1..Salas collect:Collect do
>>>               for  W in 6..10  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_3=for M in 1..Salas collect:Collect do
>>>               for  W in 11..15  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_4=for M in 1..Salas collect:Collect do
>>>               for  W in 16..20  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_5=for M in 1..Salas collect:Collect do
>>>               for  W in 21..25  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_6=for M in 1..Salas collect:Collect do
>>>               for  W in 26..30  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_7=for M in 1..Salas collect:Collect do
>>>               for  W in 31..35  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_8=for M in 1..Salas collect:Collect do
>>>               for  W in 36..40  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_9=for M in 1..Salas collect:Collect do
>>>               for  W in 41..45  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_10=for M in 1..Salas collect:Collect do
>>>               for  W in 46..50  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_11=for M in 1..Salas collect:Collect do
>>>               for  W in 51..55  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_12=for M in 1..Salas collect:Collect do
>>>               for  W in 56..60  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_13=for M in 1..Salas collect:Collect do
>>>               for  W in 61..65  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_14=for M in 1..Salas collect:Collect do
>>>               for  W in 66..70  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_15=for M in 1..Salas collect:Collect do
>>>               for  W in 71..75  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_16=for M in 1..Salas collect:Collect do
>>>               for  W in 76..80  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_17=for M in 1..Salas collect:Collect do
>>>               for  W in 81..85  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_18=for M in 1..Salas collect:Collect do
>>>               for  W in 86..90  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_19=for M in 1..Salas collect:Collect do
>>>               for  W in 91..95  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_20=for M in 1..Salas collect:Collect do
>>>               for  W in 96..100  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_21=for M in 1..Salas collect:Collect do
>>>               for  W in 101..105  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>             end
>>>
>>>       SumaVariables4_22=for M in 1..Salas collect:Collect do
>>>               for  W in 106..110  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>             end
>>>
>>>       SumaVariables4_23=for M in 1..Salas collect:Collect do
>>>               for  W in 111..115  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_24=for M in 1..Salas collect:Collect do
>>>               for  W in 116..120  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>             end
>>>
>>>       SumaVariables4_25=for M in 1..Salas collect:Collect do
>>>               for  W in 121..125  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>             end
>>>
>>>        SumaVariables4_26=for M in 1..Salas collect:Collect do
>>>               for  W in 126..130  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>              end
>>>
>>>        SumaVariables4_27=for M in 1..Salas collect:Collect do
>>>               for  W in 131..135  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>              end
>>>
>>>        SumaVariables4_28=for M in 1..Salas collect:Collect do
>>>               for  W in 136..140  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>              end
>>>
>>>        SumaVariables4_29=for M in 1..Salas collect:Collect do
>>>               for  W in 141..145  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>              end
>>>
>>>        SumaVariables4_30=for M in 1..Salas collect:Collect do
>>>               for  W in 146..150  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>    in
>>>       {FD.sum SumaVariables4_1 '=<:' 1}
>>>       {FD.sum SumaVariables4_2 '=<:' 1}
>>>       {FD.sum SumaVariables4_3 '=<:' 1}
>>>       {FD.sum SumaVariables4_4 '=<:' 1}
>>>       {FD.sum SumaVariables4_5 '=<:' 1}
>>>       {FD.sum SumaVariables4_6 '=<:' 1}
>>>       {FD.sum SumaVariables4_7 '=<:' 1}
>>>       {FD.sum SumaVariables4_8 '=<:' 1}
>>>       {FD.sum SumaVariables4_9 '=<:' 1}
>>>       {FD.sum SumaVariables4_10 '=<:' 1}
>>>       {FD.sum SumaVariables4_11 '=<:' 1}
>>>       {FD.sum SumaVariables4_12 '=<:' 1}
>>>       {FD.sum SumaVariables4_13 '=<:' 1}
>>>       {FD.sum SumaVariables4_14 '=<:' 1}
>>>       {FD.sum SumaVariables4_15 '=<:' 1}
>>>       {FD.sum SumaVariables4_16 '=<:' 1}
>>>       {FD.sum SumaVariables4_17 '=<:' 1}
>>>       {FD.sum SumaVariables4_18 '=<:' 1}
>>>       {FD.sum SumaVariables4_19 '=<:' 1}
>>>       {FD.sum SumaVariables4_20 '=<:' 1}
>>>       {FD.sum SumaVariables4_21 '=<:' 1}
>>>       {FD.sum SumaVariables4_22 '=<:' 1}
>>>       {FD.sum SumaVariables4_23 '=<:' 1}
>>>       {FD.sum SumaVariables4_24 '=<:' 1}
>>>       {FD.sum SumaVariables4_25 '=<:' 1}
>>>       {FD.sum SumaVariables4_26 '=<:' 1}
>>>       {FD.sum SumaVariables4_27 '=<:' 1}
>>>       {FD.sum SumaVariables4_28 '=<:' 1}
>>>       {FD.sum SumaVariables4_29 '=<:' 1}
>>>       {FD.sum SumaVariables4_30 '=<:' 1}
>>>    end
>>>
>>>
>>>
>>>    % quinta restricción: Toda asignatura w no debe tener asignados dos
>>> periodos en un mismo dia
>>>    for W in 1..Asignaturas do
>>>       SumVariables5_1=for L in 1..7 collect:Collect do
>>>             for  M in 1..Salas do
>>>                {Collect X.M.W.L}
>>>             end
>>>          end
>>>       SumVariables5_2=for L in 8..14 collect:Collect do
>>>             for  M in 1..Salas do
>>>                {Collect X.M.W.L}
>>>             end
>>>          end
>>>       SumVariables5_3=for L in 15..21 collect:Collect do
>>>             for  M in 1..Salas do
>>>                {Collect X.M.W.L}
>>>             end
>>>          end
>>>       SumVariables5_4=for L in 22..28 collect:Collect do
>>>             for  M in 1..Salas do
>>>                {Collect X.M.W.L}
>>>             end
>>>          end
>>>       SumVariables5_5=for L in 29..35 collect:Collect do
>>>             for  M in 1..Salas do
>>>                {Collect X.M.W.L}
>>>             end
>>>          end
>>>    in
>>>       {FD.sum SumVariables5_1 '=<:' 1}
>>>       {FD.sum SumVariables5_2 '=<:' 1}
>>>       {FD.sum SumVariables5_3 '=<:' 1}
>>>       {FD.sum SumVariables5_4 '=<:' 1}
>>>       {FD.sum SumVariables5_5 '=<:' 1}
>>>    end
>>>
>>>    % sexta restricción: Toda asignatura w no debe ser asignado despues
>>> de las 18:00 horas
>>>
>>>    for D in 1..1 do
>>>       SumVariables6_1=for M in 1..Salas  collect:Collect do
>>>              for W in 1..Asignaturas do
>>>                 for L in 6..7 do
>>>                    {Collect X.M.W.L}
>>>                 end
>>>              end
>>>               end
>>>       SumVariables6_2=for M in 1..Salas  collect:Collect do
>>>                for W in 1..Asignaturas do
>>>               for L in 13..14 do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>               end
>>>       SumVariables6_3=for M in 1..Salas  collect:Collect do
>>>                for W in 1..Asignaturas do
>>>               for L in 20..21 do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>               end
>>>       SumVariables6_4=for M in 1..Salas  collect:Collect do
>>>                for W in 1..Asignaturas do
>>>               for L in 27..28 do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>               end
>>>       SumVariables6_5=for M in 1..Salas  collect:Collect do
>>>                for W in 1..Asignaturas do
>>>               for L in 34..35 do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>             end
>>>    in
>>>       {FD.sum SumVariables6_1 '=<:' 0}
>>>       {FD.sum SumVariables6_2 '=<:' 0}
>>>       {FD.sum SumVariables6_3 '=<:' 0}
>>>       {FD.sum SumVariables6_4 '=<:' 0}
>>>       {FD.sum SumVariables6_5 '=<:' 0}
>>>    end
>>>
>>>    %septima restriccion: No deben existir mas de un bloque entre
>>> asignaturas w, en construccion
>>>
>>>    {FD.distribute ff Variables}
>>>
>>>    %{FD.distribute generic(value:max) Variables}
>>> end
>>>
>>> {ExploreOne Asignacion}
>>>
>>>
>>>
>>>> cheers
>>>> Boriss
>>>>
>>>> David López wrote:
>>>>> i run a script, and this mesages raise:
>>>>>
>>>>> Process *Oz Compiler* exited abnormally with code 256
>>>>>
>>>>> why?, hat can i do?
>>>>>
>>>>> _________________________________________________________________________________
>>>>>
>>>>>
>>>>> mozart-users mailing list                             
>>>>> mozart-users at mozart-oz.org
>>>>> http://www.mozart-oz.org/mailman/listinfo/mozart-users
>>>>>
>>> taking advantage of the opportunity, to know if there is some
>>> alternative to automate better this part of the code:
>>>
>>>   % 4° constraint
>>>
>>>    for L in 1..Periodos do
>>>       SumaVariables4_1=for M in 1..Salas collect:Collect do
>>>               for  W in 1..5  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_2=for M in 1..Salas collect:Collect do
>>>               for  W in 6..10  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_3=for M in 1..Salas collect:Collect do
>>>               for  W in 11..15  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_4=for M in 1..Salas collect:Collect do
>>>               for  W in 16..20  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_5=for M in 1..Salas collect:Collect do
>>>               for  W in 21..25  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_6=for M in 1..Salas collect:Collect do
>>>               for  W in 26..30  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_7=for M in 1..Salas collect:Collect do
>>>               for  W in 31..35  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_8=for M in 1..Salas collect:Collect do
>>>               for  W in 36..40  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_9=for M in 1..Salas collect:Collect do
>>>               for  W in 41..45  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_10=for M in 1..Salas collect:Collect do
>>>               for  W in 46..50  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_11=for M in 1..Salas collect:Collect do
>>>               for  W in 51..55  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_12=for M in 1..Salas collect:Collect do
>>>               for  W in 56..60  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_13=for M in 1..Salas collect:Collect do
>>>               for  W in 61..65  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_14=for M in 1..Salas collect:Collect do
>>>               for  W in 66..70  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_15=for M in 1..Salas collect:Collect do
>>>               for  W in 71..75  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_16=for M in 1..Salas collect:Collect do
>>>               for  W in 76..80  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_17=for M in 1..Salas collect:Collect do
>>>               for  W in 81..85  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_18=for M in 1..Salas collect:Collect do
>>>               for  W in 86..90  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_19=for M in 1..Salas collect:Collect do
>>>               for  W in 91..95  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_20=for M in 1..Salas collect:Collect do
>>>               for  W in 96..100  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_21=for M in 1..Salas collect:Collect do
>>>               for  W in 101..105  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>             end
>>>
>>>       SumaVariables4_22=for M in 1..Salas collect:Collect do
>>>               for  W in 106..110  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>             end
>>>
>>>       SumaVariables4_23=for M in 1..Salas collect:Collect do
>>>               for  W in 111..115  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>       SumaVariables4_24=for M in 1..Salas collect:Collect do
>>>               for  W in 116..120  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>             end
>>>
>>>       SumaVariables4_25=for M in 1..Salas collect:Collect do
>>>               for  W in 121..125  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>             end
>>>
>>>        SumaVariables4_26=for M in 1..Salas collect:Collect do
>>>               for  W in 126..130  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>              end
>>>
>>>        SumaVariables4_27=for M in 1..Salas collect:Collect do
>>>               for  W in 131..135  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>              end
>>>
>>>        SumaVariables4_28=for M in 1..Salas collect:Collect do
>>>               for  W in 136..140  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>              end
>>>
>>>        SumaVariables4_29=for M in 1..Salas collect:Collect do
>>>               for  W in 141..145  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>              end
>>>
>>>        SumaVariables4_30=for M in 1..Salas collect:Collect do
>>>               for  W in 146..150  do
>>>                  {Collect X.M.W.L}
>>>               end
>>>                end
>>>
>>>    in
>>>       {FD.sum SumaVariables4_1 '=<:' 1}
>>>       {FD.sum SumaVariables4_2 '=<:' 1}
>>>       {FD.sum SumaVariables4_3 '=<:' 1}
>>>       {FD.sum SumaVariables4_4 '=<:' 1}
>>>       {FD.sum SumaVariables4_5 '=<:' 1}
>>>       {FD.sum SumaVariables4_6 '=<:' 1}
>>>       {FD.sum SumaVariables4_7 '=<:' 1}
>>>       {FD.sum SumaVariables4_8 '=<:' 1}
>>>       {FD.sum SumaVariables4_9 '=<:' 1}
>>>       {FD.sum SumaVariables4_10 '=<:' 1}
>>>       {FD.sum SumaVariables4_11 '=<:' 1}
>>>       {FD.sum SumaVariables4_12 '=<:' 1}
>>>       {FD.sum SumaVariables4_13 '=<:' 1}
>>>       {FD.sum SumaVariables4_14 '=<:' 1}
>>>       {FD.sum SumaVariables4_15 '=<:' 1}
>>>       {FD.sum SumaVariables4_16 '=<:' 1}
>>>       {FD.sum SumaVariables4_17 '=<:' 1}
>>>       {FD.sum SumaVariables4_18 '=<:' 1}
>>>       {FD.sum SumaVariables4_19 '=<:' 1}
>>>       {FD.sum SumaVariables4_20 '=<:' 1}
>>>       {FD.sum SumaVariables4_21 '=<:' 1}
>>>       {FD.sum SumaVariables4_22 '=<:' 1}
>>>       {FD.sum SumaVariables4_23 '=<:' 1}
>>>       {FD.sum SumaVariables4_24 '=<:' 1}
>>>       {FD.sum SumaVariables4_25 '=<:' 1}
>>>       {FD.sum SumaVariables4_26 '=<:' 1}
>>>       {FD.sum SumaVariables4_27 '=<:' 1}
>>>       {FD.sum SumaVariables4_28 '=<:' 1}
>>>       {FD.sum SumaVariables4_29 '=<:' 1}
>>>       {FD.sum SumaVariables4_30 '=<:' 1}
>>>    end
>>>
>>>
>>>
>>> And if it is possible to remove or chance the results in a text file,
>>> since in the inspector it leaves to me very difficult to
>>> include/understand.
>>>
>>>
>>> thank very much for you answer.
>>>
>>> _________________________________________________________________________________
>>>
>>> mozart-users mailing list                              
>>> mozart-users at mozart-oz.org
>>> http://www.mozart-oz.org/mailman/listinfo/mozart-users
>>>
> 

-------------- next part --------------
declare

Salas=12
Asignaturas=150
Periodos=35

proc{Asignacion X}
   Variables in
   
   X={MakeTuple salas Salas}
   for M in 1..Salas do
      X.M={MakeTuple asignaturas Asignaturas}
      for W in 1..Asignaturas do
	 X.M.W={FD.tuple periodos Periodos 0#1}
      end
   end
   
   Variables = for M in 1..Salas   collect:Collect do
		  for W in 1..Asignaturas do
		     for L in 1..Periodos do
			{Collect X.M.W.L}
		     end
		  end
	       end

   % primera restricción: Toda sala m debe ser asignada a lo mas a una asignatura w en el periodo l
   for M in 1..Salas do
      for L in 1..Periodos do
	 SumVariables=for  W in 1..Asignaturas collect:Collect do
		    {Collect X.M.W.L}
		 end
      in
	 {FD.sum SumVariables '=<:' 1}
      end
   end

   % segunda restricción: Toda asignatura w tiene tw periodos a la semana
   for W in 1..Asignaturas do
      SumVariables2=for L in 1..Periodos collect:Collect do
		       for  M in 1..Salas do
			  {Collect X.M.W.L}
		       end
		    end
   in
      {FD.sum SumVariables2 '=:' 2}
   end
   
   % tercera restricción: Toda asignatura w debe ser asignada a lo mas a una sala m en el periodo l
   for W in 1..Asignaturas do
      for L in 1..Periodos do
	 SumVariables3=for  M in 1..Salas collect:Collect do
		     {Collect X.M.W.L}
		  end
      in
	 {FD.sum SumVariables3 '=<:' 1}
      end
   end

   % cuarta restricción: la asignacion de las asignaturas w de un mismo semestre j no deben coincidir en el mismo periodo l
   for L in 1..Periodos do
      SumaVariables4_1=for M in 1..Salas collect:Collect do
			  for  W in 1..5  do
			     {Collect X.M.W.L}
			  end
		       end
      
      SumaVariables4_2=for M in 1..Salas collect:Collect do
			  for  W in 6..10  do
			     {Collect X.M.W.L}
			  end
		       end
      
      SumaVariables4_3=for M in 1..Salas collect:Collect do
			  for  W in 11..15  do
			     {Collect X.M.W.L}
			  end
		       end

      SumaVariables4_4=for M in 1..Salas collect:Collect do
			  for  W in 16..20  do
			     {Collect X.M.W.L}
			  end
		       end

      SumaVariables4_5=for M in 1..Salas collect:Collect do
			  for  W in 21..25  do
			     {Collect X.M.W.L}
			  end
		       end

      SumaVariables4_6=for M in 1..Salas collect:Collect do
			  for  W in 26..30  do
			     {Collect X.M.W.L}
			  end
		       end

      SumaVariables4_7=for M in 1..Salas collect:Collect do
			  for  W in 31..35  do
			     {Collect X.M.W.L}
			  end
		       end

      SumaVariables4_8=for M in 1..Salas collect:Collect do
			  for  W in 36..40  do
			     {Collect X.M.W.L}
			  end
		       end

      SumaVariables4_9=for M in 1..Salas collect:Collect do
			  for  W in 41..45  do
			     {Collect X.M.W.L}
			  end
		       end
      
      SumaVariables4_10=for M in 1..Salas collect:Collect do
			  for  W in 46..50  do
			     {Collect X.M.W.L}
			  end
		       end

      SumaVariables4_11=for M in 1..Salas collect:Collect do
			  for  W in 51..55  do
			     {Collect X.M.W.L}
			  end
		       end

      SumaVariables4_12=for M in 1..Salas collect:Collect do
			  for  W in 56..60  do
			     {Collect X.M.W.L}
			  end
		       end

      SumaVariables4_13=for M in 1..Salas collect:Collect do
			  for  W in 61..65  do
			     {Collect X.M.W.L}
			  end
		       end

      SumaVariables4_14=for M in 1..Salas collect:Collect do
			  for  W in 66..70  do
			     {Collect X.M.W.L}
			  end
		       end

      SumaVariables4_15=for M in 1..Salas collect:Collect do
			  for  W in 71..75  do
			     {Collect X.M.W.L}
			  end
		       end

      SumaVariables4_16=for M in 1..Salas collect:Collect do
			  for  W in 76..80  do
			     {Collect X.M.W.L}
			  end
		       end

      SumaVariables4_17=for M in 1..Salas collect:Collect do
			  for  W in 81..85  do
			     {Collect X.M.W.L}
			  end
		       end

      SumaVariables4_18=for M in 1..Salas collect:Collect do
			  for  W in 86..90  do
			     {Collect X.M.W.L}
			  end
		       end

      SumaVariables4_19=for M in 1..Salas collect:Collect do
			  for  W in 91..95  do
			     {Collect X.M.W.L}
			  end
		       end

      SumaVariables4_20=for M in 1..Salas collect:Collect do
			  for  W in 96..100  do
			     {Collect X.M.W.L}
			  end
		       end

      SumaVariables4_21=for M in 1..Salas collect:Collect do
			  for  W in 101..105  do
			     {Collect X.M.W.L}
			  end
			end

      SumaVariables4_22=for M in 1..Salas collect:Collect do
			  for  W in 106..110  do
			     {Collect X.M.W.L}
			  end
			end

      SumaVariables4_23=for M in 1..Salas collect:Collect do
			  for  W in 111..115  do
			     {Collect X.M.W.L}
			  end
		       end

      SumaVariables4_24=for M in 1..Salas collect:Collect do
			  for  W in 116..120  do
			     {Collect X.M.W.L}
			  end
			end

      SumaVariables4_25=for M in 1..Salas collect:Collect do
			  for  W in 121..125  do
			     {Collect X.M.W.L}
			  end
			end

       SumaVariables4_26=for M in 1..Salas collect:Collect do
			  for  W in 126..130  do
			     {Collect X.M.W.L}
			  end
			 end

       SumaVariables4_27=for M in 1..Salas collect:Collect do
			  for  W in 131..135  do
			     {Collect X.M.W.L}
			  end
			 end

       SumaVariables4_28=for M in 1..Salas collect:Collect do
			  for  W in 136..140  do
			     {Collect X.M.W.L}
			  end
			 end

       SumaVariables4_29=for M in 1..Salas collect:Collect do
			  for  W in 141..145  do
			     {Collect X.M.W.L}
			  end
			 end

       SumaVariables4_30=for M in 1..Salas collect:Collect do
			  for  W in 146..150  do
			     {Collect X.M.W.L}
			  end
		       end
      
   in
      {FD.sum SumaVariables4_1 '=<:' 1}
      {FD.sum SumaVariables4_2 '=<:' 1}
      {FD.sum SumaVariables4_3 '=<:' 1}
      {FD.sum SumaVariables4_4 '=<:' 1}
      {FD.sum SumaVariables4_5 '=<:' 1}
      {FD.sum SumaVariables4_6 '=<:' 1}
      {FD.sum SumaVariables4_7 '=<:' 1}
      {FD.sum SumaVariables4_8 '=<:' 1}
      {FD.sum SumaVariables4_9 '=<:' 1}
      {FD.sum SumaVariables4_10 '=<:' 1}
      {FD.sum SumaVariables4_11 '=<:' 1}
      {FD.sum SumaVariables4_12 '=<:' 1}
      {FD.sum SumaVariables4_13 '=<:' 1}
      {FD.sum SumaVariables4_14 '=<:' 1}
      {FD.sum SumaVariables4_15 '=<:' 1}
      {FD.sum SumaVariables4_16 '=<:' 1}
      {FD.sum SumaVariables4_17 '=<:' 1}
      {FD.sum SumaVariables4_18 '=<:' 1}
      {FD.sum SumaVariables4_19 '=<:' 1}
      {FD.sum SumaVariables4_20 '=<:' 1}
      {FD.sum SumaVariables4_21 '=<:' 1}
      {FD.sum SumaVariables4_22 '=<:' 1}
      {FD.sum SumaVariables4_23 '=<:' 1}
      {FD.sum SumaVariables4_24 '=<:' 1}
      {FD.sum SumaVariables4_25 '=<:' 1}
      {FD.sum SumaVariables4_26 '=<:' 1}
      {FD.sum SumaVariables4_27 '=<:' 1}
      {FD.sum SumaVariables4_28 '=<:' 1}
      {FD.sum SumaVariables4_29 '=<:' 1}
      {FD.sum SumaVariables4_30 '=<:' 1}
   end

   

   % quinta restricción: Toda asignatura w no debe tener asignados dos periodos en un mismo dia
   for W in 1..Asignaturas do
      SumVariables5_1=for L in 1..7 collect:Collect do
		    for  M in 1..Salas do
		       {Collect X.M.W.L}
		    end
		 end
      SumVariables5_2=for L in 8..14 collect:Collect do
		    for  M in 1..Salas do
		       {Collect X.M.W.L}
		    end
		 end
      SumVariables5_3=for L in 15..21 collect:Collect do
		    for  M in 1..Salas do
		       {Collect X.M.W.L}
		    end
		 end
      SumVariables5_4=for L in 22..28 collect:Collect do
		    for  M in 1..Salas do
		       {Collect X.M.W.L}
		    end
		 end
      SumVariables5_5=for L in 29..35 collect:Collect do
		    for  M in 1..Salas do
		       {Collect X.M.W.L}
		    end
		 end
   in
      {FD.sum SumVariables5_1 '=<:' 1}
      {FD.sum SumVariables5_2 '=<:' 1}
      {FD.sum SumVariables5_3 '=<:' 1}
      {FD.sum SumVariables5_4 '=<:' 1}
      {FD.sum SumVariables5_5 '=<:' 1}
   end
   
   % sexta restricción: Toda asignatura w no debe ser asignado despues de las 18:00 horas
   for D in 1..1 do
      SumVariables6_1=for M in 1..Salas  collect:Collect do
			 for W in 1..Asignaturas do
			    for L in 6..7 do
			       {Collect X.M.W.L}
			    end
			 end
		      end
      SumVariables6_2=for M in 1..Salas  collect:Collect do
		       for W in 1..Asignaturas do
			  for L in 13..14 do
			     {Collect X.M.W.L}
			  end
		       end
		      end
      SumVariables6_3=for M in 1..Salas  collect:Collect do
		       for W in 1..Asignaturas do
			  for L in 20..21 do
			     {Collect X.M.W.L}
			  end
		       end
		      end
      SumVariables6_4=for M in 1..Salas  collect:Collect do
		       for W in 1..Asignaturas do
			  for L in 27..28 do
			     {Collect X.M.W.L}
			  end
		       end
		      end
      SumVariables6_5=for M in 1..Salas  collect:Collect do
		       for W in 1..Asignaturas do
			  for L in 34..35 do
			     {Collect X.M.W.L}
			  end
		       end
		    end
   in
      {FD.sum SumVariables6_1 '=<:' 0}
      {FD.sum SumVariables6_2 '=<:' 0}
      {FD.sum SumVariables6_3 '=<:' 0}
      {FD.sum SumVariables6_4 '=<:' 0}
      {FD.sum SumVariables6_5 '=<:' 0}
   end

   %septima restriccion: No deben existir mas de un bloque entre asignaturas w

   % semestre 1
   for E in 1..1 do
      SumaVariables7_1_1=for M in 1..Salas collect:Collect do
			    for  W in 1..5  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_1_2=for M in 1..Salas collect:Collect do
			    for  W in 1..5  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_1_3=for M in 1..Salas collect:Collect do
			    for  W in 1..5  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_1_4=for M in 1..Salas collect:Collect do
			    for  W in 1..5  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_1_5=for M in 1..Salas collect:Collect do
			    for  W in 1..5  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_1_6=for M in 1..Salas collect:Collect do
			    for  W in 1..5  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_1_7=for M in 1..Salas collect:Collect do
			    for  W in 1..5  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_1_8=for M in 1..Salas collect:Collect do
			    for  W in 1..5  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_1_9=for M in 1..Salas collect:Collect do
			    for  W in 1..5  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_1_10=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_1_11=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_1_12=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_1_13=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_1_14=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_1_15=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_1_16=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_1_17=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_1_18=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_1_19=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_1_20=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_1_21=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_1_22=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_1_23=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_1_24=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_1_25=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_1_26=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_1_27=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_1_28=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_1_29=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_1_30=for M in 1..Salas collect:Collect do
			     for  W in 1..5  do
				{Collect X.M.W.33}
			     end
			  end
      % semestre 2
      SumaVariables7_2_1=for M in 1..Salas collect:Collect do
			    for  W in 6..10  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_2_2=for M in 1..Salas collect:Collect do
			    for  W in 6..10  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_2_3=for M in 1..Salas collect:Collect do
			    for  W in 6..10  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_2_4=for M in 1..Salas collect:Collect do
			    for  W in 6..10  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_2_5=for M in 1..Salas collect:Collect do
			    for  W in 6..10  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_2_6=for M in 1..Salas collect:Collect do
			    for  W in 6..10  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_2_7=for M in 1..Salas collect:Collect do
			    for  W in 6..10  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_2_8=for M in 1..Salas collect:Collect do
			    for  W in 6..10  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_2_9=for M in 1..Salas collect:Collect do
			    for  W in 6..10  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_2_10=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_2_11=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_2_12=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_2_13=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_2_14=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_2_15=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_2_16=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_2_17=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_2_18=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_2_19=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_2_20=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_2_21=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_2_22=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_2_23=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_2_24=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_2_25=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_2_26=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_2_27=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_2_28=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_2_29=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_2_30=for M in 1..Salas collect:Collect do
			     for  W in 6..10  do
				{Collect X.M.W.33}
			     end
			  end

      % semestre 3
      SumaVariables7_3_1=for M in 1..Salas collect:Collect do
			    for  W in 11..15  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_3_2=for M in 1..Salas collect:Collect do
			    for  W in 11..15  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_3_3=for M in 1..Salas collect:Collect do
			    for  W in 11..15  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_3_4=for M in 1..Salas collect:Collect do
			    for  W in 11..15  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_3_5=for M in 1..Salas collect:Collect do
			    for  W in 11..15  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_3_6=for M in 1..Salas collect:Collect do
			    for  W in 11..15  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_3_7=for M in 1..Salas collect:Collect do
			    for  W in 11..15  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_3_8=for M in 1..Salas collect:Collect do
			    for  W in 11..15  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_3_9=for M in 1..Salas collect:Collect do
			    for  W in 11..15  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_3_10=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_3_11=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_3_12=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_3_13=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_3_14=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_3_15=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_3_16=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_3_17=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_3_18=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_3_19=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_3_20=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_3_21=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_3_22=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_3_23=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_3_24=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_3_25=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_3_26=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_3_27=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_3_28=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_3_29=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_3_30=for M in 1..Salas collect:Collect do
			     for  W in 11..15  do
				{Collect X.M.W.33}
			     end
			  end

      
      % semestre 4
      SumaVariables7_4_1=for M in 1..Salas collect:Collect do
			    for  W in 16..20  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_4_2=for M in 1..Salas collect:Collect do
			    for  W in 16..20  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_4_3=for M in 1..Salas collect:Collect do
			    for  W in 16..20  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_4_4=for M in 1..Salas collect:Collect do
			    for  W in 16..20  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_4_5=for M in 1..Salas collect:Collect do
			    for  W in 16..20  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_4_6=for M in 1..Salas collect:Collect do
			    for  W in 16..20  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_4_7=for M in 1..Salas collect:Collect do
			    for  W in 16..20  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_4_8=for M in 1..Salas collect:Collect do
			    for  W in 16..20  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_4_9=for M in 1..Salas collect:Collect do
			    for  W in 16..20  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_4_10=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_4_11=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_4_12=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_4_13=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_4_14=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_4_15=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_4_16=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_4_17=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_4_18=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_4_19=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_4_20=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_4_21=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_4_22=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_4_23=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_4_24=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_4_25=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_4_26=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_4_27=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_4_28=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_4_29=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_4_30=for M in 1..Salas collect:Collect do
			     for  W in 16..20  do
				{Collect X.M.W.33}
			     end
			  end

      
      
      % semestre 5
      SumaVariables7_5_1=for M in 1..Salas collect:Collect do
			    for  W in 21..25  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_5_2=for M in 1..Salas collect:Collect do
			    for  W in 21..25  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_5_3=for M in 1..Salas collect:Collect do
			    for  W in 21..25  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_5_4=for M in 1..Salas collect:Collect do
			    for  W in 21..25  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_5_5=for M in 1..Salas collect:Collect do
			    for  W in 21..25  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_5_6=for M in 1..Salas collect:Collect do
			    for  W in 21..25  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_5_7=for M in 1..Salas collect:Collect do
			    for  W in 21..25  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_5_8=for M in 1..Salas collect:Collect do
			    for  W in 21..25  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_5_9=for M in 1..Salas collect:Collect do
			    for  W in 21..25  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_5_10=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_5_11=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_5_12=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_5_13=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_5_14=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_5_15=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_5_16=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_5_17=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_5_18=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_5_19=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_5_20=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_5_21=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_5_22=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_5_23=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_5_24=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_5_25=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_5_26=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_5_27=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_5_28=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_5_29=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_5_30=for M in 1..Salas collect:Collect do
			     for  W in 21..25  do
				{Collect X.M.W.33}
			     end
			  end

         
      % semestre 6
      SumaVariables7_6_1=for M in 1..Salas collect:Collect do
			    for  W in 26..30  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_6_2=for M in 1..Salas collect:Collect do
			    for  W in 26..30  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_6_3=for M in 1..Salas collect:Collect do
			    for  W in 26..30  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_6_4=for M in 1..Salas collect:Collect do
			    for  W in 26..30  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_6_5=for M in 1..Salas collect:Collect do
			    for  W in 26..30  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_6_6=for M in 1..Salas collect:Collect do
			    for  W in 26..30  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_6_7=for M in 1..Salas collect:Collect do
			    for  W in 26..30  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_6_8=for M in 1..Salas collect:Collect do
			    for  W in 26..30  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_6_9=for M in 1..Salas collect:Collect do
			    for  W in 26..30  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_6_10=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_6_11=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_6_12=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_6_13=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_6_14=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_6_15=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_6_16=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_6_17=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_6_18=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_6_19=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_6_20=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_6_21=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_6_22=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_6_23=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_6_24=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_6_25=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_6_26=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_6_27=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_6_28=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_6_29=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_6_30=for M in 1..Salas collect:Collect do
			     for  W in 26..30  do
				{Collect X.M.W.33}
			     end
			  end

 
      
      % semestre 7
      SumaVariables7_7_1=for M in 1..Salas collect:Collect do
			    for  W in 31..35  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_7_2=for M in 1..Salas collect:Collect do
			    for  W in 31..35  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_7_3=for M in 1..Salas collect:Collect do
			    for  W in 31..35  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_7_4=for M in 1..Salas collect:Collect do
			    for  W in 31..35  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_7_5=for M in 1..Salas collect:Collect do
			    for  W in 31..35  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_7_6=for M in 1..Salas collect:Collect do
			    for  W in 31..35  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_7_7=for M in 1..Salas collect:Collect do
			    for  W in 31..35  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_7_8=for M in 1..Salas collect:Collect do
			    for  W in 31..35  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_7_9=for M in 1..Salas collect:Collect do
			    for  W in 31..35  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_7_10=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_7_11=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_7_12=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_7_13=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_7_14=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_7_15=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_7_16=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_7_17=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_7_18=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_7_19=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_7_20=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_7_21=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_7_22=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_7_23=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_7_24=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_7_25=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_7_26=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_7_27=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_7_28=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_7_29=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_7_30=for M in 1..Salas collect:Collect do
			     for  W in 31..35  do
				{Collect X.M.W.33}
			     end
			  end

 
      
      % semestre 8
      SumaVariables7_8_1=for M in 1..Salas collect:Collect do
			    for  W in 36..40  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_8_2=for M in 1..Salas collect:Collect do
			    for  W in 36..40  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_8_3=for M in 1..Salas collect:Collect do
			    for  W in 36..40  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_8_4=for M in 1..Salas collect:Collect do
			    for  W in 36..40  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_8_5=for M in 1..Salas collect:Collect do
			    for  W in 36..40  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_8_6=for M in 1..Salas collect:Collect do
			    for  W in 36..40  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_8_7=for M in 1..Salas collect:Collect do
			    for  W in 36..40  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_8_8=for M in 1..Salas collect:Collect do
			    for  W in 36..40  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_8_9=for M in 1..Salas collect:Collect do
			    for  W in 36..40  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_8_10=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_8_11=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_8_12=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_8_13=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_8_14=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_8_15=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_8_16=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_8_17=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_8_18=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_8_19=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_8_20=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_8_21=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_8_22=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_8_23=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_8_24=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_8_25=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_8_26=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_8_27=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_8_28=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_8_29=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_8_30=for M in 1..Salas collect:Collect do
			     for  W in 36..40  do
				{Collect X.M.W.33}
			     end
			  end

 
      
      % semestre 9
      SumaVariables7_9_1=for M in 1..Salas collect:Collect do
			    for  W in 41..45  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_9_2=for M in 1..Salas collect:Collect do
			    for  W in 41..45  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_9_3=for M in 1..Salas collect:Collect do
			    for  W in 41..45  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_9_4=for M in 1..Salas collect:Collect do
			    for  W in 41..45  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_9_5=for M in 1..Salas collect:Collect do
			    for  W in 41..45  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_9_6=for M in 1..Salas collect:Collect do
			    for  W in 41..45  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_9_7=for M in 1..Salas collect:Collect do
			    for  W in 41..45  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_9_8=for M in 1..Salas collect:Collect do
			    for  W in 41..45  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_9_9=for M in 1..Salas collect:Collect do
			    for  W in 41..45  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_9_10=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_9_11=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_9_12=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_9_13=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_9_14=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_9_15=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_9_16=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_9_17=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_9_18=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_9_19=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_9_20=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_9_21=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_9_22=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_9_23=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_9_24=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_9_25=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_9_26=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_9_27=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_9_28=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_9_29=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_9_30=for M in 1..Salas collect:Collect do
			     for  W in 41..45  do
				{Collect X.M.W.33}
			     end
			  end

 
      
      % semestre 10
      SumaVariables7_10_1=for M in 1..Salas collect:Collect do
			    for  W in 46..50  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_10_2=for M in 1..Salas collect:Collect do
			    for  W in 46..50  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_10_3=for M in 1..Salas collect:Collect do
			    for  W in 46..50  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_10_4=for M in 1..Salas collect:Collect do
			    for  W in 46..50  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_10_5=for M in 1..Salas collect:Collect do
			    for  W in 46..50  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_10_6=for M in 1..Salas collect:Collect do
			    for  W in 46..50  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_10_7=for M in 1..Salas collect:Collect do
			    for  W in 46..50  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_10_8=for M in 1..Salas collect:Collect do
			    for  W in 46..50  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_10_9=for M in 1..Salas collect:Collect do
			    for  W in 46..50  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_10_10=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_10_11=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_10_12=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_10_13=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_10_14=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_10_15=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_10_16=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_10_17=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_10_18=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_10_19=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_10_20=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_10_21=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_10_22=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_10_23=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_10_24=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_10_25=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_10_26=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_10_27=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_10_28=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_10_29=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_10_30=for M in 1..Salas collect:Collect do
			     for  W in 46..50  do
				{Collect X.M.W.33}
			     end
			   end

 
      
      % semestre 11
      SumaVariables7_11_1=for M in 1..Salas collect:Collect do
			    for  W in 51..55  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_11_2=for M in 1..Salas collect:Collect do
			    for  W in 51..55  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_11_3=for M in 1..Salas collect:Collect do
			    for  W in 51..55  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_11_4=for M in 1..Salas collect:Collect do
			    for  W in 51..55  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_11_5=for M in 1..Salas collect:Collect do
			    for  W in 51..55  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_11_6=for M in 1..Salas collect:Collect do
			    for  W in 51..55  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_11_7=for M in 1..Salas collect:Collect do
			    for  W in 51..55  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_11_8=for M in 1..Salas collect:Collect do
			    for  W in 51..55  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_11_9=for M in 1..Salas collect:Collect do
			    for  W in 51..55  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_11_10=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_11_11=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_11_12=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_11_13=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_11_14=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_11_15=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_11_16=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_11_17=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_11_18=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_11_19=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_11_20=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_11_21=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_11_22=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_11_23=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_11_24=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_11_25=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_11_26=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_11_27=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_11_28=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_11_29=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_11_30=for M in 1..Salas collect:Collect do
			     for  W in 51..55  do
				{Collect X.M.W.33}
			     end
			   end

 
      
      % semestre 12
      SumaVariables7_12_1=for M in 1..Salas collect:Collect do
			    for  W in 56..60  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_12_2=for M in 1..Salas collect:Collect do
			    for  W in 56..60  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_12_3=for M in 1..Salas collect:Collect do
			    for  W in 56..60  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_12_4=for M in 1..Salas collect:Collect do
			    for  W in 56..60  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_12_5=for M in 1..Salas collect:Collect do
			    for  W in 56..60  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_12_6=for M in 1..Salas collect:Collect do
			    for  W in 56..60  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_12_7=for M in 1..Salas collect:Collect do
			    for  W in 56..60  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_12_8=for M in 1..Salas collect:Collect do
			    for  W in 56..60  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_12_9=for M in 1..Salas collect:Collect do
			    for  W in 56..60  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_12_10=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_12_11=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_12_12=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_12_13=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_12_14=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_12_15=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_12_16=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_12_17=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_12_18=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_12_19=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_12_20=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_12_21=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_12_22=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_12_23=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_12_24=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_12_25=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_12_26=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_12_27=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_12_28=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_12_29=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_12_30=for M in 1..Salas collect:Collect do
			     for  W in 56..60  do
				{Collect X.M.W.33}
			     end
			   end

 
      
      % semestre 13
      SumaVariables7_13_1=for M in 1..Salas collect:Collect do
			    for  W in 61..65  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_13_2=for M in 1..Salas collect:Collect do
			    for  W in 61..65  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_13_3=for M in 1..Salas collect:Collect do
			    for  W in 61..65  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_13_4=for M in 1..Salas collect:Collect do
			    for  W in 61..65  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_13_5=for M in 1..Salas collect:Collect do
			    for  W in 61..65  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_13_6=for M in 1..Salas collect:Collect do
			    for  W in 61..65  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_13_7=for M in 1..Salas collect:Collect do
			    for  W in 61..65  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_13_8=for M in 1..Salas collect:Collect do
			    for  W in 61..65  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_13_9=for M in 1..Salas collect:Collect do
			    for  W in 61..65  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_13_10=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_13_11=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_13_12=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_13_13=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_13_14=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_13_15=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_13_16=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_13_17=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_13_18=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_13_19=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_13_20=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_13_21=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_13_22=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_13_23=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_13_24=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_13_25=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_13_26=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_13_27=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_13_28=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_13_29=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_13_30=for M in 1..Salas collect:Collect do
			     for  W in 61..65  do
				{Collect X.M.W.33}
			     end
			   end

 
      
      % semestre 14
      SumaVariables7_14_1=for M in 1..Salas collect:Collect do
			    for  W in 66..70  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_14_2=for M in 1..Salas collect:Collect do
			    for  W in 66..70  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_14_3=for M in 1..Salas collect:Collect do
			    for  W in 66..70  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_14_4=for M in 1..Salas collect:Collect do
			    for  W in 66..70  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_14_5=for M in 1..Salas collect:Collect do
			    for  W in 66..70  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_14_6=for M in 1..Salas collect:Collect do
			    for  W in 66..70  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_14_7=for M in 1..Salas collect:Collect do
			    for  W in 66..70  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_14_8=for M in 1..Salas collect:Collect do
			    for  W in 66..70  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_14_9=for M in 1..Salas collect:Collect do
			    for  W in 66..70  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_14_10=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_14_11=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_14_12=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_14_13=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_14_14=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_14_15=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_14_16=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_14_17=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_14_18=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_14_19=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_14_20=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_14_21=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_14_22=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_14_23=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_14_24=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_14_25=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_14_26=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_14_27=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_14_28=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_14_29=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_14_30=for M in 1..Salas collect:Collect do
			     for  W in 66..70  do
				{Collect X.M.W.33}
			     end
			   end

 
      
      % semestre 15
      SumaVariables7_15_1=for M in 1..Salas collect:Collect do
			    for  W in 71..75  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_15_2=for M in 1..Salas collect:Collect do
			    for  W in 71..75  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_15_3=for M in 1..Salas collect:Collect do
			    for  W in 71..75  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_15_4=for M in 1..Salas collect:Collect do
			    for  W in 71..75  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_15_5=for M in 1..Salas collect:Collect do
			    for  W in 71..75  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_15_6=for M in 1..Salas collect:Collect do
			    for  W in 71..75  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_15_7=for M in 1..Salas collect:Collect do
			    for  W in 71..75  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_15_8=for M in 1..Salas collect:Collect do
			    for  W in 71..75  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_15_9=for M in 1..Salas collect:Collect do
			    for  W in 71..75  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_15_10=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_15_11=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_15_12=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_15_13=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_15_14=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_15_15=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_15_16=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_15_17=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_15_18=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_15_19=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_15_20=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_15_21=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_15_22=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_15_23=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_15_24=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_15_25=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_15_26=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_15_27=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_15_28=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_15_29=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_15_30=for M in 1..Salas collect:Collect do
			     for  W in 71..75  do
				{Collect X.M.W.33}
			     end
			   end

 
      
      % semestre 16
      SumaVariables7_16_1=for M in 1..Salas collect:Collect do
			    for  W in 76..80  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_16_2=for M in 1..Salas collect:Collect do
			    for  W in 76..80  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_16_3=for M in 1..Salas collect:Collect do
			    for  W in 76..80  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_16_4=for M in 1..Salas collect:Collect do
			    for  W in 76..80  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_16_5=for M in 1..Salas collect:Collect do
			    for  W in 76..80  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_16_6=for M in 1..Salas collect:Collect do
			    for  W in 76..80  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_16_7=for M in 1..Salas collect:Collect do
			    for  W in 76..80  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_16_8=for M in 1..Salas collect:Collect do
			    for  W in 76..80  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_16_9=for M in 1..Salas collect:Collect do
			    for  W in 76..80  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_16_10=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_16_11=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_16_12=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_16_13=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_16_14=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_16_15=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_16_16=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_16_17=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_16_18=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_16_19=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_16_20=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_16_21=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_16_22=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_16_23=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_16_24=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_16_25=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_16_26=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_16_27=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_16_28=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_16_29=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_16_30=for M in 1..Salas collect:Collect do
			     for  W in 76..80  do
				{Collect X.M.W.33}
			     end
			  end

 
      
      % semestre 17
      SumaVariables7_17_1=for M in 1..Salas collect:Collect do
			    for  W in 81..85  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_17_2=for M in 1..Salas collect:Collect do
			    for  W in 81..85  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_17_3=for M in 1..Salas collect:Collect do
			    for  W in 81..85  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_17_4=for M in 1..Salas collect:Collect do
			    for  W in 81..85  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_17_5=for M in 1..Salas collect:Collect do
			    for  W in 81..85  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_17_6=for M in 1..Salas collect:Collect do
			    for  W in 81..85  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_17_7=for M in 1..Salas collect:Collect do
			    for  W in 81..85  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_17_8=for M in 1..Salas collect:Collect do
			    for  W in 81..85  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_17_9=for M in 1..Salas collect:Collect do
			    for  W in 81..85  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_17_10=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_17_11=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_17_12=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_17_13=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_17_14=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_17_15=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_17_16=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_17_17=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_17_18=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_17_19=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_17_20=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_17_21=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_17_22=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_17_23=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_17_24=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_17_25=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_17_26=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_17_27=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_17_28=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_17_29=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_17_30=for M in 1..Salas collect:Collect do
			     for  W in 81..85  do
				{Collect X.M.W.33}
			     end
			   end

 
      
      % semestre 18
      SumaVariables7_18_1=for M in 1..Salas collect:Collect do
			    for  W in 86..90  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_18_2=for M in 1..Salas collect:Collect do
			    for  W in 86..90  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_18_3=for M in 1..Salas collect:Collect do
			    for  W in 86..90  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_18_4=for M in 1..Salas collect:Collect do
			    for  W in 86..90  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_18_5=for M in 1..Salas collect:Collect do
			    for  W in 86..90  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_18_6=for M in 1..Salas collect:Collect do
			    for  W in 86..90  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_18_7=for M in 1..Salas collect:Collect do
			    for  W in 86..90  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_18_8=for M in 1..Salas collect:Collect do
			    for  W in 86..90  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_18_9=for M in 1..Salas collect:Collect do
			    for  W in 86..90  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_18_10=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_18_11=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_18_12=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_18_13=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_18_14=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_18_15=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_18_16=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_18_17=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_18_18=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_18_19=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_18_20=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_18_21=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_18_22=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_18_23=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_18_24=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_18_25=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_18_26=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_18_27=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_18_28=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_18_29=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_18_30=for M in 1..Salas collect:Collect do
			     for  W in 86..90  do
				{Collect X.M.W.33}
			     end
			   end

 
      
      % semestre 19
      SumaVariables7_19_1=for M in 1..Salas collect:Collect do
			    for  W in 91..95  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_19_2=for M in 1..Salas collect:Collect do
			    for  W in 91..95  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_19_3=for M in 1..Salas collect:Collect do
			    for  W in 91..95  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_19_4=for M in 1..Salas collect:Collect do
			    for  W in 91..95  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_19_5=for M in 1..Salas collect:Collect do
			    for  W in 91..95  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_19_6=for M in 1..Salas collect:Collect do
			    for  W in 91..95  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_19_7=for M in 1..Salas collect:Collect do
			    for  W in 91..95  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_19_8=for M in 1..Salas collect:Collect do
			    for  W in 91..95  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_19_9=for M in 1..Salas collect:Collect do
			    for  W in 91..95  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_19_10=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_19_11=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_19_12=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_19_13=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_19_14=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_19_15=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_19_16=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_19_17=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_19_18=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_19_19=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_19_20=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_19_21=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_19_22=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_19_23=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_19_24=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_19_25=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_19_26=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_19_27=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_19_28=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_19_29=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_19_30=for M in 1..Salas collect:Collect do
			     for  W in 91..95  do
				{Collect X.M.W.33}
			     end
			   end

 
      
      % semestre 20
      SumaVariables7_20_1=for M in 1..Salas collect:Collect do
			    for  W in 96..100  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_20_2=for M in 1..Salas collect:Collect do
			    for  W in 96..100  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_20_3=for M in 1..Salas collect:Collect do
			    for  W in 96..100  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_20_4=for M in 1..Salas collect:Collect do
			    for  W in 96..100  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_20_5=for M in 1..Salas collect:Collect do
			    for  W in 96..100  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_20_6=for M in 1..Salas collect:Collect do
			    for  W in 96..100  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_20_7=for M in 1..Salas collect:Collect do
			    for  W in 96..100  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_20_8=for M in 1..Salas collect:Collect do
			    for  W in 96..100  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_20_9=for M in 1..Salas collect:Collect do
			    for  W in 96..100  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_20_10=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_20_11=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_20_12=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_20_13=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_20_14=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_20_15=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_20_16=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_20_17=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_20_18=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_20_19=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_20_20=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_20_21=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_20_22=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_20_23=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_20_24=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_20_25=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_20_26=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_20_27=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_20_28=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.33}
			     end
			  end
      SumaVariables7_20_29=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.30}
			     end
			  end
      SumaVariables7_20_30=for M in 1..Salas collect:Collect do
			     for  W in 96..100  do
				{Collect X.M.W.33}
			     end
			  end

 
      
      % semestre 21
      SumaVariables7_21_1=for M in 1..Salas collect:Collect do
			    for  W in 101..105  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_21_2=for M in 1..Salas collect:Collect do
			    for  W in 101..105  do
			       {Collect X.M.W.4}
			    end
			 end
      SumaVariables7_21_3=for M in 1..Salas collect:Collect do
			    for  W in 101..105  do
			       {Collect X.M.W.1}
			    end
			 end
      SumaVariables7_21_4=for M in 1..Salas collect:Collect do
			    for  W in 101..105  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_21_5=for M in 1..Salas collect:Collect do
			    for  W in 101..105  do
			       {Collect X.M.W.2}
			    end
			 end
      SumaVariables7_21_6=for M in 1..Salas collect:Collect do
			    for  W in 101..105  do
			       {Collect X.M.W.5}
			    end
			 end
      SumaVariables7_21_7=for M in 1..Salas collect:Collect do
			    for  W in 101..105  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_21_8=for M in 1..Salas collect:Collect do
			    for  W in 101..105  do
			       {Collect X.M.W.11}
			    end
			 end
      SumaVariables7_21_9=for M in 1..Salas collect:Collect do
			    for  W in 101..105  do
			       {Collect X.M.W.8}
			    end
			 end
      SumaVariables7_21_10=for M in 1..Salas collect:Collect do
			     for  W in 101..105  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_21_11=for M in 1..Salas collect:Collect do
			     for  W in 101..105  do
				{Collect X.M.W.9}
			     end
			  end
      SumaVariables7_21_12=for M in 1..Salas collect:Collect do
			     for  W in 101..105  do
				{Collect X.M.W.12}
			     end
			  end
      SumaVariables7_21_13=for M in 1..Salas collect:Collect do
			     for  W in 101..105  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_21_14=for M in 1..Salas collect:Collect do
			     for  W in 101..105  do
				{Collect X.M.W.18}
			     end
			  end
      SumaVariables7_21_15=for M in 1..Salas collect:Collect do
			     for  W in 101..105  do
				{Collect X.M.W.15}
			     end
			  end
      SumaVariables7_21_16=for M in 1..Salas collect:Collect do
			     for  W in 101..105  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_21_17=for M in 1..Salas collect:Collect do
			     for  W in 101..105  do
				{Collect X.M.W.16}
			     end
			  end
      SumaVariables7_21_18=for M in 1..Salas collect:Collect do
			     for  W in 101..105  do
				{Collect X.M.W.19}
			     end
			  end
      SumaVariables7_21_19=for M in 1..Salas collect:Collect do
			     for  W in 101..105  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_21_20=for M in 1..Salas collect:Collect do
			     for  W in 101..105  do
				{Collect X.M.W.25}
			     end
			  end
      SumaVariables7_21_21=for M in 1..Salas collect:Collect do
			     for  W in 101..105  do
				{Collect X.M.W.22}
			     end
			  end
      SumaVariables7_21_22=for M in 1..Salas collect:Collect do
			     for  W in 101..105  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_21_23=for M in 1..Salas collect:Collect do
			     for  W in 101..105  do
				{Collect X.M.W.23}
			     end
			  end
      SumaVariables7_21_24=for M in 1..Salas collect:Collect do
			     for  W in 101..105  do
				{Collect X.M.W.26}
			     end
			  end
      SumaVariables7_21_25=for M in 1..Salas collect:Collect do
			     for  W in 101..105  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_21_26=for M in 1..Salas collect:Collect do
			     for  W in 101..105  do
				{Collect X.M.W.32}
			     end
			  end
      SumaVariables7_21_27=for M in 1..Salas collect:Collect do
			     for  W in 101..105  do
				{Collect X.M.W.29}
			     end
			  end
      SumaVariables7_21_28=for M in 1..Salas collect:Collect do
			     for  W in 101..105  do
				{Collect X.M.W.33}