Custom FET for Moroccan schools

Started by Liviu Lalescu, September 17, 2008, 11:49:43 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Liviu Lalescu

#60
I did that on the official Morocco example, seems to work (see attached archive). Constraints introduction took about 15 minutes. This is the good news.

The bad new is that it is slower than it should be. One reason is that the data is more difficult. But another reason is that the occupy constraint is not as efficient in this case as a modified max hours for real day.

Seems ~4 times slower with the new constraint. I don't know how much is because the data is more difficult and how much because of inefficiency.

But anyway file is solved.

Should I add this file as an official example, in Morocco?

Liviu Lalescu

It is a good thing that I considered this problem. Because I found out that the new constraints slow down much the generation, and I dag into the problem. The code was good, but I found an improvement, and now the speed is comparable with the speed without the new constraints.

Without improvement, speed was, for the file attached in the previous post, 3 m 57 s, and now it is 1 m 35 s. So, more than twice the speed now.

I released a new snapshot. See snapshots section here on forum.

Chafik Graiguer

I agree
The new constraint made generation much slower.
Now I will test the new snapshot

Liviu Lalescu

#63
alfaromeo, since the constraint is working, I would like to:

1) Add the new file with the new constraints to the official Morocco samples.

2) Update Morocco instructions in the official FET examples directory: Arabic and English ones.

Could you help, please?

I intend to release the new version in maybe less than a week; if you cannot do these I will try to do them myself.

Chafik Graiguer

I am back
Sorry, I was too busy in the last couple of days
I am ready to add the new instructions in arabic
Did you already have any sentences in english?

Chafik Graiguer

Here is the Arabic instructions
it is in the paragraph 5Bis

Liviu Lalescu

#66
QuoteI am back
Sorry, I was too busy in the last couple of days
I am ready to add the new instructions in arabic
Did you already have any sentences in english?

Something like:

"
To ensure that the students will have maximum 7 hours in a real day (morning and afternoon), you have to use the constraint a set of activities occupies max time slots from selection.

You need to add number_of_real_days constraints for each students set. Add all activities of a students set, then select all the 8 slots of the first real day, and choose the max number of occupied slots to be 7. This is one constraint. Then, add similar constraints for each remaining real day. Then, continue with the next students set.

Further details are left to the user (like the case in which you are using complex students sectioning into sets).
"

Chafik Graiguer

Well
I added nearly the same thing in Arabic, but more in details

Liviu Lalescu

If you consider I should detail some more, tell me your words in English.

Chafik Graiguer

#69
Well
Here is the comment, first in Arabic then in English
5Bis-منع برمجة ثمان ساعات في اليوم للتلاميذ
===========================================
ينبغي اتباع الخطوات التالية
1-الزماني
2-المهام
3-مجموعة من الأنشطة تحتل فترات قصوى من التحديد
4-إضافة
5-الطلاب المعينين (نختار القسم)
6-ستظهر  لائحة دروسهم أو مهامهم
7-نضغط على كل
8-ننقر على مربع الفترات الزمنية
9-نختار جميع حصص الإثنين صباحا والإثنين مساءا
10-في خانة أقصى شغل نضع الرقم 7
11-ثم أخيرا إضافة القيد
12-ودون أن نغير أي شيء نضغط على زر "ألغ الكل"
13-نختار هذه المرة جميع حصص الثلاثاء صباحا ومساءا
14ثم إضافة القيد
15-وهكذا مع باقي الأيام
عند الانتهاء من يوم السبت، ننقر على خانة المهام، نغير القسم ونتبع نفس الخطوات من 5 إلى 15

5Bis Set maximum hours per REAL day for students
=====================
To prevent 8 hours per REAL day for student (Max 7 hours per real day) proceed as follow:
1-Time
2-Activities
3- A set of Activities occupy max time slots from selection
4-Add
5-select a student set
6- a list of activities show up
7-Press All
8- Click Time Slots Tab
9-Select all slots from both Monday morning and Monday afternoon
10- Max occupy : 7
11- Click Add Constraint
12- Without changing anything, click Unselect All
13-Now, select all slots from both Tuesday morning and Tuesday afternoon
14-Click Add Constraint
15- ... And so on, for all remaining days

Upon completing all days, click on Activities tab, select a new student set then repeat steps from 5 to 15

Liviu Lalescu

#70
Chafik, please translate these two things for me:

"
Note: If you are using advanced students sectioning, you may need to adapt steps 5 to 7 to your situation.
"

Also, I want to insert this:

"
The document was updated on 17 October 2011, to add new information about students max 7 hours per real day.
"

into Arabic, where exactly?

Chafik Graiguer

#71
I update both Arabic and English readme, including your words
Attached

Liviu Lalescu

#72
QuoteI update both Arabic and English readme, including your words
Attached

You forgot to update the Arabic document (to add my two phrases about document modification date and advanced students sectioning). Also, about the strings "VERY IMPORTANT" and "UPDATE" in English, I want to remove them.

Chafik Graiguer

You can remove UPDATE from English document
I sent the wrong file,
the good one is attached

Liviu Lalescu