Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Benahmed Abdelkrim

#16
Suggestions / Re: ordered activities
May 17, 2026, 03:14:36 PM
Thank you, Liviu!
#17
Suggestions / Re: ordered activities
May 17, 2026, 05:14:35 AM
By the way, activities may share common tags, but sets of tags do not. Therefore, order would be easy if we focused on the order of the sets of tags rather than the order of the activities themselves.
#18
Suggestions / Re: ordered activities
May 17, 2026, 04:21:19 AM
Quote from: Volker Dirr on May 16, 2026, 08:40:50 AMSadly difficult.

It is easy if the activities contains only 1 tag, but it will be more difficult if there are 2 tags.

Example:
activity 1: Tag "C"
activity 2: Tag "B" and "D"
activity 3: Tag "E" and "A"
activity 4: Tag "A" and "E"

So first: Just we care about the order? So should be activity 3 the same order as activity 4?
And after that: How to order activity 3 and 1?
...
 

Even if the activities have more than 1 tag, the order should be by sets of tags. If you say: set 1, which should appear first, the first set contains, for example, nb1 tags, the second set contains nb2 tags, the third set contains nb3 tags, then the order would be: set 1, set 2, set 3. Within each set, the order of the activities doesn't matter; what matters is the order of the sets of tags.

In order to achieve this, the sets of tags must be independent; that is to say, they must not have any tags in common. This condition must be verified before the order.
#19
Suggestions / Re: ordered activities
May 16, 2026, 06:41:50 PM
Quote from: Liviu Lalescu on May 16, 2026, 09:37:56 AMIt is easy: compare the activity tags as a QList comparison operator.

But is this good for everybody?


This problem arose while I was preparing the exam schedules. Each real room has three teachers. One of them is the room leader. This teacher is identified by a tag (tag1, for example). All these tags must be listed first. I found a workaround using TiTiTo's import/export function. I deleted the untagged activities, then tagged the relevant ones. Then I reintroduced the deleted activities so that the tagged ones appeared first in the time tables. Finally, I introduced the necessary time and space constraints.

I think adding this feature will be very useful for users and for FET as well.
#20
Suggestions / ordered activities
May 13, 2026, 08:46:09 PM
Hello!
In the HTML timetables, activities are ordered according to their "IDs". Can they be ordered according to their activity tags?

See the attached screenshot below...
#21
For the directory, you can add it to number 6, or add another called 7.
#22
In English:
In this example, the repeat of exam rooms for all teachers except the lead guardians on a given exam day was avoided. This differs from previous methods that failed to prevent repetition due to the use of three guarding subjects instead of one, each with its own independent set of preferred rooms. This required assigning a value greater than 1 to the constraint: A room's max activities per teacher. This approach is based on the following key elements:

- Using a single subject for all guarding activities, called for example: guarding

- Using a single subject for all reserve activities, called for example: Reserve

- Using three (3) activity tags: lead guardian 1, lead guardian 2, and lead guardian 3, corresponding to the number of exam days.  In this example, three activity tags are used because there are three days of exam.

Time Constraints:

- Add three (3) identical time constraints: A set of Activities has a set of preferred starting times for each of the three activity tags mentioned above.

Space Constraints:

a- Preferred rooms for a subject: Add two constraints for each of the following:

           - guarding subject: Select all rooms except reserve rooms.

           - Reserve subject: Select all the reserve rooms.

b- Preferred rooms for an activity tag: Add three (3) of these constraints for each of the three activity tags and select the real rooms: R1, R2, R3, ..., R14

c- room max activities per teacher: Add a constraint for each room. For real rooms max activities=3, while virtual rooms, max activities=1.

d- A set of activities occupies max different rooms for each of the activity tags mentioned above: Max different rooms=1.
#23
In Arabic:
في هذا المثال تم اجتناب تكرار القاعات لكل المدرسين باستثناء الحراس الرئيسين في يوم معين من أيام الامتحان، وهذا بخلاف الطرق السابقة التي فشلت في اجتناب التكرار بسبب استخدام 3 مواد للحراسة عوض مادة واحدة ولكل مادة مجموعة مستقلة من القاعات المفضلة، مما اضطرنا إلى اعطاء قيمة أكبر من 1 للقيد: أقصى أنشطة في القاعة لكل مدرس. تعتمد هذه الفكرة على العناصر الأساسية التالية:
  - استخدام مادة وحيدة لكل أنشطة الحراسة، تسمى على سبيل المثال: حراسة،
  - استخدام مادة وحيدة لكل أنشطة الاحتياط، تسمى على سبيل المثال: احتياط،
  - استخدام ثلاثة (3) وسوم تسمى: حارس رئيسي1، حارس رئيسي2، حارس رئيسي3، بحسب عدد أيام الاختبارات. في هذا المثال استخدم 3 وسوم لأن عدد أيام الاختبارات هي 3.

