أنشطة تبدأ يوم الطلاب أو تنهيه

Started by ghani1990, November 09, 2020, 01:08:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ghani1990

السلام عليكم ورحمة الله وبركاته
تحية طيبة إخواني
لدي مشكلة أو لنقل تساءلا حول إضافة قيد من نوع
أنشطة تبدأ يوم الطلاب أو أنشطة تنهي يوم الطلاب
بمعنى أن النشاط يكون إما في البداية سواء الصباحية أو المسائية
وإما أن يكون في نهاية الفترة أي الحصة الأخيرة
--------------
القيد أنشطة تنهي يوم الطلاب موجود
لكن القيد أنشطة يبدأ به الطلاب يومهم الدراسي لم أجده
وأيضا اريد طريقة ضم قيدين معا فإما تحقيق القيد الاول أو الثاني
--------------
أريد هذا القيد كي أتمكن من إضافة مادة الإعلام الآلي مثلا في برنامج أسبوعي واحد ولكن مرة في 15 يوم
أي أن القسم أو الفوج الذي سيدرس المادة إما أن يأتي صباحا في الأسبوع الأول والأسبوع القادم لا يأتي حتى الحصة الموالية
وهكذا بالنسبة لنهاية يوم الطلاب فإما أن يدرس في اسبوع وإما أن يخرج في اﻷسبوع المقبل.
طبعا ستحدث مشكلة أو تعارض أحيانا مع قيد الفجوات
لكن أريد حلا لضم هذين الشرطين معا
خاصة كي لا تقع فجوات للمداولة ويبقى القسم او الفوج في المدرسة حتى الحصة الموالية بدون نشاط  لنقل فراغ كل أسبوعين.
وشكرا جزيلا لكم
[/b]

Liviu Lalescu

Hello, ghani1990,

Please excuse me for answering in English:

I think I understand your request: activity starts or ends students day.

There were others asking for this as well; unfortunately, it is difficult and most importantly it cannot be implemented perfectly - that is why I preferred not to add it to the official FET or to the main custom versions, such as FET-MA. A not perfect implementation might be done and work in practice, but it is "ugly".

ghani1990

Hello Liviu Lalescu,
First of all, I want to thank you for such a wonderful and outstanding work, it helped us unimaginably.
Yes, that's what I mean, and if possible, why not put in a new personal version, which is a Fet cheat sheet called UE, (Ugly Edition), in which some requests or some constraint and new features are added, which are not ready enough to be included in the main versions, But it may be beneficial to some extent.
Of course, if you can.
Thank you again

Liviu Lalescu

#3
Hello, ghani1990,

Please call me simply Liviu  :)

It is great that you speak English, it is easier to understand each other!

Thank you for the appreciation! Please don't forget to spread the word about it and that I also need the help from the users (see here: https://lalescu.ro/liviu/fet/forum/index.php?topic=4423.0 ).

I will try something. I will replace in the code the constraints activity(ies) end(s) students day with the constraints activity(ies) begin(s)-or-end(s) students day, so that I won't need to add new constraints in the interface (which is a long and tedious process). I will let you know if I managed something which seems to work in practice.

I suppose you need this for FET-MA?

Also, please tell me: may I assume, for simplicity, that each students set will have at most one activity of this type in its timetable? Or at most one activity of this type on a single day? Or how many maximum per week/day?

ghani1990

Thank you, brother, for this modesty.
I have published a topic in Arabic on the fet's Facebook pages in Algeria and Morocco, And I will try to launch a broad campaign with all I can for help, this project must remain alive and uplifting, and its author must always be proud and in good situation.

-----
Yes, it is a good suggestion, and through the settings window for this constraint, there are several options, or let's say three radio buttons, the first is for: activity(ies) end(s) students day, and the second is: activity(ies) begins(s) students day, and the third is: activity(ies) begin(s)-or-end(s) students day, so I think everything will be organized and easy for the user and for the developer.
-----
Yes, personally, I use the FET-MA version.
In practice, these activities are necessary so that the student does not remain in the room without any teacher or activity, in the event that a group of students is divided into two groups, and the activity is for a group without another, and this activity does not participate with another activity at the same time for the second group, and therefore it is better that the activities be Either the first is for the students' day, so that the student (students) does not attend in the morning until the activity passes for the unconcerned group, or it is the last activity so the non-interested group can leave the school and only the concerned group remains.

I think that each students set should have this activity (if they are concerned with it) once a week, or the number chosen in the distribution of activities.

Once again my sincere appreciation and respect to you.

Liviu Lalescu

Thank you for the kind words!

I will try to see if I can manage it and let you know.

Liviu Lalescu

#6
I managed to do something.

This custom version is on https://lalescu.ro/liviu/fet/download/custom/ghani1990/

You need to add constraints activity(ies) end(s) students day, and they will be considered internally as begin-or-end students day.

The algorithm presumes that there are no more than 1 activities constrained like this Edit: on each half-day for each students set.

I am tired, but I hope I got the code right.

ghani1990

Hello Liviu,
You are literally a hero.
I did a timetable with it today for my school and the result was great.
It is amazing to do it so quickly, and thanks are not enough for you.

