new constraint suggest

Started by fartoto_dz2004, September 29, 2021, 05:58:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fartoto_dz2004

Dear lalescu;
thank you very much for your continous support to our preferred time tabling program;
i want to suggest a constraint for M-A mode that might be useful for me and others; i hope you can add a constraint that let two different teachers start at same time (seance) or end at same time.
thank you again ; peace.

Liviu Lalescu

Hello, fartoto_dz2004,

I added your words in the TODO, but unfortunately it might be too difficult.

If you want the two teachers to have the same or nearly the same hours occupied, you can add a constraint activities occupy max time slots from selection, all activities of both teachers, select all slots of the week, max occupied = the duration of activities of the teacher with the most activities (or +1, or +2, etc).

fartoto_dz2004

thank you for your reply ; i have faith on you.
god bless you

Liviu Lalescu


fartoto_dz2004

Quote from: Liviu Lalescu on September 29, 2021, 06:06:53 PM
Hello, fartoto_dz2004,

I added your words in the TODO, but unfortunately it might be too difficult.

If you want the two teachers to have the same or nearly the same hours occupied, you can add a constraint activities occupy max time slots from selection, all activities of both teachers, select all slots of the week, max occupied = the duration of activities of the teacher with the most activities (or +1, or +2, etc).
i tested that but it took too long , maybe i don't know how to use it.

Liviu Lalescu

If you want you can show me your file.

fartoto_dz2004



Quote from: Liviu Lalescu on September 29, 2021, 06:06:53 PMHello, fartoto_dz2004,

I added your words in the TODO, but unfortunately it might be too difficult.


hello liviu is there any hope that you can implement it in the next update ?

Liviu Lalescu

Quote from: fartoto_dz2004 on September 15, 2022, 01:53:23 PMhello liviu is there any hope that you can implement it in the next update ?

Hello!

Oh... sorry, but it is too difficult. I cannot do it. Try to use my suggested approach.

YOUSSEF HOUIET

The constraint activities occupy max time slots from selection, give good result, you don't need a new constraint.

fartoto_dz2004

Quote from: Liviu Lalescu on September 15, 2022, 03:44:24 PM
Quote from: fartoto_dz2004 on September 15, 2022, 01:53:23 PMhello liviu is there any hope that you can implement it in the next update ?

Hello!

Oh... sorry, but it is too difficult. I cannot do it. Try to use my suggested approach.


Quote from: YOUSSEF HOUIET on September 15, 2022, 07:18:14 PMThe constraint activities occupy max time slots from selection, give good result, you don't need a new constraint.

thanks liviu, thanks YOUCEF i will try it.

fartoto_dz2004

Quote from: YOUSSEF HOUIET on September 15, 2022, 07:18:14 PMThe constraint activities occupy max time slots from selection, give good result, you don't need a new constraint.
thank you Youssef i tested it but don't give the suitable result.

YOUSSEF HOUIET

 the 2 theachers have the same number of hours?

fartoto_dz2004

Quote from: YOUSSEF HOUIET on September 29, 2022, 02:38:23 AMthe 2 theachers have the same number of hours?
Partially for ex the first has 20 and the second has 19 or 21