Optimizing teaching hours for teachers

Started by ngoctp29121982, July 01, 2022, 03:40:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ngoctp29121982

Hello Liviu
I want to optimize for all teachers in the morning-afternoon mode
1 real day has 8 periods, 1 week has 6 real days (6am-6pm)
Example: A math teacher has 16 lessons of 5 lessons; Literature teacher has 25 lessons and 7 lessons. How can I optimize for all teachers as fast as possible

Liviu Lalescu

Hello, ngo,

It is indicated to post in the "Get Help" board for this kind of questions. I moved your topic.

I really don't understand what means "optimizing the teachers".

ngoctp29121982

optimizing for teachers in formal mode means less time to work: Let's say 5 lessons per day.
If the teacher teaches 16 periods/4 days; 20 periods / 5 days; 12 periods/3 days; 8 hours/2 days.

Liviu Lalescu

You have max/min (real) days (mornings/afternoons) per week and max/min hours per (real) day for teacher(s).

ngoctp29121982

I mean, is there a way to add one for all teachers

Liviu Lalescu

Add the constraints for "All teachers", not "A teacher".

ngoctp29121982

Add constraints for "All teachers", not "One teacher". Is it possible to add from the csv file that is not?

Liviu Lalescu

Do you mean add exceptions, or just import constraints from CSV? No, it is not, neither exceptions, nor import.

ngoctp29121982

Would adding that from the csv file for each teacher be faster than adding it directly on the FET?

Liviu Lalescu

It is impossible to import constraints from a CSV file.

If you have the constraints in the file, the solving time should be the same if you input one-by-one or for all teachers.