Maximum possible Simultaneous/Multiple activities

Started by Abbasi YF, February 20, 2020, 06:49:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Abbasi YF

Hello developers

I have 5 years x 2 + 1 special year. (1st year to 5th year morning and evening....total 11 years)
That is 1st Year Morning (1YM), 1st Year Evening (1YE) and so on for consecutive years

Each year is devided in groups/categories
1YM = 1YMA, 1YMB. 1YE= 1YEA, 1YEB.,........... 4YM = 4YMA, 4YMB, 4YMC....... 5YEC

There are 23 total Labs (each of 2 hr) in which all of the above student sets have to appear. 1unit = 50 minutes

There are total 86 activities based on student categories.

Each lab has a designated activity tag which has been linked to laboratory(space) constrain

Teachers have not been added yet as to avoid teachers realted basic contrains

I wish that all labs should prefereably take last two (x2) slots i.e. 11:30-12:20 + 12:20-13:10 and 14:00-14:50 + 14:50-15:40 (weight is however not 100%)
and categories of any given year should be busy at a time when other category is performing practical i.e. if 1YMA is taking activity1 at 11:30-13:10, 1YMB should take activity two or any activity based on availability of space at same time i.e. 11:30-13:10

In "Data>days and hours>hours (periods) per day" option, I tried to put only these hours (i.e. 11:30-15:40 = 4 periods+1hr break). The fet could generate only 10 activites out 86.

So I added other time 09:35-11:30 (two periods + 15mins short break) which is actually reserved for theory classes(though not having 100% wieght), fet than generated results within seconds but it was not as I expected. 1 group remains unoccupied when other group is free. This is problematic when we will accodomate years for theory classes where whole year (all categories) are required.

I wish that all categories/groups of a given year should be busy together with different acitivites (weight 100%).

Fet file is attached. Help is highly appreciated.




Liviu Lalescu

1) You could define subjects with shorter name, and add activity tags: Lab, Theory, and the year should not be in the subject name.

2) You should not care about "I wish that all categories/groups of a given year should be busy together with different acitivites (weight 100%).", but I did this in the attach liviu3.fet. But it is cared automatically by FET when you add the other theory activities. liviu3.fet is impossible - too difficult. See the last "occupy max" constraints.

3) I removed the subgroups from your data and it solves, not perfectly. See liviu2.fet, and see the preferred time slots constraints I added.

Please let me know.

Abbasi YF