القيود الزمنية:
- اضافة ثلاثة(3) قيود زمنية متماثلة: أنشطة لها أوقات بدء مفضلة لكل وسم من الوسوم الثلاث المذكورة أعلاه

القيود المكانية:
أ- قاعات مفضلة لمادة: اضافة قيدين لكل من:
    - مادة الحراسة: نختار كل القاعات باستثناء قاعات الاحتياط،
    - مادة الاحتياط: نختار القاعات الخاصة بالاحتياط.

ب- قاعات مفضلة لوسم النشاط: اضافة ثلاثة (3) قيود من هذا النوع لكل وسم من الوسوم الثلاث ونختار القاعات الحقيقية
R1, R2, R3, ...,R14

ج- أقصى أنشطة في القاعة: اضافة قيد لكل قاعة، القاعات الحقيقية لها أقصى أنشطة=3، القاعات الوهمية لها أقصى أنشطة=1

د- أنشطة تحتل أقصى قاعات مختلفة لكل وسم من الوسوم المذكورة أعلاه: أقصى قاعات مختلفة=1
#25
Yes, absolutely; no need to rush. For the name, we can use this short name: EX_BEM_no repeat rooms.
#26
Thank you dear Liviu!
 I suggest this name: EX_BEM_no repeat rooms except one day for some (lead) teachers.
It's long - I know - but it gives the exact meaning of this example.
#27

فكرة مهمة جدا تغني المستخدم عن طلب اضافة القيد المقترح في مستهل الموضوع المفتوح أعلاه. هذه الفكرة تسمح بعدم تكرار القاعات لكل المدرسين باستثناء الحراس الرئيسين في يوم معين من الأيام الثلاث للامتحان، وهذا بخلاف الطرق السابقة والتي فشلت في اجتناب التكرار بسبب استخدام 3 مواد للحراسة عوض مادة واحدة ولكل مادة مجموعة مستقلة من القاعات المفضلة، مما اضطرنا إلى اعطاء قيمة أكبر من 1 للقيد: أقصى أنشطة في القاعة لكل مدرس. تعتمد هذه الفكرة على العناصر الأساسية التالية
  استخدام مادة وحيدة لكل أنشطة الحراسة، تسمى على سبيل المثال: حراسة -
  استخدام مادة وحيدة لكل أنشطة الاحتياط، تسمى على سبيل المثال: احتياط -
  استخدام ثلاثة (3) وسوم تسمى: حارس رئيسي1، حارس رئيسي2، حارس رئيسي3 -. بحسب عدد أيام الاختبارات. في هذا المثال استخدم 3 وسوم لأن عدد أيام الاختبارات هي ثلاثة(3)

القيود الزمنية
  اضافة ثلاثة(3) قيود زمنية متماثلة: أنشطة لها أوقات بدء مفضلة لكل وسم من الوسوم الثلاث المذكورة أعلاه -

القيود المكانية
أ- قاعات مفضلة لمادة: اضافة قيدين لكل من
     مادة الحراسة: نختار كل القاعات باستثناء قاعات الاحتياط -
    مادة الاحتياط: نختار القاعات الخاصة بالاحتياط -

ب- قاعات مفضلة لوسم النشاط: اضافة ثلاثة (3) قيود من هذا النوع لكل وسم من الوسوم الثلاث ونختار القاعات الحقيقية
R1, R2, R3, ...,R14

ج- أقصى أنشطة في القاعة: اضافة قيد لكل قاعة، القاعات الحقيقية لها أقصى أنشطة=3، القاعات الوهمية لها أقصى أنشطة=1

د- أنشطة تحتل أقصى قاعات مختلفة لكل وسم من الوسوم المذكورة أعلاه: أقصى قاعات مختلفة=1

الملف مرفق أدناه ...

لمعاينة الملفات المرفقة يرجى التسجيل في المنتدى
 
@Liviu Lalescu: I think it's very useful to add this file to the FET examples.

#28
Talk It Up! / Re: Paperclip?
April 04, 2026, 04:34:29 AM
Could you please look at this topic? The guest could see the attachment symbol but not the attachments.

https://lalescu.ro/liviu/fet/forum/index.php?msg=17343
#29
Talk It Up! / Re: Paperclip?
April 03, 2026, 03:02:23 PM
I replied there
#30
Talk It Up! / Re: Paperclip?
April 03, 2026, 10:41:01 AM
That's great, we hope they will respond to our request!