Main Menu

Recent posts

#21
Italian / Italiano / tutti gli insegnanti massimo 3...
Last post by mmarco - September 10, 2025, 08:14:18 AM
buongiono, vorrei porre un vincolo per impedire che un insegnante faccia più di 3 ore al giorno nella stessa classe anche se ha materie diverse con la classe. il vincolo dovrebbe essere valido per tutti gli insegnanti
#22
Get Help / Re: HOW TO LIMIT THE NUMBER OF...
Last post by Liviu Lalescu - September 10, 2025, 08:02:54 AM
Unfortunately, this is a problem in FET. I was actually thinking of making teacher(s) max hours daily only with 100% and allowing a one day exception of +1, but it is very risky, I need to be very careful and test a lot, because some timetables might become impossible if I make a logic mistake.

You could try max hours = 5 (or 6) 100% and max hours = 4 99% (ignore the FET warning there, about weights < 100%). This is not perfect.

Perfect, but it is quite some work: to ensure a teacher has in any pair of days <= 9 hours, add a constraint activities occupy max time slots from selection for each pair of days: all the activities of that teacher, select Monday and Tuesday with X (red), max occupied = 9. The same for all possible pairs of days for this teacher. The same for all the necessary teachers. For a teacher, there are 10 constraints to add, if there are 5 days per week.

I will add your words in the TODO.
#23
Suggestions / Re: Groups of teachers
Last post by Liviu Lalescu - September 10, 2025, 07:56:18 AM
Yes, exactly! But it is a very complicated change, and I am only thinking of it for now.
#24
Suggestions / Re: Groups of teachers
Last post by Željko Vrabec - September 10, 2025, 07:51:17 AM
Great idea! However, watching *.fet file structure I can assume your doubts. As I can see you use object name as some kind of ID (all names of basic objects must be unique). Maybe that could be solution for groups of teachers too. For instance in the fet part below there is a constraint for all groups of students of the 8. grade. How many groups (divisions) are there in 8. grade is defined somewhere up in the same file. Isn't in this case "8." something like a group of groups? Maybe you could apply the same for groups of teachers by forcing users to give every group of teachers unique name.
<ConstraintStudentsSetNotAvailableTimes>
      <Weight_Percentage>100</Weight_Percentage>
      <Students>8.</Students>
      <Number_of_Not_Available_Times>31</Number_of_Not_Available_Times>
      <Not_Available_Time>
        <Day>PON</Day>
        <Hour>1 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>PON</Day>
        <Hour>2 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>PON</Day>
        <Hour>3 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>PON</Day>
        <Hour>4 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>PON</Day>
        <Hour>5 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>PON</Day>
        <Hour>6 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>UTO</Day>
        <Hour>7|0</Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>UTO</Day>
        <Hour>1 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>UTO</Day>
        <Hour>2 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>UTO</Day>
        <Hour>3 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>UTO</Day>
        <Hour>4 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>UTO</Day>
        <Hour>5 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>UTO</Day>
        <Hour>6 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>SRI</Day>
        <Hour>1 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>SRI</Day>
        <Hour>2 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>SRI</Day>
        <Hour>3 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>SRI</Day>
        <Hour>4 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>SRI</Day>
        <Hour>5 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>SRI</Day>
        <Hour>6 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>ČET</Day>
        <Hour>1 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>ČET</Day>
        <Hour>2 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>ČET</Day>
        <Hour>3 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>ČET</Day>
        <Hour>4 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>ČET</Day>
        <Hour>5 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>ČET</Day>
        <Hour>6 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>PET</Day>
        <Hour>1 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>PET</Day>
        <Hour>2 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>PET</Day>
        <Hour>3 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>PET</Day>
        <Hour>4 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>PET</Day>
        <Hour>5 </Hour>
      </Not_Available_Time>
      <Not_Available_Time>
        <Day>PET</Day>
        <Hour>6 </Hour>
      </Not_Available_Time>
      <Active>true</Active>
      <Comments></Comments>
    </ConstraintStudentsSetNotAvailableTimes>
#25
Sorry, this is too difficult. But I'll add your suggestion in the list of suggestions (it was suggested by other users as well, in the past).
#26
You have the constraints min gaps between activities and activities same starting day.
#27
Suggestions / Re: Groups of teachers
Last post by Liviu Lalescu - September 10, 2025, 04:31:28 AM
The groups of teachers will be used when adding constraints for more teachers. For instance, if you have 80 teachers and 50 must have max 1 gap per day, create a group of these 50 teachers and constrain only it, not individually.
#28
Italian / Italiano / Re: numero di ore massimo di u...
Last post by Liviu Lalescu - September 10, 2025, 04:29:42 AM
Buonasera,

You could add either more min days between activities (A1=2,A2=2,A3=1,A4=1) -> (A1, A2), (A1, A3), (A1, A4), (A2, A3), (A2, A4), min 1 days 100%, or use teacher(s)/students (set) activity tag max 2 hours daily.
#29
Custom FET for Particular Needs / Request for Custom FET, Fixed ...
Last post by hepishy - September 10, 2025, 03:36:00 AM
I'm working on a university‐level timetable with the following requirements:

1. Fixed Course–Timeslot Matrix

- Each course has a predefined number of parallel sessions in every timeslot (e.g., course01 needs two sections in Saturday Period 1, Period 2, etc.).

- These sessions must be "locked" into those exact day-period slots.

2. Exact Staff–Course Load Capacities

- Each instructor has a hard limit of sessions per course per week (e.g., staff01: 5 course01, 5 course02; staff02: 5 course01, 6 course03; etc.).

- Total staff-load constraints must be enforced exactly.

3. No Overlapping & Day-Off Constraints

- No teacher may be scheduled for more than one course in the same slot.

- One staff must not teach on Saturdays.

- Maximum of 4 periods per day per teacher.

4. Neglecting students and focus on distributing staff over sessions


5. Desired output

- Automatically assign qualified staff to all locked sessions under their capacity and availability constraints.



I can provide sample Excel files with my 17×7 course-timeslot matrix and 7×12 staff-capacity matrix to guide.


#30
Algerian Arabic / (الجزائرية(العربية / Explain
Last post by Rabouh Boubaker - September 10, 2025, 12:11:38 AM
I want to repeat same activitie with a 1 gap  between the two activities in morning . and I do not repeat the activity in the afternoon.with a 1 gap between the two activities
Example :
i put math1 form 8 to 9 and repeat it from 10 to 11
and dont repeat math1 form 14 to 15 and from 16 to 17