Just please, with regard to the new constraint, I wish you had added Radio button in the settings window for the constraint in order to choose the old or the new algorithm, so that I could place the same constraint for other activities that I only want the end student day, and also there are conflicting messages In the end, it only appears when the activity is at the beginning of the students' day, they are warning messages that do not affect the final output, but sometimes in the event of other conflicts, it will be difficult to search for the desired conflict, Hope it doesn't show up if you select this new constraint you added today(activity starts or ends students day).

--------------
By the way, I will start a campaign today on Reddit for "FET", and I will try on other platforms to spread messages so that we can reach many donors, and it is a pleasure to do anything for this masterpiece.
Thank you again

Liviu Lalescu

Hello, ghani1990,

I repaired these problems:

- Conflicts are not reported incorrectly anymore.
- I made 4 constraints: activity(ies) end(s) students day and activity(ies) begin or end students day. So they are separate. I hope you'll like this solution.

The same link, with updated programs: https://lalescu.ro/liviu/fet/download/custom/ghani1990/

I am tired, so please excuse the possible bugs and report them as soon as possible for corrections.

Please let me know.

Thank you for the appreciation and good intentions!

Benahmed Abdelkrim

Quote from: ghani1990 on November 09, 2020, 01:08:16 PM
السلام عليكم ورحمة الله وبركاته
تحية طيبة إخواني
لدي مشكلة أو لنقل تساءلا حول إضافة قيد من نوع
أنشطة تبدأ يوم الطلاب أو أنشطة تنهي يوم الطلاب
بمعنى أن النشاط يكون إما في البداية سواء الصباحية أو المسائية
وإما أن يكون في نهاية الفترة أي الحصة الأخيرة
--------------
القيد أنشطة تنهي يوم الطلاب موجود
لكن القيد أنشطة يبدأ به الطلاب يومهم الدراسي لم أجده
وأيضا اريد طريقة ضم قيدين معا فإما تحقيق القيد الاول أو الثاني
--------------
أريد هذا القيد كي أتمكن من إضافة مادة الإعلام الآلي مثلا في برنامج أسبوعي واحد ولكن مرة في 15 يوم
أي أن القسم أو الفوج الذي سيدرس المادة إما أن يأتي صباحا في الأسبوع الأول والأسبوع القادم لا يأتي حتى الحصة الموالية
وهكذا بالنسبة لنهاية يوم الطلاب فإما أن يدرس في اسبوع وإما أن يخرج في اﻷسبوع المقبل.
طبعا ستحدث مشكلة أو تعارض أحيانا مع قيد الفجوات
لكن أريد حلا لضم هذين الشرطين معا
خاصة كي لا تقع فجوات للمداولة ويبقى القسم او الفوج في المدرسة حتى الحصة الموالية بدون نشاط  لنقل فراغ كل أسبوعين.
وشكرا جزيلا لكم
[/b]


إن كان الهدف هو بناء جدول استثنائي حسب المنشور الوزاري رقم 1127، فيمكن وضع أنشطة مادة الإعلام الآلي خارج التوقيت المخصص لباقي  المواد، جنبا إلى جنب مع أنشطة مادة التربية البدنية، إما يدويا أو أوتوماتيكيا في ملف إدخال  مستقل .
هذه الطريقة سهلة للغاية ويمكن استخدامها دون أي إشكال. خصوصا وأنها ليس لها سلبيات كما الطريقة التي تقترحها، في بداية اليوم أو في نهايته.
يمكن أن أنشر مثالا على ذلك من خلال ملف فيت. أخبرني إن كنت ترغب في ذلك.

B.A/krim

Benahmed Abdelkrim

#10

أرفق أدناه جدول إدخال فيت؛
الجدول الأول هو جدول فيت مقفل بدون أنشطة التربية البدنية للمدرسين
R1, R2
وبدون أنشطة الإعلام الآلي للمدرس
Inf

وبدون أنشطة الموسيقى للمدرس
Q

أما الجدول الثاني فهو جدول إدخال فيت لجدولة أنشطة التربية البدنية ، والإعلام الآلي، والموسيقى

  النسخة المستخدمة هي
FET MA 11

ملاحظة: يمكن دمج الملفين بعد الانتاج باستخدام التطبيق
TiTiTo
لمؤلفه السيد
Volker Dirr

Liviu: I suggest to add these two files in the next update.
B.A/krim

Liviu Lalescu

OK, dear Benahmed, I will, please let me know in which directory. Together both, one near the other?

Benahmed Abdelkrim

Thank you, dear Liviu. Yes, in the same directory, one near the other.
B.A/krim

ghani1990

Quote from: Liviu Lalescu on November 10, 2020, 08:40:20 PM
Hello, ghani1990,

I repaired these problems:

- Conflicts are not reported incorrectly anymore.
- I made 4 constraints: activity(ies) end(s) students day and activity(ies) begin or end students day. So they are separate. I hope you'll like this solution.

The same link, with updated programs: https://lalescu.ro/liviu/fet/download/custom/ghani1990/

I am tired, so please excuse the possible bugs and report them as soon as possible for corrections.

Please let me know.

Thank you for the appreciation and good intentions!
Hi Liviu, I hope you got some good rest these days.
This copy is rock solid and it worked well with me, there are some friends who worked on it too.
thank you very much.


Liviu Lalescu