This custom version was suggested by Chafik Graiguer. His words:
--------------------------------------
This FET version fulfills the following requirements:
1-Definition of a working school day:
A days is devided into two distincts periods:
- morning 08:00-12:00
- afternoon 14:00 - 18:00
- there is a lunch breack 12:00 - 14:00
2- studiying periods and gaps per day:
Students can have gaps around lunch breack, i.e before or after lunch break (official FET version cant tolerate this !!!)
-Students and teachers must have at least 2 hours per period ( empty periods are ok )
- Teachers can only have lesson either in morning or afternoon. never both
3- The key hint to use this version
We have 6 REAL day, with 6 working timeslots
We should input 6X2 = 12 days, with 4 working timeslots ONLY
--------------------------------------
Words of author:
Features are:
This is a school which has lessons morning and afternoon, and teachers cannot have lessons both in the afternoon and morning, and students and teachers must have at least 2 hours in morning or in the afternoon.
You should input in FET 2*n_real_days
Day 1 represents morning 1, day 2 represents afternoon 1, day 3 represents morning 2, etc.
Intelligent (flexible) students min hours daily, allowing 0 hours in a day.
Teachers cannot have hours in both days 2*n+1 and 2*n+2 (so they don't have in real life hours both in the morning and afternoon.
On 23 August 2009 I added new features:
1) there is a list of teachers who can have 1 day exception or 2 days. In these exceptions they may work morning+afternoon.
2) the constraints teacher(s) max hours daily considers real days (morning+afternoon). You can add max hours per day for exception days.
3) the constraints teacher(s) max days per week considers real days.
On 30 August 2009 I added a new feature:
students (set) max hours daily considers real days (morning+afternoon).
Also, constraints min days between activities consider real days (see in readme more details)
On 10 September 2009 I fixed an important generation bug, so please get latest version morocco6.
On 1 August 2011 I updated the custom version for Morocco to 5.14.5.
On 18 August 2011 I fixed a crash bug, as reported by Montasir here on the forum: http://lalescu.ro/liviu/fet/forum/index.php?topic=530.msg3125#msg3125, bug which was present also in fet-5_10_2-morocco6.
On 2 September, I corrected a very minor bug (unnoticeable).
On 4 June 2015 I updated to the latest FET, 5.27.2.
On 7 June 2015 I added a new different type of constraint: teacher(s) max mornings/afternoons per week. This is version 5.27.2-morocco2.
On 9 June 2015 I made constraint max days between activities to consider real days. This is version 5.27.3-morocco.
On 29 July 2015 I corrected a bug when modifying the days or hours. There is a new version, 5.27.3-Morocco6.
On 2 September 2017 I corrected a potential cycling problem, as in the official FET. Also the Arabic translation was improved, by Benahmed Abdelkrim.
On 3 October 2017 I corrected a bug as reported by Omar Ben Ali, here: http://lalescu.ro/liviu/fet/forum/index.php?topic=3492.0
On 2 August 2018 I corrected a rare crash bug if adding an activity without students sets, but with a specified number of students >= 1, a bug if moving up/down the rooms/buildings (their description in the details box on the right was not properly updated), and the Arabic translation was updated. All of these by Benahmed Abdelkrim.
The links are: (modified 6 June 2020 from FET-5.27.3, latest version is fet-5.27.3-morocco53)
https://lalescu.ro/liviu/fet/download/custom/morocco/
or, mirror:
https://www.timetabling.de/download/custom/morocco/
The above links include a Windows 7 or later 64-bit executable. If you need the 32-bit Windows 7 or later executable, get it from here: https://www.timetabling.de/download/32bit/
Thanks you very much Liviu for this customised version
It helped me a lot to easily generate a working timetable wich fulfill about 98% of teacher's wishes !!
NB: I will post an arabic version of those features at arabic section
Hi!
I modified aissa and alfaromeo custom to make a warning if user splits activity into more than real days components (fet_days/2). Could you please test the new versions, so that I didn't accidentally mix them or some other error? Just generate for your sample with alfaromeo version and aissa with aissa version. Also, test the new warning I modified.
Please let me know.
Quote
Please let me know.
Thanks Liviu
Modified version works as expected !!!
If I split an activity into 8 subactivities for example, having a 6 working (REAL) days
then FT issues a warning messagebox
Here, I added a large activity splitted into 8 subactivities !!
(http://i427.photobucket.com/albums/pp354/alfaromeoFET/splitactivityinto8.jpg)
the warning messagebox pops up:
(http://i427.photobucket.com/albums/pp354/alfaromeoFET/warningSplitactivity.jpg)
Thank you very much for your report!
It is sometimes hard to work on more versions, I am very afraid not to modify the official version. I should learn some version control programs as many suggested, but it is difficult.
Quote
It is sometimes hard to work on more versions, I am very afraid not to modify the official version.
that is why I tried to tweak Standart FET version rather than rely on custom version
If there is only one devellopement branch, then it will much easier for programmers (mainly Liviu !!) to update,
and all users will equally benefit from any update or new features
I tried to translate into arabic the new warning in messagebox
you can submit it to Silver before including into arabic lanquge pack/file
NB: Arabic is right justified
Quoteانتبه ! إنك تحاول الآن أن تضيف مهمة مقسمة إلى عدد من الحصص أكبر من عدد أيام الدراسة في الأسبوع
كما أنك تحاول أن تضع تقييدا زمنيا هو "الحد الأدنى من الأيام الفاصلة بين حصتين/مهمتين". وهذا من شأنه أن يبطء البرنامج ويمنعه من إيجاد الحل.
يفضل أن تقوم بأحد الأمرين التاليين:
1- إذا كنت ستضيف تقييد"إذا كانت الحصص في نفس اليوم فالتتابع إجباري"،إذن عليك أن تقوم بتجميع بعض الحصص إلى بعضها لتحصل على عدد حصص مساو لعدد ايام الدراسة. مثال: علينا أن نبرمج 7 حصص طولها 1ساعة في خمس أيام. إذن قم بتحويلها إلى مهمة واحدة حاوية لخمس حصص هكذا: 2,2,1,1,1 (يمكنك ان ترفع نسبة أهمية الحد الأدنى من الأيام الفاصلة بين حصتين/مهمتين إلى 100% )
2- إذا لم ترغب بتطبيق تقييد "إذا كانت الحصص في نفس اليوم فالتتابع إجباري"، إذن يفضل أن تدخل مهمة/حاوية كبيرة مقسمة إلى عدد من الحصص مساو لعدد أيام الدراسة الأسبوعية. ثم مهمة/حاوية أخرى تضم ماتبقى من حصص. مثال: علينا أن نبرمج 7 حصص طولها 1 في خمس أيام. نضيف مهمة/حاوية كبيرة مجزأة إلأى 5 حصص طول كل منها ساعة. ثم مهمة/حاوية ثانية مجزأة إلى 2 حصص بطول ساعة لكل واحدة (يمكنك ان ترفع نسبة أهمية الحد الأدنى من الأيام الفاصلة بين حصتين/مهمتين إلى 100% )
Thank you, but:
I cannot incorporate unfortunately the Moroccan features that you need in the official FET. Adaptable min hours daily for students cannot be implemented, because of some reasons I explained you. Also, the teachers have hours morning or afternoon also cannot be made.
Also, with the translation, I don't want Silver to mix the versions of translations. That would be a very nasty thing.
I don't know how to manage for the moment different branches. I think I cannot manage to keep up with releasing more versions and update each of them.
Maybe in the future you would like to become the person in charge with the Moroccan (maybe Algerian) versions. You could modify translation of these versions using Qt Linguist, like Silver. Also, you will need to learn how to make a release. The main work must be done from GNU/Linux, so as to keep the files permissions correct. Then you make a tar.bz2 package, compile for Windows and release somewhere these files.
If you can do this work, I will put links to your versions (as unofficial). But you have not an easy task :-)
I really ran out of ideas. It is a very difficult problem.
You can update the fet_ar.ts file in src/interface/ type "lupdate interface.pro". You can modify the fet_ar.ts file with Linguist from Qt - trolltech.com. Then enter src/interface/ and type "lrelease interface.pro".
We'll talk about this some more.
Quote
If you can do this work, I will put links to your versions (as unofficial). But you have not an easy task :-)
.
Thanks Liviu
I will do my best to learn things
maybe I should read some C++ books for newbies !! just to be able to read source code... :)
How to deal with the following situation:
say a part time teacher has only 5 working hours per week at our school
He would like to drive only once to school
So he wishes this 5 hours to be schedulled at ONE real day. say:
3 at morning and
2 at afternoon
Now the customised version doesnot allow lessons for teachers on two consecutives FET_days !!
QuoteHow to deal with the following situation:
say a part time teacher has only 5 working hours per week at our school
He would like to drive only once to school
So he wishes this 5 hours to be schedulled at ONE real day. say:
3 at morning and
2 at afternoon
Now the customised version doesnot allow lessons for teachers on two consecutives FET_days !!
Then we need to customize it further. It can be done, I assume these conditions: some teachers are part time and they can only work a real day per week (for 2 or more, the things start to become complicated). I think the easiest would be to denote somehow these teachers, like for teacher John: "PART_TIME John", so each teacher that starts with PART_TIME works only one day per week. The rest of teachers work only morning or afternoon, but not both. The code is simple to modify. The best way would be to add some new constraints, like "Part time teacher" and "Teacher works only in day 2*n-1 or exclusively in day 2*n", but to add a new constraint is a tedious job and I hate it :-) I only like to implement the algorithm behind it.
I could give you the code to add part time teachers the easy way ("PART_TIME"....), if you want it. Just let me know.
PS: If you think that the above constraints can be added into official FET, you are right. But their name sounds so weird, and it remains one crucial problem: I cannot add adaptive students min hours daily.
A workaround would be:
say teacher T1 wants his 5 hours per week to be schedulled into one real day: 3 on morning + 2 on afternoon
then:
assing 3 hours/activities to T1 : A1, A2, A3
Assign the remaining 2 hours A4, A5 to a dummy teacher T01
- set constraint "set of hours/activities has same starting days" for A1,..., A5
- set activties not overlapping
is that corrcet ? :)
si it the easy way to deal with such situation ?
QuoteA workaround would be:
say teacher T1 wants his 5 hours per week to be schedulled into one real day: 3 on morning + 2 on afternoon
then:
assing 3 hours/activities to T1 : A1, A2, A3
Assign the remaining 2 hours A4, A5 to a dummy teacher T01
- set constraint "set of hours/activities has same starting days" for A1,..., A5
- set activties not overlapping
is that corrcet ? :)
si it the easy way to deal with such situation ?
You are very good at FET tricks :-) You beat me on this, I also thought about some dummy activities, but could not think of such a solution.
One drawback you have, though: you need to decide which activities are in the morning and this will rule out some good timetables but which have say activities A1, A3 and A5 in the morning. But probably you can find a solution with your trick.
Quote
One drawback you have, though: you need to decide which activities are in the morning
it is unimportant to have 2 hours/morning+3hours/afternoon
or:
3 hours/morning + 2 hours /afternoon
We ONLY want to ensure that 5 hours are putted into the same day
QuoteQuote
One drawback you have, though: you need to decide which activities are in the morning
it is unimportant to have 2 hours/morning+3hours/afternoon
or:
3 hours/morning + 2 hours /afternoon
We ONLY want to ensure that 5 hours are putted into the same day
Suppose you have 5 activities: A1, A2, A3, A4, A5. Then decide that A1, A2 and A3 go to teacher T1 and A4 and A5 go to teacher TDummy. Then you rule out correct solutions like: A1, A3 and A4 morning, and A2 and A5 afternoon, because only A1, A2 and A3 can be together in the morning or afternoon.
Yes
you are right
But, decision will be less difficult to make when all or some activities have duration 2 :)
I updated this alfaromeo version to FET 5.10.2, please see the initial (modified) post. Please report problems. You have also the old variant available.
Thanks a lot Liviu
I tried to do it myself, but I was lost :-[
Now, I will test it and report any issue
To update this custom version from latest official FET, compare 2 files from official 5.10.2 with 5.10.2-alfaromeo: generate.cpp and generate_alfaromeo.cpp, and generate_pre.cpp and generate_pre_alfaromeo.cpp. Make the same changes to a later version of FET. Then, in that version of FET, modify interface.pro to include generate_alfaromeo.cpp and generate_pre_alfaromeo.cpp instead of the official files. Eventually, modify the version of fet-x.x.x to be fet-x.x.x-alfaromeo (in helpaboutform_template.ui and timetable_defs.cpp).
It is not very easy, but if you do it once, it's a piece of cake.
I decided to update, because I saw many Arabic speaking people working with custom versions.
12 August 2009:
I added new files, modified from 5.10.2. Only minor cosmetic changes: I added the modified files, so that someone else can do this job of updating in the future.
The files are now named 5_10_2-alfaromeo2.
23 August 2009 - at alfaromeo's suggestion, I added new features:
1) there is a list of teachers who can have 1 day exception or 2 days. In these exceptions they may work morning+afternoon.
2) the constraints teacher(s) max hours daily considers real days (morning+afternoon). You can add max 6 or 7 hours per day for exception days.
3) the constraints teacher(s) max days per week considers real days.
Please see initial (modified) post for links and details.
Thank a lot Liviu for latest release
Naming it to "FET-morocco" is more meaninfull
I also noticed that last fet-5_10_2-morocco version is even much more faster than fet-5_10_2-alfaromeo2 !!
I think that some exceptions gives FET more possibilities to place activities
I will post an announce into the arabic forum..
I made a new version, 5_10_2-morocco2, second version in the same day, 23 August 2009, because alfaromeo suggested a menu improvement and also I corrected a bug related to the list of exception teachers. See first post (which I modified), for links.
Thanks again
Download link is working fine
I posted an "announecement" in arabic forum
30 August 2009: I updated: the students (set) max hours daily considers real days (morning+afternoon). You can put for instance max 7 hours daily for students.
30 August 2009: I added a new version, with min n days between activities constraints modified to take care of real days. See initial post for modified information.
31 August 2009: I made another release with this update: the add activity dialog will warn if you want to add an activity split into more than FET ndays/2 (real days).
On 10 September 2009 I fixed an important bug, please get new version morocco6 (see beginning of topic for links).
Thanks to alfaromeo for bug report and help on discovering it.
Thanks a lot Liviu
Now, FET process both ONE and TWO days exception correctelly :)
hello everybody! what about using fet 5.14 for the morroccan version? :'( :'( :'( :'(
Please see the fet-5.14.3/examples/Morocco/ and fet-5.14.3/examples/Morocco/Hadkourt/ directories, there are some text files which you can read with a text viewer/editor, and there is a .fet data file. They explain tricks on how to use official FET for Moroccan institutions.
hello! Thank you for your reply. I tried that but had problems concerning minimum daily hours for students.
Quotehello! Thank you for your reply. I tried that but had problems concerning minimum daily hours for students.
You need to enable students min hours daily with allow empty days, from Settings->Advanced. Then, in the constraint students min hours daily, check the "Allow empty days" check box.
Please let me know of the result.
thanks! the problem I have now is with the max hours per day for all students. I want the students to study less than 8 hours: the max hours must be 7 hours.when I put a timetable of 6 days with 8 hours a day it doesn't work cause I want students to come morning and afternoon. if I put a timetable of 12 days with 4 hours a day the max hours is going to be 6 hours a day. only the Moroccan version considers the two days as a real day.
Did you read all the tricks/advice/text files in the examples/Morocco/ directory? alfaromeo describes there the difficulties and solutions.
If I remember correctly, indeed, there was this problem - I am not sure if alfaromeo solved it. I'll send him a personal message to check this thread.
yes I read it. I think he didn't consider that point: max daily hours for students. thanks again!
I might consider updating FET for Morocco to 5.14.5. Is anybody willing to help with advice and testing? I would prefer to have alfaromeo included in the testing team, because he reported some important bugs a time ago and is a very careful tester.
Unfortunately, Official FET does not care about maximum hours daily for students (real day)
It is the only drawback
Otherwise, using tricks in /examples/Morocco, official FET fits Moroccan needs perfectly
Yes, but seems to be an important drawback.
I saw that many people use FET 5.10.2-morocco6, instead of official FET 5.14.5.
If it is useful, I am willing to try to update FET Morocco to 5.14.5, but I need help with answers to some questions and a lot of testing. I would prefer to work with alfaromeo included in the team of supervisors.
Edited to add: I encourage any Moroccan user to let us know if updating the special Moroccan version to 5.14.5 would be useful or not. I would prefer to implement the update only if it is useful.
Although I am not using custom version anymore, I am willing to help in testing any possible update.
QuoteAlthough I am not using custom version anymore, I am willing to help in testing any possible update.
Thank you for your help offer!
From your words, I understand that updating is not important for you, as you are using the official FET. So, for the moment there are no users needing the update. If there will be future requests from other users, I'll consider it. I hope they will adopt your methods, though, and no further updates will be necessary, this way.
Could you let me know how do you manage without the constraint students max hours per real day?
Unfortunately, I had no way to control Max hours per real day for students ::)
Randomly, FET does not allocate 8 hours per real days for ALL student sets, so I deal manually with less fortunate sets after generating timetable
A workaround would be:
- add dummy activities for each student sets
- Number: 6
-length: 1
-Minimum days between activities: 2
BUT we still need two conditions:
1- dummy activities should be first or last, never in middle (would crate a gap)
2-dummy activities should not be counted for minimum hours per day (empty day is ok)
QuoteA workaround would be:
- add dummy activities for each student sets
- Number: 6
-length: 1
-Minimum days between activities: 2
BUT we still need two conditions:
1- dummy activities should be first or last, never in middle (would crate a gap)
2-dummy activities should not be counted for minimum hours per day (empty day is ok)
1- -> A dummy activity can also be in the second hour, if first hour is empty. Same for before the last hour, if last hour is empty. And this is too difficult for me to add into the algorithm as a constraint.
2- -> This is an unnatural constraint to add to official FET (though it may be easy to implement).
The conclusion is that an update of FET Morocco to 5.14.5 is needed.
Questions:
1) There is directory examples/Morocco/, with some tricks, only applicable for official FET. Should they be removed? And the example file? Maybe add a special FET Moroccan example file?
2) Allow empty days for constraint students min hours daily - should be selected by default and the user cannot change this?
Other questions may follow.
Quote
Same for before the last hour, if last hour is empty.
For this case, there is already an contraint: An activity ends students day
Anyway, I am still willing to help
By I do think that official FET is sufficient.
Max hours per real day for students is not really an issue, since few students sets do actually end up with maximum value = 8
And it is always possible to manually move one hour around after generation
QuoteQuote
Same for before the last hour, if last hour is empty.
For this case, there is already an contraint: An activity ends students day
Yes, but a constraint "Activity begins OR ends day" is much more complicated (seems too difficult for me, at least).
Quote
Anyway, I am still willing to help
By I do think that official FET is sufficient.
Max hours per real day for students is not really an issue, since few students sets do actually end up with maximum value = 8
And it is always possible to manually move one hour around after generation
So moving the extra hours is easy? Then, I'll postpone an update of FET Morocco, let's wait for others' comments.
Hello everybody! so sorry i didn't react before. I really do think we need to update the Moroccan version, it started being used widely this school year and I think more and more people will use it next year. I can help testing as far as I can ( I'm not an expert ). I can make a team of four to five people.
OK jaafar, I'll try to find some time to do this, but I cannot promise to do it soon.
About the directory examples/Morocco/, this would be incorrect to appear in the custom version. Should I remove/rename it?
Thanks a million Liviu for the great work you've done developing this wonderful piece of software and thank you for all the interest you're showing in custom versions, notably for Moroccan schools. Forgive me if this has been raised before and for (re)stating the obvious, but wouldn't it be better to merge the custom Moroccan code into the main codebase and activate through a switch in the options? Then you'd only have one version to maintain. I guess that merging the code isn't only a matter of applying a few patches, but the work you put into it will be worthwile in the long run. Thanks a million again. More thanks also for alfaromeo, jafar, and whoever else has helped with the work/ideas.
Thank you for appreciation!
The idea is new (I think) and very good. Even if it were already stated, there would have been no problem.
Indeed, two variables FET_CUSTOM_MOROCCO and FET_CUSTOM_ALGERIA might solve the problems. A few if's in the separate portions.
I'll consider this idea. Only a few points are critical:
1) I might make errors in the official version, by mixing with custom code (this is my biggest concern);
2) Some users might switch to Morocco or Algerian versions by mistake (I know how to solve: write in the FET main window the custom version, so it is visible all the times);
and maybe other problems.
I'll let you know if I'll begin working on this.
hello everybody! thanks again liviu. I think it would be better to remove the directory examples/ Morocco, it won't be of any use. about the idea of Mr Muhtadi if I understand well A ONE VERSION FOR ALL would be very interesting.
I thought about it. A unified version may be considered for the future, but for now I will just update the custom Moroccan version. It is almost complete (I worked today on it), will be probably available tomorrow to test.
OK, by popular request, I updated FET Morocco to 5.14.5. Please see the FET homepage for download link.
Please test and let me know your results.
Let me know if I should change in any way the Custom section of FET homepage (description, part about "You may not need this custom version", etc.)
Let me know if I should update custom FET Algeria as well.
I'm new to FET. So there are a lot of things I don't quite understand! Any help would be greatly appreciated.
1. One thing that baffles me is the need for a dummy day after each two FET days,as per Alfaromeo's suggestion in the readme file of the Morocco example folder ofthe standard version. The logic of the trick escapes me.
2. A lot of schools, including mine, use the so-called Canadian system, in which a teacher never works the same part of two consecutive days. Typically teachers who work Day1.am will work Day2.pm, Day3.am, Day4.pm, Day5.am etc,; and vice versa. I wonder if there's a way to do this with FET.
3. Is there a way of making sure that two teachers (T1 and T2) never work the same half day? Imagine to T1 and T2 are a married couple with a child and no babysitter, or two mortal enemies who will kill each other if they're allowed to meet at chool :-)
4. For every school subject, we have meetings that the teachers of this subject are supposed to attend. For this meeting, we reserve one-half day [a FET day] per week. Is there a way to address teachers of the same subject with the same time constraint without the need to enter the constraints separately for each individual?
This one is only for Liviu, the grandmaster. I need to enter about 1600 activities. Doing it by hand is overkill. So I try to write csv files and import them. The first problem is that even when the csv file has a header, FET still asks the user to assign each header label to the right field in the csv file. In principle, shouldn't it simply assign the labels in the header to the fields in consecutive order ( and possibly then allow the user to change the default assignments)? The second issue is that the import module doesn't handle constraints (yet). I suppose the only way to enter them is through the gui or by editing the XML.
I'll stop here. I suppose that's already too many questions.
Thank you all for indulging me.
QuoteI'm new to FET. So there are a lot of things I don't quite understand! Any help would be greatly appreciated.
1. One thing that baffles me is the need for a dummy day after each two FET days,as per Alfaromeo's suggestion in the readme file of the Morocco example folder ofthe standard version. The logic of the trick escapes me.
2. A lot of schools, including mine, use the so-called Canadian system, in which a teacher never works the same part of two consecutive days. Typically teachers who work Day1.am will work Day2.pm, Day3.am, Day4.pm, Day5.am etc,; and vice versa. I wonder if there's a way to do this with FET.
3. Is there a way of making sure that two teachers (T1 and T2) never work the same half day? Imagine to T1 and T2 are a married couple with a child and no babysitter, or two mortal enemies who will kill each other if they're allowed to meet at chool :-)
4. For every school subject, we have meetings that the teachers of this subject are supposed to attend. For this meeting, we reserve one-half day [a FET day] per week. Is there a way to address teachers of the same subject with the same time constraint without the need to enter the constraints separately for each individual?
1. - I forgot the reason, but it was correct. I hope Volker or alfaromeo will remind us.
2. and 3. - you need a customization of the Morocco custom version. If this is necessary for other Moroccan schools, I'll try to add it to main Moroccan. I could give you the code, let me know if you want it. I wonder why alfaromeo didn't tell me about these kinds of constraints.
4. I am not sure I understand. The answer is probably that you need to enter individual constraints (I didn't care too much about easiness of inputting the data).
Quote
This one is only for Liviu, the grandmaster. I need to enter about 1600 activities. Doing it by hand is overkill. So I try to write csv files and import them. The first problem is that even when the csv file has a header, FET still asks the user to assign each header label to the right field in the csv file. In principle, shouldn't it simply assign the labels in the header to the fields in consecutive order ( and possibly then allow the user to change the default assignments)? The second issue is that the import module doesn't handle constraints (yet). I suppose the only way to enter them is through the gui or by editing the XML.
I'll stop here. I suppose that's already too many questions.
Thank you all for indulging me.
Volker knows the import. He is away now, he might answer in a week or so. If you want automatic recognition of fields, export a file and see it and use the same first line in your file. Yes, constraints must be inputted in the GUI or by hand.
Quote
1. One thing that baffles me is the need for a dummy day after each two FET days,as per Alfaromeo's suggestion in the readme file of the Morocco example folder ofthe standard version. The logic of the trick escapes me.
.
First, we are talking about workarounds to make Official FET understand moroccan constraints which states: A teacher should never work morning and afternoon same day
But FET days are merely half (real) days
For FET, it means a teacher should never work two consecutive days
For humans, it means a teacher should never work morning and afternoon same day, because morning and afternoon are just half days for FET
But, Monday afternoon and
Thursday (Edited to add by Liviu: I think Chafik Graiguer means Tuesday) morning are also consecutive FET days !!!! ;) so FET will never schedule activities there, which is really what you want in the so called Canadian system
The dummy day makes this scenario possible
Quote
2. and 3. - you need a customization of the Morocco custom version. If this is necessary for other Moroccan schools, I'll try to add it to main Moroccan. I could give you the code, let me know if you want it. I wonder why alfaromeo didn't tell me about these kinds of constraints.
It is not mandatory, at least in my school, that's why i didnot point it out
On 18 August 2011 I fixed a crash bug, as reported by Montasir here on the forum: http://lalescu.ro/liviu/fet/forum/index.php?topic=530.msg3125#msg3125, bug which was present also in fet-5_10_2-morocco6. Please upgrade to the latest version!
QuoteOn 18 August 2011 I fixed a crash bug, as reported by Montasir here on the forum: http://lalescu.ro/liviu/fet/forum/index.php?topic=530.msg3125#msg3125, bug which was present also in fet-5_10_2-morocco6. Please upgrade to the latest version!
Thank you so much Liviu for the great job you are doing.I tested the newest version;the bug is fixed.
Regards
On 2 September 2011, I corrected a very minor (unnoticeable) bug. See new version 5_14_5-morocco-3.
QuoteUnfortunately, Official FET does not care about maximum hours daily for students (real day)
It is the only drawback
Otherwise, using tricks in /examples/Morocco, official FET fits Moroccan needs perfectly
Hey, alfaromeo and jaafar! The new constraint, activities occupy max time slots from selection can specify the maximum hours daily for a real day! :-)
You need to add 6 (n_days_per_week) constraints for each students set. Select all activities of the students set, and all slots of the day, and maximum occupied = 7.
Please let me know your opinion!
Looks like we'll bury forever the Algeria and Morocco custom versions?
alfaromeo, could you add the constraints in the official FET example for Morocco, and report results, maybe give me also the file?
About teachers working only morning or only afternoon, I think the new constraint will also help, but we may need many constraints for a single teacher (maybe even 80 constraints for only one teacher, but maybe less). Anyway, you have an old trick for this problem, which you said it worked.
Please let me know asap, before I will release the official version, so we can update the examples/Morrocco file and instructions for users.
Good News !!!
We are heading toward a full use of official FEt for Morocco and maybe Algeria !!
Quote
Hey, alfaromeo and jaafar! The new constraint, activities occupy max time slots from selection can specify the maximum hours daily for a real day! :-)
You need to add 6 (n_days_per_week) constraints for each students set. Select all activities of the students set, and all slots of the day, and maximum occupied = 7.
I think we have to set 6 constraints for every students set. am I right?Edited to add: It is obvious :)
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?
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.
I agree
The new constraint made generation much slower.
Now I will test the new snapshot
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.
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?
Here is the Arabic instructions
it is in the paragraph 5Bis
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).
"
Well
I added nearly the same thing in Arabic, but more in details
If you consider I should detail some more, tell me your words in English.
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
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?
I update both Arabic and English readme, including your words
Attached
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.
You can remove UPDATE from English document
I sent the wrong file,
the good one is attached
Thank you! Done!
I updated the custom Morocco to 5.16.0, please test and report results.
As requested, I updated FET Morocco to version 5.18.0. Please test and report results!
For programmers, please help me check that I ported all the changes from old Morocco. You need to compare old Morocco 5.16.0 sources (official and custom) and then compare official and custom files for Morocco 5.18.0.
Thank you a million Mr.Liviu Lalescu;I have tested it and it's working perfectly
Thank you for testing, Montasir!
PS: You can call me simply Liviu :)
Sorry Liviu but I didn't quite understand what use the new constraint "activities occupy max different rooms" could serve?Have tried it but didn't notice the effect it has on the processing of the time table.
Hello Montasir,
I'm afraid Liviu will be on vacation for a week so you may have to wait till his return for his reply.
OK!Thank you so much Wise.I have tried the constraint again and I noticed it enables different chosen activities to be inserted in one same room along different time slots.Now I wonder if we could choose the room in which our activities will take place?
I am not in a hurry;I will be waiting for Liviu.Thank you
Dear Montasir
I am using the constraint frequently. If you for example have an activity 2+2 then it is possible that the second 2 can be scheduled in a different room than the first 2. If you set the constraint "activities occupy max different rooms" equal to 1 then FET schedules the 2+2 hours in the same room if possible.
Kind regards.
Frans
Quote from: Montasir on July 26, 2012, 10:51:32 AM
OK!Thank you so much Wise.I have tried the constraint again and I noticed it enables different chosen activities to be inserted in one same room along different time slots.Now I wonder if we could choose the room in which our activities will take place?
I am not in a hurry;I will be waiting for Liviu.Thank you
But if you want the single room, then why can't you use preferred room constraints (single room)?
Quote from: Frans on July 29, 2012, 08:44:29 PM
Dear Montasir
I am using the constraint frequently. If you for example have an activity 2+2 then it is possible that the second 2 can be scheduled in a different room than the first 2. If you set the constraint "activities occupy max different rooms" equal to 1 then FET schedules the 2+2 hours in the same room if possible.
Kind regards.
Frans
Dear Frans ;
thank you for the reply
Quote from: Liviu Lalescu on July 29, 2012, 11:09:51 PM
Quote from: Montasir on July 26, 2012, 10:51:32 AM
OK!Thank you so much Wise.I have tried the constraint again and I noticed it enables different chosen activities to be inserted in one same room along different time slots.Now I wonder if we could choose the room in which our activities will take place?
I am not in a hurry;I will be waiting for Liviu.Thank you
But if you want the single room, then why can't you use preferred room constraints (single room)?
I see Thank you
I updated FET Morocco to version 5.18.1. Please test and report results!
I updated FET Morocco to version 5.18.2. Please test and report results!
I updated FET Morocco to version 5.19.0. Please test and report results!
thank you sir. it works perfectly except that if you work with 11 half-day to represent a break time Saturday afternoon -> program crashes
I think that it would be better if you catch this error into you code and display an message box alerting user without exit program
thank you very much and I hope you updates marcocain Version
Please tell me: this problem is in official FET with tricks for Morocco or in the 5.19.0 Morrocan version? And could you please give me an input file to show this? This happens after a timetable is generated, when FET writes the HTML timetables?
This problem occurs with 5.19.0 Morrocan version juste after i try to generate timetable
my input file is in arabic language so I guess it's an opportunity to learn Arabic :)
I send you a demo input file juste for see what happens
thanks
Thank you for your bug report! I'll fix it. I tried today, but I was too tired and I could not make it. Maybe tomorrow.
Take your time, and tkank you again.
On 10 September 2013, I updated custom FET-Morocco to 5.19.4, fixing also the above bug reported by hicham_idrissi. Please test and report results!
It's fine. thanks a lot.
I encountered some problems.
I have my school data in access file so I create directly fet file with VBA and MSXML library and I have to add some attributes like id,short,... all works perfectly except that FET rewrite a final file in output directory without these attributes and I have to use xslt to merge original and result file.
could you suggest me some ideas.
No, sorry, I cannot suggest a solution (if I understood correctly, you add tags other than those recognized by FET).
Sorry I was too busy.
Yes it is precisely what I want mean. Infact I use FET 3 years ago after a recommendation from a colleague and I found it fast and powerfull but it lacks some details like that FET GUI doesn't allow me to add more informations which I need.
So I have to add other tag or attributes from database ( like <Group id="111" short="TCS" section_type="S"... ) But FET rewrite final file named xxx_data_and_timetable.fet without these attributes. I gess that FET rewrite xml stream only with recognized tag.
what I wanted to do is :
1- Use a single data file "xxx_data_and_timetable.fet" generated by FET.
2- For each view I want see ( teacher timetable or group timetable ...) I use XLST for parsing and formatting data form data file directly in my browser. Or export to other format like *.xls ...
3- Use CSS template to customize display.
But it's very difficult for me to do this without these tags or attributes. I hope that I expressed well my problem. Thanks for all.
Bonour Mr Liviu Lalescu :
je vous remerci pour vos efforts continues de devollopement du logiciel Fet .
je sollicite que vous realiser la version 5.21.2 Morocco sachant que la version actuelle est : 5.19.4 Morocco.
Merci d'avance .
-------------------------------------------------------
Bonjour, Mr. buolabat,
I am sorry, but I need more substantial financial help to update FET for Morocco.
Anyway, the changes from 5.19.4 to 5.21.2 are not very important for Morocco; also, I encourage people to work with the official FET and use the tricks in the directory examples/Morocco.
Merci Mr Liviu Lalescu .
De Toute façon nous allons pas oublier vos efforts pour ce logiciel gratuit .
je vous pris de preciser les parametres à modifier dans la version 5.21.2 pour l'utiliser aux colleges du Maroc .
Que dois-je modifier pour le nombre des jours ; les heures ; phase matinée ; phase soirée ....etc ?
encore une fois : 1000 Merci ....
Goodbye
-------------------------------------------------------
Voyez attachees. These are the official files from the FET-5.21.2 examples/Morocco. Read the instructions on how to use the official FET for schools in Morocco. So you can always use the latest FET version.
I will try to allocate time in the future to update 5.19.4 to 5.21.2 on special Morocco version, but I cannot promise.
Quote from: Liviu Lalescu on May 03, 2014, 12:55:43 PM
I will try to allocate time in the future to update 5.19.4 to 5.21.2 on special Morocco version, but I cannot promise.
Merci pour cette belle phrase qui porte un peu d'espoir .
Que Dieu vous aide .
Hello;
I tried the newest version and made the necessary tricks so it can fit Moroccan schools andnoticed that it doesn't allow for more than four sessions(hours) as maximum periods for students daily.For Moroccan schools we need 8 hours. Any help!
Quote from: Montasir on August 08, 2014, 01:43:23 AM
Hello;
I tried the newest version and made the necessary tricks so it can fit Moroccan schools andnoticed that it doesn't allow for more than four sessions(hours) as maximum periods for students daily.For Moroccan schools we need 8 hours. Any help!
I answered here: http://lalescu.ro/liviu/fet/forum/index.php?topic=1720.0 . Please try not to post duplicates.
Salut,
Je suis nouveau sur ce blog, mais je suis un utilisateur de FET depuis maintenant 3 ans.
Il se trouve que quand je génère un emploi du temps, certains d'entre eux comporte beaucoup trop de mâtiné de travail (une mâtiné c'est de 8h à 12h) par rapport aux après-midis (un après-midi c'est de 14h à 18h), ou bien c'est l'inverse qui se produit.
Exemple :
Si un prof a une charge horaire de 24 heures par semaine, soit 6 jours de travail de 4 heures chacune. Dans ce cas la distribution idéal est la suivante :
- 3 jours où le prof travaillera uniquement les matinées (de 8h à 12h).
- 3 jours où le prof travaillera uniquement les après-midis (de 14h à 18h).
Or, les résultats que j'obtiens ne sont pas répartis de façon aussi équivalente.
Donc, je me permets de vous demander d'ajouter une option à votre logiciel, qui nous permettra de spécifier pour chaque prof les contraintes suivante :
- Le nombre max de mâtinés de travail par semaine pour chaque prof.
- Le nombre max de d'après-midis de travail par semaine pour chaque prof.
- Le nombre min de mâtinés de travail par semaine pour chaque prof.
Le nombre min de d'après-midis de travail par semaine pour chaque prof.
Je n'oublie pas de vous remercier pour l'ensemble de vos efforts.
Cordialement, Karim KHALAFI.
I prefer to talk about possible tricks, using the constraints that are currently available.
For the max days of morning/afternoon, it is very simple: say the week has 5 mornings and you want maximum 3 mornings of work for teacher T. Then add for him additionally 2 activities, each with duration 4, preferred times in the morning, each day possible.
For the min days of morning/afternoon, I see no good trick for the moment. But if you have the max days, do you really need the min days constraint? (For min days of morning/afternoon, can the min days total, which is available, be of any help?)
Merci beaucoup pour avoir répondue aussi rapidement.
Donc, j'ai testé la solution que vous m'avais proposée, et j'ai rajouté à chaque prof 2 activités d'une durée de 4 heures chacune.
Le problème qui se pose, c'est qu'au Maroc un prof ne travail qu'une demi-journée (la matinée ou l'après-midi).
Alors quand on affecte une activité de 4 heures à un prof durant l'après-midi d'un jour « J », il en résulte que ce prof ne peut plus travailler la matinée de ce même jour « J ».
Ce que je veux dire, c'est que si on rajoute 2 activités d'une durée de 4 heures à un prof « T » c'est comme si on affecter à ce même prof 2 journées de libres.
J'espère que je me suis bien fait comprendre !
Cordialement Karim KHALAFI.
Oh, I forgot about that! Sorry!
Please try to experiment my tricks for FET Algeria or for FET official on a file as in examples/Morocco/Hadkourt/ , then let me know.
(I think FET Algeria has not the restriction that a teacher works either morning or afternoon.)
Quote from: Liviu Lalescu on August 13, 2014, 06:25:46 AM
Oh, I forgot about that! Sorry!
Please try to experiment my tricks for FET Algeria or for FET official on a file as in examples/Morocco/Hadkourt/ , then let me know.
(I think FET Algeria has not the restriction that a teacher works either morning or afternoon.)
J'ai testé ta solution sur FET officiel, et je peux vous dire que j'ai obtenue de bons résultats.
Il me reste à vous demander une dernière chose, et ce qu'il est possible d'obtenir une présentation standard des emplois du temps (voir l'image ci-dessous).
(http://img15.hostingpics.net/thumbs/mini_495447EmploieDuTemps.jpg) (http://www.hostingpics.net/viewer.php?id=495447EmploieDuTemps.jpg)
Je ne vous remercierais jamais assez pour votre soutien, Cordialement.
Kerim KHALAFI.
There is no direct way. You could do a CSV export of the timetable from FET and then import in a spreadsheet program (Excel, Libre Office Calc) and do the automatic arrangement.
Bonsoir je suis un utilisateur d'un FET, je dirais même un FANE.
Je tente de générer un emploi du temps pour mon collège et je bute sur un petit problème est le suivant :
Pour un enseignant donné « T » j'ai affecté des classes répartis sur 3 niveaux (N1, N2 et N3) et je désire que cet enseignant se voie attribuer des classes de deux niveaux max par jour :
C'est-à-dire que cet enseignant aura dans un jour de travail des classes des niveaux (N1 et N2) ou bien (N1 et N3) ou bien (N2 et N3).
Es ce que vous pouvez me dire comment faire ?
Cordialement BOUBKER.
Quote from: mb812005 on August 27, 2014, 11:48:27 PM
Bonsoir je suis un utilisateur d'un FET, je dirais même un FANE.
Je tente de générer un emploi du temps pour mon collège et je bute sur un petit problème est le suivant :
Pour un enseignant donné « T » j'ai affecté des classes répartis sur 3 niveaux (N1, N2 et N3) et je désire que cet enseignant se voie attribuer des classes de deux niveaux max par jour :
C'est-à-dire que cet enseignant aura dans un jour de travail des classes des niveaux (N1 et N2) ou bien (N1 et N3) ou bien (N2 et N3).
Es ce que vous pouvez me dire comment faire ?
Cordialement BOUBKER.
Are you using FET official or Morocco?
I'm sorry, but I think what you need cannot be done with current FET. It might be possible as a new constraint. I am adding this in the TODO, but I cannot guarantee I will do this.
Quote from: Liviu Lalescu on August 15, 2014, 05:36:47 AM
There is no direct way. You could do a CSV export of the timetable from FET and then import in a spreadsheet program (Excel, Libre Office Calc) and do the automatic arrangement.
Et voilà, j'ai suivi vos conseils et j'ai écrit quelques lignes de VBA pour obtenir un fichier Excel me permettant d'importer les données de l'emploi du temps depuis des fichiers CSV.
Ce fichier me permet de facilement mettre en forme et d'imprimer les emplois de temps des profs est des élèves.
Voici le fichier Excel en question : https://www.sendspace.com/file/pm6qjm (https://www.sendspace.com/file/pm6qjm)
Et les fichiers CSV de mon emploi du temps : https://www.sendspace.com/file/k50ald (https://www.sendspace.com/file/k50ald)
Je vous prie de bien vouloir y jeter un œil et de me faire part de vos précieuses remarques.
Cordialement Karim KHALAFI.
Quote from: khalafi on August 28, 2014, 05:45:54 PM
Et voilà, j'ai suivi vos conseils et j'ai écrit quelques lignes de VBA pour obtenir un fichier Excel me permettant d'importer les données de l'emploi du temps depuis des fichiers CSV.
Ce fichier me permet de facilement mettre en forme et d'imprimer les emplois de temps des profs est des élèves.
Voici le fichier Excel en question : https://www.sendspace.com/file/pm6qjm (https://www.sendspace.com/file/pm6qjm)
Et les fichiers CSV de mon emploi du temps : https://www.sendspace.com/file/k50ald (https://www.sendspace.com/file/k50ald)
Je vous prie de bien vouloir y jeter un œil et de me faire part de vos précieuses remarques.
Cordialement Karim KHALAFI.
Thank you!
Firstly, you could attach the files directly here, because it is simpler for the users.
Secondly, I took a look, but I am not the best person to criticize this. Let's wait for other users to share their opinion.
Quote from: Liviu Lalescu on August 28, 2014, 07:10:49 PM
Quote from: khalafi on August 28, 2014, 05:45:54 PM
Thank you!
Firstly, you could attach the files directly here, because it is simpler for the users.
Secondly, I took a look, but I am not the best person to criticize this. Let's wait for other users to share their opinion.
Et voilà, j'ai attaché les fichiers comme demandé.
Quote from: khalafi on August 28, 2014, 07:26:03 PM
Et voilà, j'ai attaché les fichiers comme demandé.
Merci! J'espere qu'autres utilisateurs leur trouvera outils.
Thank you! I hope that other users will find them useful.
Salut, j'espère que tout va pour le mieux.
Je viens de finir les emplois de temps, et je suis assez satisfait des résultats.
Je viens aussi de recevoir quelques demandes de certains profs, et j'avoue que je ne sais vraiment pas comment les satisfaire.
Les requêtes sont comme suite :
- Requête 1 : deux ou trois profs désire avoir les mêmes demi-journées de travail ; je désire répondre à cette requête son passer par la contrainte (un enseignant est indisponible) car l'emploi du temps deviens impossible à générer.
- Requête 2 : plusieurs enseignants se plaignent de voir une classe « C » à un jour « J » durant la séance « 17h : 18h », et de devoir revoir la même classe « C » au jour « J+1 » durant la séance « 08h : 09h ». Je ne voudrai pas mettre deux jours d'intervalle entre les activités car cela rend l'emploi du temps impossible à générer.
Je sais que je deviens lord à force de toujours demander des solutions à mes problèmes, mais je sais aussi que je ne m'adresse pas à n'importe qui et que vous allez m'aider comme d'habitude.
Cordialement Karim KHALAFI.
For request 1, you may try this:
a) If the teachers need to work in the exact same hours all of them, use constraint activities occupy max time slots from selection. Activities = all activities of all teachers, selected slots = all slots, max occupied slots = number of activities of the teacher with the most activities.
b) If the exact half days must be met, then you might add activities with duration 4 for these teachers, and constrain each group of these dummy activities to have the same starting time.
For request 2, you may try to use the constraint activities occupy max time slots from selection. You might need to add many constraints (n_days_per_week-1 for each teacher/students set problem). Add all activities for the teacher/students set, selected slots = Monday 17-18 and Tuesday 8-9, max occupied = 1. And so on.
Quote from: Liviu Lalescu on August 29, 2014, 09:04:21 AM
For request 1, you may try this:
a) If the teachers need to work in the exact same hours all of them, use constraint activities occupy max time slots from selection. Activities = all activities of all teachers, selected slots = all slots, max occupied slots = number of activities of the teacher with the most activities.
b) If the exact half days must be met, then you might add activities with duration 4 for these teachers, and constrain each group of these dummy activities to have the same starting time.
For request 2, you may try to use the constraint activities occupy max time slots from selection. You might need to add many constraints (n_days_per_week-1 for each teacher/students set problem). Add all activities for the teacher/students set, selected slots = Monday 17-18 and Tuesday 8-9, max occupied = 1. And so on.
Bonjours,
J'ai utilisé les solutions que vous m'avez proposées, et j'ai pu réaliser les requêtes avec succès.
J'ai apprécié la solution de la première requête, car elle est aussi efficace que facile à mettre en œuvre.
Par contre la solution de la deuxième requête, s'avère difficile en pratique car les contraintes que l'on doit créer sont nombreuses, je dirais même trop nombreuses.
Es ce qu'on ne peut pas penser différemment et trouver comment réaliser la deuxième requête sans devoir créer autant de contraintes.
Cordialement Karim KHALAFI.
Quote from: khalafi on September 01, 2014, 08:24:52 PM
Es ce qu'on ne peut pas penser différemment et trouver comment réaliser la deuxième requête sans devoir créer autant de contraintes.
Cordialement Karim KHALAFI.
I cannot think of another solution.
الأخ khalafi
هل من الممكن أن تشرح لنا طريقة عمل البرنامج الذي قمت بصنعه من أجل الحصول على نموذج لاستعمال الزمن يسمح بطباعة الأيام مباشرة فقد حاولت أن أستعمله لكنه لم يشتغل
شكرا جزيلا
Quote from: mouiata on September 02, 2014, 09:46:28 PM
الأخ khalafi
هل من الممكن أن تشرح لنا طريقة عمل البرنامج الذي قمت بصنعه من أجل الحصول على نموذج لاستعمال الزمن يسمح بطباعة الأيام مباشرة فقد حاولت أن أستعمله لكنه لم يشتغل
شكرا جزيلا
Premièrement : il faut travailler avec 4 séances et 12 jours (ou bien 17 jours si tu utilises les jours imaginaires).
Deuxièmement : il ne faut pas utiliser de lettres arabe pour les données que tu saisie dans FET.
Troisièmement : après avoir généré ton emploi du temps, il te faut aller dans le menu « Fichier » et exporter les données sous forme de fichier CSV.
Finalement : tu vas importer les données dans ton fichier Excel.
Si tu n'arrives pas à obtenir un résultat satisfaisant, contacte moi pour que je puisse t'aider. Je pense que je ferais une vidéo dans laquelle j'explique les étapes à suivre.
merci mon frere
comment j' importer les données dans le fichier Excel?
car quand je clic sur le botton assistant importation de données rien ne marche
Quote from: mouiata on September 04, 2014, 09:43:22 PM
merci mon frere
comment j' importer les données dans le fichier Excel?
car quand je clic sur le botton assistant importation de données rien ne marche
Quand tu ouvres le fichier Excel pour la première fois, tu verras apparaitre juste sous le ruban office, une bonde jaune qui comporte un bouton sur lequel il est écrit « Activer les macros ».
Tu dois cliquer dessus, pour que les macros soit utilisable ; le bouton assistant importation marchera dans ce cas.
شكرا جزيلا أخي
لقد قمت بالتجربة مع ملف csv
الذي قمت انت بإرساله مع ملف اكسل لكن عندما أصل إلى آخر مرحلة تأتيني رسالة مكتوب فيه مايلي
Erreue d'exécution '-2147417848 (80010108)':
La méthode 'Sort' de l' objet 'Range' a échoué
و عندما أضغط على
Fin ou Débogage
يتوقف البرنامج و لا يستجيب و يظل هكذا حتى أضطر إلى إعادة تشغيل الجهاز
للعلم لم أقم بتجربة على ملفاتي لأننا في الجزائر نعمل ب 10 أيام فهل من الممكن تعديل البرنامج ليعمل على 10 أيام بدل 12 يوما
Quote from: mouiata on September 05, 2014, 01:12:58 PM
شكرا جزيلا أخي
لقد قمت بالتجربة مع ملف csv
الذي قمت انت بإرساله مع ملف اكسل لكن عندما أصل إلى آخر مرحلة تأتيني رسالة مكتوب فيه مايلي
Erreue d'exécution '-2147417848 (80010108)':
La méthode 'Sort' de l' objet 'Range' a échoué
و عندما أضغط على
Fin ou Débogage
يتوقف البرنامج و لا يستجيب و يظل هكذا حتى أضطر إلى إعادة تشغيل الجهاز
Ce problème se pose pour quelques utilisateurs en raison de quelques problèmes de compatibilités, je vais corriger ça dans la prochaine version.
Quote from: mouiata on September 05, 2014, 01:12:58 PM
للعلم لم أقم بتجربة على ملفاتي لأننا في الجزائر نعمل ب 10 أيام فهل من الممكن تعديل البرنامج ليعمل على 10 أيام بدل 12 يوما
Si vous travailler avec 10 jours par semaine cela ne pose pas de problèmes, veillez juste à ce qu'il y est bien 10 journées bien ordonnée dans la liste des jours après l'importation.
Finalement : es ce que vous pouvez me transmettre votre fichier FET vos fichiers CSV pour que je puisse faire des tests.
Suite aux remarques de Mr Mouiata, j'ai revue certaines parties du code VBA et j'ai corrigé quelques erreurs de compatibilité.
Voici alors la version 1.1 du programme revue et corrigé en plus de mes fichiers CSV si vous voulez les utiliser comme test de référence.
J'attends vos précieuses remarque qui m'aiderons à améliorer cette application.
If you want, I can add these programs in the Tools/Links section of the FET homepage. Please let me know the description you want, in this case.
Also, let me know if you can host these files on a commercial-free page. If not, I can give a link to the forum topic.
Quote from: Liviu Lalescu on September 06, 2014, 01:55:32 PM
If you want, I can add these programs in the Tools/Links section of the FET homepage. Please let me know the description you want, in this case.
Cela me ferais plaisir, du moment que ça aide les autres.
Pour ce qui est de la description, je te laisse choisir ce qui convient.
Quote from: Liviu Lalescu on September 06, 2014, 01:55:32 PM
Also, let me know if you can host these files on a commercial-free page. If not, I can give a link to the forum topic.
Je ne comprends pas ce que veut dire « commercial-free page » ?
Quote from: khalafi on September 06, 2014, 02:05:23 PM
Je ne comprends pas ce que veut dire « commercial-free page » ?
Sorry, I meant commercials-free (no nags, no commercials).
Quote from: Liviu Lalescu on September 06, 2014, 02:15:50 PM
Sorry, I meant commercials-free (no nags, no commercials).
Cette petite application est libre, je l'ai réalisé en utilisant Excel et VBA (sans protection du code par mot de passe, qui d'ailleurs ne sert à rien) pour qu'elle puisse être utilisée par un maximum de personne.
Je n'ai pas de but commercial, je veux juste que ça puisse servir les autres.
Et merci pour l'intérêt que vous portez à ce modeste travail, cela me touche vraiment !
Cordialement Karim KHALAFI.
Oh, no, I meant if you can host the files on a commercials-free page of yours. But I suppose not, so I will add the links from here. Of course I know your application is correct.
I added this on the Tools/Links page, please check it.
Quote from: Liviu Lalescu on September 06, 2014, 02:32:13 PM
Oh, no, I meant if you can host the files on a commercials-free page of yours. But I suppose not, so I will add the links from here. Of course I know your application is correct.
Ok, merci, je me sens ridicule de n'avoir pas compris ta phrase depuis le début.
Quoi qu'il en soit, merci de rajouter un lien vers l'application, si j'arrive à réaliser une page web pour cette application je te le ferai savoir.
Merci pour tout.
Voilà, c'est fait :
Voici la page dédiée à l'application EDT : https://sourceforge.net/projects/edt-for-fet/
J'espère que cela te convient.
OK, please check the Tools/Links section for your contribution.
Merci!
Quote from: khalafi on September 06, 2014, 04:51:50 PM
Voilà, c'est fait :
Voici la page dédiée à l'application EDT : https://sourceforge.net/projects/edt-for-fet/
J'espère que cela te convient.
Thanks for the file, but there is a problem about Arabic language in the excel sheet. the characters are not ok.
i made a time table with FET in Arabic. but the characters doesn't appear properly in the excel file.
hope i am clear
thanx in advance
HI
Liviu LalescuMILLIONS OF THANKS TO YOU MY FRIEND FOR PROVIDING US WITH THIS GREAT TOOL. YOU HAVE SAVED THOUSANDS OF TEACHERS GREAT DEAL OF TIME IN MAKING TIME TABLES.
THANKS AGAIN AND I HOPE THAT YOUR SUPPORT WOULD NEVER STOP
[/b]
Thank you for the appreciation! :)
الأخ khalafi
لقد أنجزت توزيعا بعشرة أيام و جربت البرنامج لكن وقعت في مشكلة تداخل الأيام و رغم أنني حاولت تنضيم الأيام في المرحلة الثالثة إلا ان الخلط في الأيام بقي كما هو
فهل يمكن تحديث البرنامج ليتوافق مع استعمال زمن بعشرة أيام ؟ أم أن هناك حل آخر
أمر أخير هل يمكن تحديث البرنامج ليتوافق مع اللغة العربية
فيما يخص الملفات التي طلبتها سأرسلها لك عبر البريد الاكتروني
شكرا جزيلا
Quote from: mhaddat on September 07, 2014, 04:05:29 PM
Thanks for the file, but there is a problem about Arabic language in the excel sheet. the characters are not ok.
i made a time table with FET in Arabic. but the characters doesn't appear properly in the excel file.
hope i am clear
thanx in advance
Oui je sais qu'il y a un problème aves les caractères arabes, mais ce problème est inhérent au mode de transfert des données au moyen des fichiers CSV (le codage des fichiers CSV ne supporte pas les caractères arabe).
Quoi qu'il en soit, je suis en train de chercher un moyen pour régler ce problème.
Je vous tiendrai aux courants dès que c'est fait sur ce forum.
Je suis en attente, de vos remarques, merci !
Quote from: mouiata on September 07, 2014, 09:24:14 PM
الأخ khalafi
لقد أنجزت توزيعا بعشرة أيام و جربت البرنامج لكن وقعت في مشكلة تداخل الأيام و رغم أنني حاولت تنضيم الأيام في المرحلة الثالثة إلا ان الخلط في الأيام بقي كما هو
فهل يمكن تحديث البرنامج ليتوافق مع استعمال زمن بعشرة أيام ؟ أم أن هناك حل آخر
أمر أخير هل يمكن تحديث البرنامج ليتوافق مع اللغة العربية
فيما يخص الملفات التي طلبتها سأرسلها لك عبر البريد الاكتروني
شكرا جزيلا
J'ai testé l'application avec un emploi du temps de 10 jours est ça marche parfaitement.
J'attends toujours que tu m'envoie tes fichiers CSV et ton fichier FET.
Si tu me les envois je pourrai mieux t'aider.
Cordialement Karim KHALAFI.
Sadly i can't speak French. What do you mean with CSV doesn't support arabic letters? I can import csv files with arabic letters very well with OpenOffice and LibreOffice. (But i must admit i didn't tried your makro and/or Microsoft Excel yet.) I will check the problem later this week.
Quote from: Volker Dirr on September 07, 2014, 10:26:50 PM
Sadly i can't speak French. What do you mean with CSV doesn't support arabic letters? I can import csv files with arabic letters very well with OpenOffice and LibreOffice. (But i must admit i didn't tried your makro and/or Microsoft Excel yet.) I will check the problem later this week.
Désolé de m'être fait mal comprendre, je voulais dire que la méthode que j'utilise pour importer les données des fichiers CSV ne garantit pas l'intégrité des données écrites en arabe.
Je cherche une solution à ce problème, et j'espère trouver rapidement.
Merci pour ta remarque !
Suite aux remarques de Mr Boubaker, qui m'a signalé un problème concernant la gestion des groupes et les noms de classe (quand en nome une classe « 3/1 » par exemple Excel considère que c'est une date).
J'ai corrigé ces erreurs et je mets à votre disposition la nouvelle version de l'application.
Merci de tester et de me faire part de vos commentaires.
Cordialement, Karim KHALAFI.
Quote from: mhaddat on September 07, 2014, 04:05:29 PM
Thanks for the file, but there is a problem about Arabic language in the excel sheet. the characters are not ok.
i made a time table with FET in Arabic. but the characters doesn't appear properly in the excel file.
hope i am clear
thanx in advance
Aussitôt demandé, aussitôt fait.
Voici l'application « EDT » avec prise en charge des caractères arabe, j'ai complétement revue la procédure d'acquisition des données et j'ai testé et ça marche.
Merci de tester à votre tour et dites-moi si ça fonctionne pour vous !
I will try to code some stuff, so you will be able to print with fet directly or print fet generated html timetables. Please wait a bit. I am very busy at the moment, but i think/hope i will be ready on Sunday.
I will also try Karim KHALAFI version more detailed tonight, it looks like he done a good job.
Quote from: Volker Dirr on September 08, 2014, 04:48:08 PM
I will try to code some stuff, so you will be able to print with fet directly or print fet generated html timetables. Please wait a bit. I am very busy at the moment, but i think/hope i will be ready on Sunday.
I will also try Karim KHALAFI version more detailed tonight, it looks like he done a good job.
Merci pour votre attention, j'attends vos conclusions avec impatience.
أخي أريد أن أرسل إليك الملفات عن طريق الإيمايل هل من الممكن تزويدي بالعنوان ؟
Hallo Karim KHALAFI,
i tried your program. Even i don't speak French nor Arabic, it was easy to use.
I just played a bit with one arabic sample file. Looks like all is working fine.
I didn't tried: Is there a limit if you import a fet file for the number of categories and divisions if you divide the year automaticly (fet -> data -> students -> year -> dividet automaticaly)?
Even your program is already fine, i will try to code some stuff, so you will be able to print default fet timetables. So you will be also possible to print the other tables (rooms, subjects, teachers free times, ...). I think i will be ready in a few days.
Quote from: Volker Dirr on September 09, 2014, 01:23:07 PM
Hallo Karim KHALAFI,
i tried your program. Even i don't speak French nor Arabic, it was easy to use.
I just played a bit with one arabic sample file. Looks like all is working fine.
I didn't tried: Is there a limit if you import a fet file for the number of categories and divisions if you divide the year automaticly (fet -> data -> students -> year -> dividet automaticaly)?
Even your program is already fine, i will try to code some stuff, so you will be able to print default fet timetables. So you will be also possible to print the other tables (rooms, subjects, teachers free times, ...). I think i will be ready in a few days.
J'ai réalisé l'application de telle sorte que l'utilisateur peut travailler avec 1 catégorie et 2 devisions, je sais que cela est une limitation non négligeable, mais j'avais l'intention d'améliorer mon application plus tard, car on ne peut pas tout faire à la fois.
J'avais aussi l'intention de rajouter par la suite l'impression des salles libres, des emplois du temps par matière ou par niveau, ... Mais comme cela va être intégré par vos soins dans l'application FET, je ne peux qu'être ravie de cette nouvelle.
Merci pour vos efforts, sachez qu'ils sont appréciés.
Cordialement, Karim KHALAFI.
Quote from: mouiata on September 09, 2014, 06:27:21 AM
أخي أريد أن أرسل إليك الملفات عن طريق الإيمايل هل من الممكن تزويدي بالعنوان ؟
avec plaisir, voici mon mail : khalafi.karim AT gmail DOT com
Hello, Karim Khalafi,
I recommend you to edit the previous message, to write the email address like: me AT gmail DOT com or similar (obfuscated), to prevent automatic spam.
الاخ KHALAFI
هل وصلتك الملفات و شكرا
Quote from: mouiata on September 09, 2014, 09:15:46 PM
الاخ KHALAFI
هل وصلتك الملفات و شكرا
Non, je n'ai rien reçu de ta part !
Vérifie si tu as bien écrit mon e-mail !
اخ khalafi
لقد ارسلت لك الملفات من جديد في حال لم تصل ارسل لي رسالة خاصة في الايمايل لكي يتسنى لي التأكد من عنوانك الالكتروني و هذا هو عنواني
mouiata
@
gmail.
com
Quote from: mouiata on September 10, 2014, 05:47:30 AM
اخ khalafi
لقد ارسلت لك الملفات من جديد في حال لم تصل ارسل لي رسالة خاصة في الايمايل لكي يتسنى لي التأكد من عنوانك الالكتروني و هذا هو عنواني
mouiata
@
gmail.
com
Je n'ai rien reçu, et je n'arrive pas à comprendre où se situe le problème ?
Quoi qu'il en soit je viens de t'envoyer un mail auquel il vous suffit de répondre !
J'attends vraiment vos fichiers !
Merci.
I wrote a small converter to print the fet timetables with fet.
Please check:
http://lalescu.ro/liviu/fet/forum/index.php?topic=1744.0
On 4 June 2015 I updated FET-Morocco to the latest version, FET-5.27.2. Please download, test thoroughly and let me know if there are bugs/problems.
Quote from: Liviu Lalescu on June 04, 2015, 11:02:17 AM
On 4 June 2015 I updated FET-Morocco to the latest version, FET-5.27.2. Please download, test thoroughly and let me know if there are bugs/problems.
C'est quoi les nouvelles fonctionnalités de cette version, es ce qu'il est plus avantageux d'utiliser la version officielle ou la version marocaine ?
Quote from: khalafi on June 04, 2015, 06:01:48 PM
C'est quoi les nouvelles fonctionnalités de cette version,
http://lalescu.ro/liviu/fet/news.html - see the news from 5.19.4 to 5.27.2.
Quote
es ce qu'il est plus avantageux d'utiliser la version officielle ou la version marocaine ?
They should both bring good solutions. The official version is a bit more difficult to use - you need to use the tricks from the Morocco examples. But if you use the official, you will always be able to use the latest version.
I updated the Morocco version because a user told me they are using it extensively in Morocco.
Es ce que vous pouvez me dire comment faire pour que les séances de 2 heures se fasse uniquement dans les créneaux suivant (08h00 -> 10h00 ou 10h00 -> 12h00h ou 14h00 -> 16h00 ou bien 16h00 -> 18h00).
Ce que je veux éviter c'est de me retrouver avec des séances de 2 heures qui occupent des créneaux tel que (09h00 -> 11h00) ou bien (15h00 -> 17h00).
Quote from: khalafi on June 04, 2015, 07:56:18 PM
Es ce que vous pouvez me dire comment faire pour que les séances de 2 heures se fasse uniquement dans les créneaux suivant (08h00 -> 10h00 ou 10h00 -> 12h00h ou 14h00 -> 16h00 ou bien 16h00 -> 18h00).
Ce que je veux éviter c'est de me retrouver avec des séances de 2 heures qui occupent des créneaux tel que (09h00 -> 11h00) ou bien (15h00 -> 17h00).
For each activity with duration 2 add an activity tag, like "2". Then activities preferred starting times for activity tag "2".
Je m'excuse pour questions qui n'en finissent pas, mais j'ai une dernière question :
Comment limiter le nombre de fois où un prof travail l'après-midi à trois après-midi max par semaine dans le cas où en utilise FET version Maroc.
Je précise aussi que chaque demi-journée est composée de 5 périodes devisées comme suit : (2 heures de cours puis une pause puis 2 heures de cours)
Quote from: khalafi on June 04, 2015, 08:53:23 PM
Je m'excuse pour questions qui n'en finissent pas, mais j'ai une dernière question :
Comment limiter le nombre de fois où un prof travail l'après-midi à trois après-midi max par semaine dans le cas où en utilise FET version Maroc.
Je précise aussi que chaque demi-journée est composée de 5 périodes devisées comme suit : (2 heures de cours puis une pause puis 2 heures de cours)
Pas de probleme :)
Maybe you could use constraint activities occupy max time slots from selection, but I am not sure.
But I think this trick should work: if the teachers work 5 days per week and in maximum 3 they should be working afternoon, add 2 dummy activities with duration the whole afternoon (and add some activity tag for them), preferred time for them (using the activity tag) in the afternoon. So there will be place only for maximum additional 3 real afternoons.
Please let me know if it works.
Quote from: Liviu Lalescu on June 04, 2015, 11:02:17 AM
On 4 June 2015 I updated FET-Morocco to the latest version, FET-5.27.2. Please download, test thoroughly and let me know if there are bugs/problems.
1.000.000.000 Thanks Mr Liviu Lalescu
28 Sept 2013 : Fet Morocco version 5.19.4
4 June 2015 : Fet Morocco version 5.27.2
;D ;D
--------------------------------------------
Quote from: Liviu Lalescu on June 04, 2015, 09:07:02 PM
Pas de probleme :)
Maybe you could use constraint activities occupy max time slots from selection, but I am not sure.
But I think this trick should work: if the teachers work 5 days per week and in maximum 3 they should be working afternoon, add 2 dummy activities with duration the whole afternoon (and add some activity tag for them), preferred time for them (using the activity tag) in the afternoon. So there will be place only for maximum additional 3 real afternoons.
Please let me know if it works.
Malheureusement cette méthode ne marche pas.
FET me donne comme résultat des journées avec des cours matin et après-midi, et d'autres journées avec une demi-journée de libre et l'autre demi-journée avec la matière fictive.
Quote from: khalafi on June 06, 2015, 11:25:27 PM
Malheureusement cette méthode ne marche pas.
Yes, I forgot that teachers cannot have hours morning + afternoon same day.
Quote
FET me donne comme résultat des journées avec des cours matin et après-midi,
This is not possible. Please show me your file (for custom Morocco version).
Quote
et d'autres journées avec une demi-journée de libre et l'autre demi-journée avec la matière fictive.
Yes, I forgot about this. I will add a new time constraint, teacher(s) max afternoons per week.
Quote from: Liviu Lalescu on June 07, 2015, 07:49:25 AM
Quote from: khalafi on June 06, 2015, 11:25:27 PM
Malheureusement cette méthode ne marche pas.
Yes, I forgot that teachers cannot have hours morning + afternoon same day.
Quote
FET me donne comme résultat des journées avec des cours matin et après-midi,
This is not possible. Please show me your file (for custom Morocco version).
C'est parfaitement possible car j'ai activé l'option qui permet à un prof de travailler matin et après-midi durant une ou deux journées.
Quote from: Liviu Lalescu on June 07, 2015, 07:49:25 AM
Quote from: khalafi on June 06, 2015, 11:25:27 PM
et d'autres journées avec une demi-journée de libre et l'autre demi-journée avec la matière fictive.
Yes, I forgot about this. I will add a new time constraint, teacher(s) max afternoons per week.
C'est la nouvelle que j'attendais depuis longtemps, si vous réalisez cette contrainte je vous serais infiniment reconnaissant.
Quote from: khalafi on June 07, 2015, 02:47:04 PM
Quote from: Liviu Lalescu on June 07, 2015, 07:49:25 AM
Quote from: khalafi on June 06, 2015, 11:25:27 PM
et d'autres journées avec une demi-journée de libre et l'autre demi-journée avec la matière fictive.
Yes, I forgot about this. I will add a new time constraint, teacher(s) max afternoons per week.
C'est la nouvelle que j'attendais depuis longtemps, si vous réalisez cette contrainte je vous serais infiniment reconnaissant.
I did it, I hope it works well for you :)
Please get version 5.27.2-morocco2 from the same download location.
I added constraints teacher(s) max mornings/afternoons per week, suggested by khalafi and jillali elghazoui.
Please let me know if it works.
Quote from: Liviu Lalescu on June 07, 2015, 04:51:15 PM
I did it, I hope it works well for you :)
Please get version 5.27.2-morocco2 from the same download location.
I added constraints teacher(s) max mornings/afternoons per week, suggested by khalafi and jillali elghazoui.
Please let me know if it works.
Il marche merveilleusement bien, l'ajout de ses contraintes me simplifie vraiment la vie.
Merci pour votre compréhension, et bonne continuation.
On 9 June 2015, suggested by jillali elghazoui, I made the constraint max days between activities to consider real days. I released a new version, fet-5.27.3-morocco.
http://lalescu.ro/liviu/fet/download/custom/morocco/test/
As suggested by jillali elghazoui, the user can select that the students do not have real empty days.
Please test extensively and let me know if it works OK. If there are
bugs, the timetable might be impossible, so it is very important there
are no bugs.
Bonsoir, je me permets de réitérer la demande de Monsieur Boubaker qui a été posté sous la référence suivante :
« Reply #111 on : August 27, 2014, 04:48:27 PM »
J'avoue que j'ai vraiment besoin de cette fonctionnalité, et sa réalisation serait un vrais plus pour FET-Morocco.
Voici le détail de la demande :
« Je tente de générer un emploi du temps pour mon collège et je bute sur un petit problème est le suivant :
Pour un enseignant donné (T) j'ai affecté des classes répartis sur 3 niveaux (N1, N2 et N3) et je désire que cet enseignant se voie attribuer des classes de deux niveaux max par jour :
C'est-à-dire que cet enseignant aura dans un jour de travail des classes des niveaux (N1 et N2) ou bien (N1 et N3) ou bien (N2 et N3) ».
Dans l'attente d'une réponse rapide et favorable, je vous prie d'accepter nos sincères remerciements.
Karim Khalafi.
Real days or FET days?
Quote from: Liviu Lalescu on June 16, 2015, 10:48:41 AM
Real days or FET days?
Comme en parle de FET-Morocco et qu'un prof ne travail qu'une demi-journée par jour réel, je pense qu'il serait préférable d'appliquer cette contrainte aux demi-journées (FET days).
Cordialement Karim Khalafi.
There may be one day or two days exceptions for some teachers.
Quote from: Liviu Lalescu on June 16, 2015, 05:39:15 PM
There may be one day or two days exceptions for some teachers.
Dans ce cas la contrainte s'appliquera à chacune des demi-journées séparément.
I hope I have good news: I made this in the engine, and it seems to work. I'll do tomorrow the interface (which is much simpler to do).
I made this for activity tags N1, N2 and N3, and for teacher(s).
I'll let you know.
Quote from: Liviu Lalescu on June 16, 2015, 09:02:02 PM
I hope I have good news: I made this in the engine, and it seems to work. I'll do tomorrow the interface (which is much simpler to do).
I made this for activity tags N1, N2 and N3, and for teacher(s).
I'll let you know.
c'est merveilleux je suis impatient de voir les résultats,vivement demain pour que je puisse faire des tests.
I made it, it seems to work. Please see http://lalescu.ro/liviu/fet/download/custom/morocco/test/ and let me know, so that I can add the final version.
I added the new version, fet-5.27.3-morocco2, please get it.
It has students min hours daily with not allowing empty real days, and teacher(s) max two activity tags daily out of N1, N2 and N3.
Quote from: Liviu Lalescu on June 17, 2015, 08:31:04 PM
I added the new version, fet-5.27.3-morocco2, please get it.
It has students min hours daily with not allowing empty real days, and teacher(s) max two activity tags daily out of N1, N2 and N3.
Bonjours, j'ai téléchargé fet-5.27.3-morocco2 et je l'ai testé de la façon suivante :
- J'ai créé trois nouvelles étiquètes : N1, N2 et N3.
- J'ai affecté ces étiquètes aux activités d'un prof selon le niveau de chaque activité.
- J'ai ajouté le nom de ce prof à la liste des profs auxquels on va appliquer la contrainte : « Max two activity tags from N1, N2, N3 per day for a teatcher ».
Après la génération de l'emploi de temps, les résultats sont parfaitement corrects.
J'ai généré l'emploi de temps plusieurs fois de suite, pour un prof, pour deux profs, 3, 4, 5 ... et je dois dire que c'est parfaitement fonctionnel.
J'ai réalisé les mêmes testes pour tous les profs en un coup, et c'est tout simplement parfait.
Les profs de mon lycée vont être supère comptent l'année prochaine, et je leurs dirais qu'il faudrait remercier un certain «
Liviu Lalescu » qui depuis son lointain pays a rendu notre vie un peu plus facile.
Cordialement Karim khalafi.
OK, good! :)
Quote from: Liviu Lalescu on June 18, 2015, 06:31:36 AM
OK, good! :)
Salut, je viens de porter mon application EDT4FET vers un développement par VB.NET, à mon avis le résultat devrait vous plaire car j'ai rajouté quelques nouvelles fonctionnalités qui devraient simplifier la vie aux utilisateurs de FET.
J'ai décidé aussi de réaliser une série de vidéos qui montre en détail comment travailler efficacement avec FET Morocco et en plus j'expliquerais comment exporter les données depuis FET vers EDT4FET.
Es ce que cela vous convient si je porte les vidéos sur YouTube ?
Car je pense que c'est la meilleure façon de partager ces vidéos avec le plus grand nombre de personne.
Cordialement Karim Khalafi.
Oui, biensur :)
Quote from: Liviu Lalescu on June 22, 2015, 01:43:07 AM
Oui, biensur :)
Salut, je viens d'avoir une idée de dernière minute.
Pour faciliter encore plus l'utilisation de « EDT4FET », j'ai eu l'idée d'importer les données des emplois de temps directement depuis le répertoire de sortie utilisé par « FET ».
De cette manière je vais pouvoir afficher tous les emplois de temps généré par « FET » et laisser l'utilisateur final choisir dans une liste quel emplois de temps ouvrir pour le mettre en forme et l'imprimer.
J'ai remarqué qu'on utilisant FET on pouvait définir un répertoire de sortie par défaut en allons dans le menu préférences\choisir le répertoire de sortie, je voudrais utiliser cette information pour ne pas avoir à demander à l'utilisateur de renseigner à chaque fois le chemin de ce répertoire.
Le problème c'est que je ne sais pas où es ce que cette information est stockée ; pourriez-vous m'indiquer comment faire pour récupérer le chemin du répertoire de sortie par défaut utilisé par FET ?
Cordialement Karim Khalafi.
Je crois que j'ai trouvé.
Le chemin du répertoire de sortie par défaut et inscrit dans la base de registre, le nom de la clé c'est « output-directory » ; es ce que vous confirmez que c'est bien ça ?
Merci d'avance, Karim Khalafi.
Oui, exactement :)
Dans la section "fet", subsection "fettimetabling".
Quote from: Liviu Lalescu on June 22, 2015, 06:02:25 AM
Oui, exactement :)
Dans la section "fet", subsection "fettimetabling".
Voici le lien vers la vidéo qui explique comment utiliser EDT4FET, elle en longue arabe et je travail à la production de la version française.
Vidéo 01 : https://www.youtube.com/watch?v=NY36woijGEI
Voici également le lien de téléchargement de la dernière version de EDT4FET, cette version est réalisée à l'aide de code VBA car celle que je développe à l'aide du VB.NET n'est pas encore finalisée, je là mettrait en ligne dés quelle sera prête.
http://sourceforge.net/projects/edt-for-fet/
I added a new version, FET-5.27.3-morocco3, minor improvement.
I added a new version, FET-5.27.3-morocco4, minor improvement.
Voici le lien vers la vidéo qui illustre les nouvelles fonctionnalités de EDT4FET v2.3.0.
Vidéo 02 : https://youtu.be/R8pJRFKbOBI
Voici également le lien de téléchargement de la dernière version de EDT4FET :
http://sourceforge.net/projects/edt-for-fet/
Thank you Liviu and Khalafi for the goog and great job!
You are welcome! :)
No need to thank me one who deserves our gratitude here is Mr Liviu , we can never thank enough .
On 15 July 2015 I added a new version, FET-5.27.3-Morocco5, adding constraints teacher(s) min mornings/afternoons per week.
On 29 July 2015 I corrected a bug when modifying the days or hours. There is a new version, 5.27.3-Morocco6.
On 25 August 2015 I released a new version, with a bug fix reported by Omar Ben Ali.
قد تم تطويره كي يتوافق مع نضام العمل بالجزائر ودول الخليج EDT4FET خبر سار
إليكم رابط صفحة البرنامج حيث ستجدون بها روابط أشرطة الفيديو التي تشرح طريقة إستخدام البرنامج (المرجو الانتباه للشريط الثاني بالخصوص) و ستجدون كذلك رابط تحميل التطبيق
http://lalescu.ro/liviu/fet/forum/index.php?topic=1936.0
ولا تبخلو علي من صالح دعائكم
On 26 September 2015 I added a new version, with crash bugs corrected.
On 16 October 2015 I added a new version, with four new constraints: Teacher(s) max two consecutive mornings/afternoons, as requested by Omar Ben Ali here: http://lalescu.ro/liviu/fet/forum/index.php?topic=2239
On 29 April 2016 I added a new version, with crash bugs corrected.
I added a new version, very minor code cleanup.
Quote from: Liviu Lalescu on April 29, 2016, 05:22:27 PM
On 29 April 2016 I added a new version, with crash bugs corrected.
1000 Tanks
New version : fet-5.27.3-morocco11
---------------------------------------------
On 10 June 2016 there was released the new version, FET-5.27.3-Morocco12, with the ChangeLog:
- Updated to Qt 5.6.1.
- Rare crash bug fix in the activity planning form (reported by Benahmed Abdelkrim).
Quote from: Liviu Lalescu on June 10, 2016, 09:17:05 AM
On 10 June 2016 there was released the new version, FET-5.27.3-Morocco12, with the ChangeLog:
- Updated to Qt 5.6.1.
- Rare crash bug fix in the activity planning form (reported by Benahmed Abdelkrim).
Tanks Mr : Liviu Lalescu
New version : fet-5.27.3-morocco12 ( 10 june 2016)
---------------------------------------------
On 24 June 2016 there was released the new version, FET-5.27.3-Morocco13, with the ChangeLog:
- Updated to Qt 5.7.0 (thus, the Windows version now uses MinGW 5.3.0).
a big thanks for Mr Liviu
Quote from: Liviu Lalescu on June 24, 2016, 02:31:10 PM
On 24 June 2016 there was released the new version, FET-5.27.3-Morocco13, with the ChangeLog:
- Updated to Qt 5.7.0 (thus, the Windows version now uses MinGW 5.3.0).
Tanks Mr : Liviu Lalescu
New version : fet-5.27.3-morocco13 ( 24 june 2016)
---------------------
On 26 July 2016 I added a new version, FET-5.27.3-Morocco14, with new checks for the file, as in http://lalescu.ro/liviu/fet/forum/index.php?topic=2608.msg14046#msg14046
Quote from: Liviu Lalescu on July 26, 2016, 12:14:43 PM
On 26 July 2016 I added a new version, FET-5.27.3-Morocco14, with new checks for the file, as in http://lalescu.ro/liviu/fet/forum/index.php?topic=2608.msg14046#msg14046
Tanks Mr : Liviu Lalescu
New version : fet-5.27.3-morocco14 ( 26/07/2016)What's new in this version ?--------------------
New checks for the feasibility of the file, as discussed on http://lalescu.ro/liviu/fet/forum/index.php?topic=2608.msg14046#msg14046
Hi boulabat, just a little bit more font size and i can see only 2 characters on my whole smart phone display. It is very difficult to read such big letters if all other user use normal font size.
On 1 August 2016 I released a new version, FET-5.27.3-Morocco15, correcting a serious bug which did not allow generation when the user had max days per week for students or teachers (reported by chalbi and Volker Dirr). Please get the new version.
Again, on 1 August, a new version FET-5.27.3-Morocco16, to correct a very minor potential bug. Please excuse me for releasing so fast.
On Wednesday 3 August 2016 I released FET-5.27.3-Morocco17, with minor corrections in some strings.
Quote from: Liviu Lalescu on August 03, 2016, 02:54:55 PM
On Wednesday 3 August 2016 I released FET-5.27.3-Morocco17, with minor corrections in some strings.
Tanks Mr : Liviu Lalescu
New version : fet-5.27.3-morocco17 ( 03/08/2016)
----------------------------------------------
On 22 August 2016 I released a new version (FET-5.27.3-Morocco18), with a very rare crash bug fix, reported by mouiata.
Quote from: Liviu Lalescu on August 22, 2016, 02:47:44 PM
On 22 August 2016 I released a new version (FET-5.27.3-Morocco18), with a very rare crash bug fix, reported by mouiata.
1000 Tanks Mr : Liviu Lalescu
New version : fet-5.27.3-morocco18 ( 22/08/2016)
(https://i.123fleurs.com/18/images/produits/bouquet-celebration-250x250-21454.jpg)
------------------------------------------
Quote from: Liviu Lalescu on August 22, 2016, 02:47:44 PM
On 22 August 2016 I released a new version (FET-5.27.3-Morocco18), with a very rare crash bug fix, reported by mouiata.
Please , Mr Liviu Lalescu ,
I hope that you Added in this version :
"
All teachers must respect the minimum number of hours daily "
it not exist in version : FET-5.27.3-Morocco18
----------------------------------------------------------------
I just checked and the constraint exists.
thx a lot
I added a new customization of the custom version for Morocco, as requested by Jillali Elghazoui.
The change: This version has a slightly modified Add activity dialog, as suggested by Jillali Elghazoui,
so that the user can add multiple activities with a single click for each students set (select the check box).
Get it from: http://lalescu.ro/liviu/fet/download/custom/morocco/elghazoui/
I did not test too much the new facility, so please test and report problems.
If this change is appreciated by more users, I might need to add it to the main Morocco version.
Quote from: Liviu Lalescu on January 23, 2017, 08:34:53 PM
I added a new customization of the custom version for Morocco, as requested by Jillali Elghazoui.
The change: This version has a slightly modified Add activity dialog, as suggested by Jillali Elghazoui,
so that the user can add multiple activities with a single click for each students set (select the check box).
Get it from: http://lalescu.ro/liviu/fet/download/custom/morocco/elghazoui/
I did not test too much the new facility, so please test and report problems.
If this change is appreciated by more users, I might need to add it to the main Morocco version.
Tanks Mr : Liviu Lalescu
I have done several tests of this version, I confirm 100% without error
I want you to publish official Morocco version under the name:
5 February 2017, FET 5.27.3.morocco19 released
Fet-5.27.3-morocco19_Suggested by Elghazoui_Tested by Boulabat.exe
See you soon___________________
Hmm, but I don't quite like this new feature. Can't it stay as it is now, custom Morocco18-elghazoui?
I think this new feature is not general for all the users. It looks more like a customization to me.
Quote from: Liviu Lalescu on February 05, 2017, 05:58:19 PM
Hmm, but I don't quite like this new feature. Can't it stay as it is now, custom Morocco18-elghazoui?
I think this new feature is not general for all the users. It looks more like a customization to me.
As you want my friend .
This version of fet is ideal and very practical to realize timetables of the college school. For each Subject the number of hours per week is the same for the three levels: 1AS , 2AS and 3AS (except for mathematics for 2AS).
Now , To add activities is very easy .
Thank you.
(http://img15.hostingpics.net/pics/887307TableauNote43.jpg)
------------------------------------------
I'll think about your proposal. I hope you are not upset. You can redirect the users of Morocco to the elghazoui version.
Bon soir et merci beaucoup M Liviu pour touts c'est efforts inestimables et je salut aussi nos frères marocaines
sa sera utile aussi pour la version algérienne
on a besoins aussi de la meme version Morocco to the elghazoui version pour la version algérienne
merci
OK, I updated FET to Morocco19, having a check box in the add activity dialog, to add multiple activities at once.
Quote from: Liviu Lalescu on February 13, 2017, 02:06:23 PM
OK, I updated FET to Morocco19, having a check box in the add activity dialog, to add multiple activities at once.
You are a good and great man
Thank you for responding to the request
fet-5.27.3-morocco19.exe ( Updated on 13 February 2017).
I present you promise to contribute actively to the development of FET Morocco
(http://bouticflor.fr/wp-content/uploads/2014/03/Bouquet-de-fleurs-Craquant.jpg)
------------------------------------
Thank you! :)
المرجو من السي الغزوي امدادي بمرتب اكسيل الذي يظهر في فيديوهاته و الذي يضم مختلف المعلومات الواجب توفرها قبل البدء بانتاج الجداول.و شكرا
On 22 February 2017 I added a new version, with activity tag max hours daily taking into consideration real days (two half-days), as requested on http://lalescu.ro/liviu/fet/forum/index.php?topic=3069.0
Quote from: Liviu Lalescu on February 22, 2017, 01:51:34 PM
On 22 February 2017 I added a new version, with activity tag max hours daily taking into consideration real days (two half-days), as requested on http://lalescu.ro/liviu/fet/forum/index.php?topic=3069.0
Thank you my friend liviu for the version fet-5.27.3-morocco20 .
I believe that the option max hours daily (real day: Morning + Afternoon) already exists in the previous version morocco19.
For the Algerian version it is interesting .
(https://foodforthesoulandthoughtbubble.files.wordpress.com/2015/08/2014-10-23-14-06-41_deco.jpg?w=350&h=200&crop=1)
-----------------------------
Teacher(s)/students (set) activity tag max hours daily.
On 5 March 2017 I added a new version, FET-5.27.3-Morocco21, as required here: http://lalescu.ro/liviu/fet/forum/index.php?topic=3090.msg16703#msg16703
Quote from: Liviu Lalescu on March 05, 2017, 10:36:33 AM
On 5 March 2017 I added a new version, FET-5.27.3-Morocco21, as required here: http://lalescu.ro/liviu/fet/forum/index.php?topic=3090.msg16703#msg16703
Thank you my friend : Liviu Lalescu
---
On 11 March 2017 I added a new version, FET-5.27.3-Morocco22, as suggested here: http://lalescu.ro/liviu/fet/forum/index.php?topic=3097.0 (a bit different).
On 1 April 2017 I released a new version, Morocco23, with Arabic translation nearly complete. Thank you, Benahmed Abdelkrim!
I just released two modified executables for Windows, as recommended by Benahmed Abdelkrim. If you have old Windows XP or Vista, use the corresponding download. Otherwise, use the newer version.
On 7 April 2017 I released a new version, FET-5.27.3-Morocco24, with the complete Arabic translation, thanks to Benahmed Abdelkrim.
On 8 April 2017 I released a new version, FET-5.27.3-Morocco25, with minor Arabic corrections, by Benahmed Abdelkrim.
On 10 April 2017 I released a new version, FET-5.27.3-Morocco26, with minor Arabic corrections, by Benahmed Abdelkrim and Silver.
On 15 April 2017 I released a new version, FET-5.27.3-Morocco27, with a crash bug fixed (reported by Benahmed Abdelkrim), improved Arabic translation (again by Benahmed Abdelkrim) and now the teachers, subjects, students, rooms, buildings, time and space constraints can be moved up/down, as in the official FET (suggested again by Benahmed Abdelkrim).
Thank you, Benahmed Abdelkrim!
On 24 April 2017 I added a new version, FET-5.23.7-Morocco28, correcting a minor interface bug, reported by Benahmed Abdelkrim (in the constraints teacher(s) activity tag max hours daily there was the word "students" instead of teacher(s)).
On 27 April 2017 I released a new version, FET-5.27.3-Morocco29, with updates in the Arabic translation, by Benahmed Abdelkrim.
On 2 September 2017 I released a new version, FET-5.27.3-Morocco30, solving a potential cycling bug, as in the official FET. Also the Arabic translation was improved, by Benahmed Abdelkrim.
Please report if your old file was solved by old FET-Morocco, but it is not solved anymore by FET-5.27.3-Morocco30. This should not happen.
On 3 October 2017 I released a new version, FET-5.27.3-Morocco31, fixing a bug reported by Omar Ben Ali here: http://lalescu.ro/liviu/fet/forum/index.php?topic=3492.0
On 22 December 2017 I released a new version, FET-5.27.3-Morocco32, updating to Qt 5.10.0 and fixing some minor things (Arabic translation minor mistakes, adding SSL for lalescu.ro and other minor things).
On 2 January 2018 I released a new version, FET-5.27.3-Morocco33, with Arabic translation updates by Benahmed Abdelkrim.
On 2 August 2018 I corrected a rare crash bug if adding an activity without students sets, but with a specified number of students >= 1, a bug if moving up/down the rooms/buildings (their description in the details box on the right was not properly updated), and the Arabic translation was updated. All of these by Benahmed Abdelkrim.
It was released the new version, FET-5.27.3-Morocco34.
On 18 August 2018 I corrected a rare crash bug (not met in practice), if the XML .fet input file contained duplicate activities ids. Reported by BEKAOUI Abdelkader.
It was released the new version, FET-5.27.3-Morocco35.
Please tell me if I should do the Morocco as in https://lalescu.ro/liviu/fet/forum/index.php?topic=485.msg21003#msg21003 (make teacher(s) min days per week for real days instead of half-days).
I think from my point of view there is no objection to adding this feature in the Moroccan version.
On the contrary, this feature can solve the question of the minimum days for a teacher should do if his hours of work are as low as 12 or 14 hours per week.
On 17 October 2018 I released a new version. Suggested by bachiri401 the constraint teacher(s) min days per week considers real days, and also I updated the Arabic translation, by Benahmed Abdelkrim.
It was released the new version, FET-5.27.3-Morocco36.
On 24 October 2018 I update FET Morocco to FET-5.27.3-Morocco37. I ported from the official FET to FET-Morocco the constraint two activities ordered if same day, as suggested by bachiri401.
On 9 November 2018 I added the new version, FET-5.27.3-Morocco38. This version contains a new constraint, teacher(s)/students (set) max gaps per real day, as suggested by bachiri401 here: https://lalescu.ro/liviu/fet/forum/index.php?topic=485.msg21121
On 4 January 2019 I updated to Morocco39. I updated to Qt 5.12.0, and there is only the 64-bit precompiled Windows version.
Thank you Dear Liviu :)
On 5 July 2019 I updated to FET-5.27.3-Morocco40. This new version includes two new constraints, suggested by bachiri401: teacher(s) min hours per real day, and teacher(s) max hours per half day. Also, "Search for updates on startup" will report correctly now new Morocco versions, if they are present.
Thank you, bachiri401, for the suggestions!
Also "Thank you!" to Benahmed Abdelkrim, who translated the new fields.
On 13 July 2019 I updated to FET-5.27.3-Morocco41. A very minor improvement in some strings.
Many thanks to Mr. Liviu Lalescu for his support to Moroccan educational system, and to everyone contributed into this forum.
May Allah bless you all
Thank you!
To the Moroccan users: I got a request min 3 hours per morning for teachers and min 2 hours per afternoon for teachers (for FET-Algeria). Is this useful for you or other users?
Quote from: Liviu Lalescu on July 25, 2019, 02:45:02 PM
To the Moroccan users: I got a request min 3 hours per morning for teachers and min 2 hours per afternoon for teachers (for FET-Algeria). Is this useful for you or other users?
See the topic about this here: https://lalescu.ro/liviu/fet/forum/index.php?topic=4154.0
The proposer, fethi1988, said it is useful for Algerian institutions. I managed to implement it, as a custom version for this user. You might be interested in this version. The download link is, for now, on: https://lalescu.ro/liviu/fet/download/custom/fethi1988/
On necessity, I can implement this option as a custom variant of the Morocco version, as well. Let me know.
Personally I prefer to leave things unchanged, so do not
Things get complicated, especially in difficult timetables.
But if some users want this feature, it can be added as a selection( choice ), if Mr. Liviu agrees. :)
hello Liviu,
throughout the week, students have only half a day off.
is it possible to add a constraint for students to have a maximum number of study day
Thanks for all what you do.
Hello, OURRAI,
It is possible now:
1) For real days: students max days per week
or
2) Half days: students interval max days per week, interval = from 1 to 4.
By popular request, I upgraded to Morocco42, but I only released a snapshot (test version) for now. I need you to test and after that I will release the Morocco42 version. Also the Arabic translation is not completed, yet. I hope with the help of Benahmed Abdelkrim we will have it.
The new features:
1) Teacher(s) min hours per morning, suggested by fethi_dz.
2) Teacher(s) begin afternoons early, respecting a maximum of n beginnings at second hour, suggested by Sadi 213.
3) Teacher three days exception, suggested by ZINEDDINE18.
Please test intensively and report the results.
The link, as usual: https://lalescu.ro/liviu/fet/download/custom/morocco/ (get the snapshot for Morocco42 version).
By popular request, I upgraded to Morocco42, with the help of Benahmed Abdelkrim to translate to Arabic.
The new features:
1) Teacher(s) min hours per morning, suggested by fethi_dz.
2) Teacher(s) begin afternoons early, respecting a maximum of n beginnings at second hour, suggested by Sadi 213.
3) Teacher three days exception, suggested by ZINEDDINE18.
The link, as usual: https://lalescu.ro/liviu/fet/download/custom/morocco/
If you need the 32bit version, please get it from here:
https://timetabling.de/download/32bit/
On Thursday, 31 October 2019, I released a new version, Morocco43.
New features:
1) Teacher room not available times;
2) Teacher(s) max room changes per real day.
These were suggested by abdeljalil elghazoui, otman hashem, أحمد الهواري, Abdellah Sabri, khatou1973, nachrach111, and Omar Ben Ali, here: https://lalescu.ro/liviu/fet/forum/index.php?topic=4276.0 . A big "Thank you!" to them for suggesting, and to Benahmed Abdelkrim who kindly translated to the Arabic language.
The link, as usual: https://lalescu.ro/liviu/fet/download/custom/morocco/
On 10 November 2019 I added Morocco44, with teachers/students max span per (real) day (as suggested by bachiri401).
I added a new version, Morocco45, minor improvement.
On 4 December 2019 I released Morocco46, no changes other than adding the license of Qt and MinGW and the other tools inside the Windows archive (which is required, as I recently found out).
On 28 December 2019 I updated to Morocco47 (improved acknowledgements of the used libraries, and other minor things).
On 29 December 2019 I updated to Morocco48 (minor things).
On 30 January 2020 I updated to Morocco49 (minor things).
On 29 February 2020 I updated to Morocco50 (fixing a generation bug if you use constraints of type teacher(s)/students (set) max gaps per real day).
On 3 March 2020 I updated to FET-5.27.3-Morocco51, fixing a minor bug discovered by bachiri401.
On 9 April 2020 I added a new version, FET-5.27.3-Morocco52, with some nice improvements:
- Added new constraints teacher(s) morning/afternoon interval max days per week (suggested by bachiri401, who also tested the new feature)
- Implemented the new better random number generator (MRG32k3a, by Pierre L'Ecuyer (used with permission)) from the official FET-5.44.0 (suggested by Benahmed Abdelkrim, who also updated his Arabic translation).
I have four suggestions regarding time constraints that we use in preparing time uses for private institutions in Morocco. They are, First: Added (Four days exception and Five days exception). Second: Make Minimum hours daily for a teacher : 1 hour instead of 2 hours. Third: Make (Two activities are grouped) Automatically for The two subgroups G1 and G2 of the same class in PC and SVT. Fourth: activities for the groups in same years (level) for The same professor Should be contiguous as possible (75%, for example).Tank you.
hello mr LIVIU
I just want to ask you a favour if you've got in the future for the morocco version
regarding teacher 4 days exception and 5 days exception
Hello!
But why is that?
I think it is not useless to add an exception 4 or 5 days? In my opinion.
In this case it is better to use the Algeria version. It works full days and requires no exceptions!
Quote from: boulabat on June 04, 2020, 10:13:38 PM
I have four suggestions regarding time constraints that we use in preparing time uses for private institutions in Morocco. They are, First: Added (Four days exception and Five days exception). Second: Make Minimum hours daily for a teacher : 1 hour instead of 2 hours. Third: Make (Two activities are grouped) Automatically for The two subgroups G1 and G2 of the same class in PC and SVT. Fourth: activities for the groups in same years (level) for The same professor Should be contiguous as possible (75%, for example).Tank you.
Quote from: ZINEDDINE18 on June 05, 2020, 12:03:13 AM
hello mr LIVIU
I just want to ask you a favour if you've got in the future for the morocco version
regarding teacher 4 days exception and 5 days exception
1) Indeed, as Benahmed said, why won't you use Algeria version? Do you have more teachers, some without exceptions or with 1 or 2 days exception, and others with 4 or 5 days exception?
2) I think you need to use the constraint teacher min days per week (which is for real days).
3) and 4) - I do not understand, but maybe you could use constraints activities same starting time or constraints two activities grouped.
تحية طيبة ازفها للاخ بن احمد عبد الكريم
انا من الجزائر استعمل النسخة المغربية دون النسخة الجزائرية لان الاساتذة لدينا يفضلون التدريس بانصاف الايام وهذا ما تتيحه لي هذه النسخة واجد صعوبات جمة في استعمال النسخة الجزائرية التي تعطيني جداول غير مرضية بالنسبة للاساتذة رغم اني اتعب في تحديد الفترات الصباحية والمسائية للاساتذة مما يعرقل عمل الجدول اما النسخة المغربية فبالمكان انجاز جداول مقبولة للاساتذة والتلاميذ فهي التي تختار الفراغ للاستاذ اما صباحا او مساء ...لكني اتلقى مشكلة في تدوير التكنولوجيا والتربية البدنية هذه الاخيرة بتفريغ يوم الثلاثاء لاساتذة المادة لا يتبقى لهم الا اربعة ايام تجعل انتاج الجول مستحيلا دون اللجوء الى الحيل وهذا القيد غير موجود ...شكرا على تفهمكم
ZINEDDINE18, so you want to use teachers 4 or 5 days exception just for two teachers?
حتى إذا جعلنا بعض المدرسين غير متاحين ليوم واحد في الأسبوع ، نستطيع إنتاج جداول مقبولة دون اللجوء إلى إضافة قيد الاستثناء الذي ذكرته. حاول التخفيف من القيود ( أوقات غير متاحة لمدرس ...). بطبيعة الحال كل هذا يتوقف على عدد ساعات العمل لكل مدرس، فهذا العامل مهم جدا في نسخة المغرب، وعليه يتوقف استخدام جميع قيود الاستثناء.
اخي عبد الكريم
تحية طيبة وبعد
نحن نشتغل ب7 ساعات في اليوم مع التفريغ الاجباري لاساتذة التربية البدنية صباحا ومساء نصف يوم بيداغوجي تضاف اليها اشغال الرابطة المدرسية مساء مع العلم ان الاستاذ لا يشتغل الا 4ساعات يوميا اي من10-12 ومن 13-15او 14-15على اعتبار ان التربية البدنية تعد النشاط الاخير في اخر الفترة الصباحية او المسائية ناهيك عن مادة التكنولوجيا وتدوير الافسام على الاساتذة ...اذا لم يتم التحايل على البرنامج لا يمكن العمل بالنسخة المغربية التي افضلهاعلى النسخة الجزائرية كما اشرت سابقا ومعظم مستعملي النسخة الجزائرية الذين اتواصل معهم عبر منصة الفايسبوك وشرحت لهم كيفية العمل بالنسخة المغربية استحسنوها لكنهم يتخوفون من مثل هذه القيود الناقصة .....شكرا لتفهمكم
Quote from: Liviu Lalescu on June 05, 2020, 09:07:19 PM
ZINEDDINE18, so you want to use teachers 4 or 5 days exception just for two teachers?
sorry...not for two teachers only but for two Subject Physical education and Technology
تحية طيبة وبعد
نتفهم الموقف جيدا. لكن في المحصلة لن نحتاج إلى إضافة قيد الاستثناء الذي أشرت إليه إلا لمجموعة محدودة من المدرسين لن تتجاوز على الأكثر العدد 4. أقترح استخدام حيلة ذكية لتجاوز هذا الإشكال. اختيار نشاط أو نشاطين لهذا المدرس الذي يحتاج إلى هذا الاستثناء وجعله بدون مدرس. ثم من القيد: أنشطة ليست متداخلة نختار الأنشطة الحقيقية لهذا المدرس مع الأنشطة الزائفة(بدون هذا المدرس) التي أضفناها. ثم ننقر على الزر إضافة
هذه الحيلة تضمن لنا عدم حدوث هذا النشاط الزائف مع الأنشطة الحقيقية للمدرس المعني في نفس المجال الزمني. ثم يمكن استخدام تطبيق
TiTiTo
لإظهار المدرس المعني مع هذا النشاط الزائف. ثم تصدير إلى
FET
وفتح هذا الملف الأخير بواسطة النسخة الرسمية وإعادة الإنتاج من جديد. لن يستغرق الوقت أكثر من بضعة ثوانٍ. أو إجراء تعديل بسيط لإظهار اسم المدرس بفتح الملف مع برنامج قارئ للغة
HTML
وأقترح لهذا الغرض استخدام التطبيق
Notepad ++
Quote from: ZINEDDINE18 on June 05, 2020, 11:20:41 PM
Quote from: Liviu Lalescu on June 05, 2020, 09:07:19 PM
ZINEDDINE18, so you want to use teachers 4 or 5 days exception just for two teachers?
sorry...not for two teachers only but for two Subject Physical education and Technology
So, for how many teachers? For which teachers?
Greetings
For a group of teachers, up to 6 teachers ...
On 6 June 2020 I have released version FET-5.27.3-Morocco53, with minor updates and teachers exceptions 4 and 5 days. Thank you, boulabat and ZINEDDINE18 for the suggestions, and Benahmed Abdelkrim for the kind translation work!
Please inform me as soon as possible if you meet any bugs.
thank you also for the kind acceptance of these suggestions :)
thank you mr liviu
On 8 June 2020, based on previous recommendations by users, I unified the Morocco and Algeria versions, please see this topic: https://lalescu.ro/liviu/fet/forum/index.php?topic=4501.0
I strongly recommend you to update to FET-MA. But please take care - if you save your Moroccan file with the new FET-MA, it will be converted. You will need to modify it manually to open it afterwards with the old FET-Morocco. And beware of bugs!
Please let me know!
Quote from: Liviu Lalescu on June 06, 2020, 05:21:23 PM
On 6 June 2020 I have released version FET-5.27.3-Morocco53, with minor updates and teachers exceptions 4 and 5 days. Thank you, boulabat and ZINEDDINE18 for the suggestions, and Benahmed Abdelkrim for the kind translation work!
Please inform me as soon as possible if you meet any bugs.
1000 thanks , Mr Liviu Lalescu , you are very helpful and very generous .
هل هناك قيد في البرنامج يجعل أدنى ساعات التدريس في الفترة الصباحية هو 3 اما الفترة المسائية هو 2
اذا كان لا يوجد هل يمكن إضافته وشكرا ؟
You are welcome!
Add min hours daily for teachers = 2 and min hours per morning for teachers = 3.
شكرا لك
عذرا لقد أخطأت في صيغت السؤال كنت أقصد
الا يوجد قيد بجعل ادنى حصص للطلاب في الفترة الصباحية 3 والفترة المسائية 2
No, unfortunately there is not. I added it into the suggestions. If more users vote for it (if it is useful), I might try to make it.
thank you ,it would be very useful i guess,i hope that other members vote for it
It would be certainly very complicated to implement :(
what about separating mornings from afternoons and controling the min hours for students in each one separately
This cannot be done. It is more efficient to think overall, how the constraints interact with each other, so that the generation is as efficient as possible.
Thank you
Hello Mr.liviu
First, we thank you for what you have done and what you are doing to develop the Moroccan version of the FET program. We remind you, Mr.liviu, that this copy was adopted by the Moroccan Ministry of National Education and we do'nt want it to be combiner with any other version, Thousands of Moroccans work with this version and they need of it. Thank you, Mr. liviu, for your understanding. You are great. :( :( :( :( :(
Hello, Mr. khatou1973,
It will be OK. Please read: https://lalescu.ro/liviu/fet/forum/index.php?topic=4501.msg24853#msg24853
Dear khatou1973,
i fear you misunderstood, but the "Moroccan" Version was always a combiner with other versions.
The "Moroccan" version was always used in other counties also and we added a lot of features into that version that were never asked by "Moroccan" users.
So the Name "Moroccan" was very confusing to other users that are working with the same version.
But in fact we keepted the Name "Moroccan"; just shorten to "M" only. By that you can read the file names better. I guess you saw that the filenames are so long that they are not fully displayed in the 32 bit version folder.
So FET-MA is still the "Moroccan" version.
It is like this:
Moroccan: slow CPU, slow GPU, fast SSD, ...
Algerian: fast CPU, slow GPU, slow SSD, ...
XXX: slow CPU, fast GPU, slow SSD, ...
....
Now:
MA: fast CPU, fast GPU, fast SSD, ...
So you can see: It is a win-win-win-win version :-)
Moroccan users will get a much better CPU, of course they don't need to use it. They just got it for free.
Algerian users will get a much better SSD, of course they don't need to use it. They just got it for free.
...
Livui only need to build one version.
I only need to check and compile one version.
....
So Liviu and me can work faster now and you can get better versions :-)
So you can see: Everybody is just winning. There is no looser with the new FET-MA version.
Best Regards
Volker Dirr
thank you for making everything clear ,and thank you for your efforts both of you.
Quote from: bilal24 on June 09, 2020, 05:33:00 PM
شكرا لك
عذرا لقد أخطأت في صيغت السؤال كنت أقصد
الا يوجد قيد بجعل ادنى حصص للطلاب في الفترة الصباحية 3 والفترة المسائية 2
I added it in FET-MA4, snapshot for now: https://lalescu.ro/liviu/fet/download/custom/ma/test/
Thank you, bilal24, for the suggestion!
Please test this new version.
thank you,i will
الرجاء إضافة قيد أقصى فراغ لجميع الطلاب في الساعة الأخيرة من الفترة الصباحية من الساعة 11 الى الساعة 12هو اثنين مثلا
بحيث لا يخرج أكثر من قسمين في اليوم في هذه الساعة
OK, I added the constraints students (set) morning/afternoon interval max days per week. In your case, you need to use the constraints students morning interval max days per week.
The snapshot (test version), for now: https://lalescu.ro/liviu/fet/download/custom/ma/test/
Thank you for the suggestion (it was also suggested by bachiri401 a time ago).