SETTING MAX SESSIONS FOR TEACHERS IN THE AFTERNOON

Started by Cyrus Ireri, February 13, 2024, 09:43:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Liviu Lalescu

I just released the new official version, FET-6.17.0. Thank you for the collaboration!

Cyrus Ireri


Cyrus Ireri

Quote from: Liviu Lalescu on February 16, 2024, 08:33:58 PMI just released the new official version, FET-6.17.0. Thank you for the collaboration!

Congratulations👏👏👏👏👏👏

Cyrus Ireri

Quote from: Liviu Lalescu on February 16, 2024, 08:33:58 PMI just released the new official version, FET-6.17.0. Thank you for the collaboration!

Thanks for acknowledging that i did suggest even if it was done in the past.I'm humbled and feel appreciated.

Liviu Lalescu


Cyrus Ireri

I don't know where i'm going wrong with the constraint "A set of sub activities has a set of preferred starting times". Allow me to share a sample file and image on the sub activities that i need to be in the mornings (8:00-1:20).I will appreciate your help.

Cyrus Ireri

About the new constraint, i have some concerns. There is an occurence when the constraing doesn't adhere fully more so when a double session is involved. Attached are samples

Liviu Lalescu

I think you need like in the attached file. I did it for MATHS. I used the preferred time slots.

PS: For a new subject, please start a new topic.

Liviu Lalescu

#53
Quote from: Cyrus Ireri on February 17, 2024, 02:33:57 PMAbout the new constraint, i have some concerns. There is an occurence when the constraing doesn't adhere fully more so when a double session is involved. Attached are samples

You inputted the constraint wrong. Interval end hour should be "12:40-1:20 {SNR LUNCH}".

PS: Your input file is impossible, does not start generating with some error messages.

Cyrus Ireri

Is there likelihood of the new constraint to treat activity with duration 2 as if its just an hour?I'm asking since i have realized that there are 4 activities following one another once in a while and in all,there is an activity with duration and 2 split activities.

Liviu Lalescu

Quote from: Cyrus Ireri on February 17, 2024, 04:08:57 PMIs there likelihood of the new constraint to treat activity with duration 2 as if its just an hour?I'm asking since i have realized that there are 4 activities following one another once in a while and in all,there is an activity with duration and 2 split activities.

No, it isn't. I wrote in my answer above your mistake. You inputted a 3 working hours interval, not 4 working hours interval. Please increase with 1 the interval end hour.

Cyrus Ireri

Quote from: Liviu Lalescu on February 17, 2024, 04:12:42 PM
Quote from: Cyrus Ireri on February 17, 2024, 04:08:57 PMIs there likelihood of the new constraint to treat activity with duration 2 as if its just an hour?I'm asking since i have realized that there are 4 activities following one another once in a while and in all,there is an activity with duration and 2 split activities.

No, it isn't. I wrote in my answer above your mistake. You inputted a 3 working hours interval, not 4 working hours interval. Please increase with 1 the interval end hour.

I get you now.I will add a break before the first session so that i can pick it and break so that in between will be the 4 sessions i need the constrain to operate in.

Liviu Lalescu

No, no need to modify your data, other than just to increase with 1 the interval end hour of your constraint. The considered interval is [a, b), like in mathematics, closed in the left side and opened in the right side - if you need this explained please let me know.

Cyrus Ireri

Quote from: Liviu Lalescu on February 17, 2024, 05:24:00 PMNo, no need to modify your data, other than just to increase with 1 the interval end hour of your constraint. The considered interval is [a, b), like in mathematics, closed in the left side and opened in the right side - if you need this explained please let me know.

Kindly explain farther

Liviu Lalescu

If you have 6 hours per day: a, b, c, d, e, f, and you want maximum 3 hours in b, c, d, e, then you need to add a constraint where the interval is [b, f). Clear now?