Main Menu

VietNam

Started by ngoctp29121982, May 29, 2022, 04:26:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ngoctp29121982

Hello boards.
Liviu asked me: At school I have math: 10=1+1+1+1+1+1+1+1+1+1 and have education subjects: 3 =1+1+1; English: 3 =1+1+1 and some other subjects: Physics 7 =1+1+1+1+1+1+1+1
Teaching morning-afternoon. when I schedule, the algorithm becomes 10=2+1+1+1+1+1+1+1+1 or 10 = 2+2+1+1+1+1+1+1.
Please help me

Liviu Lalescu

Hello,

I am sorry, I did not observe that you have 18 half days, representing 9 real days. I thought you had 5 real days. For English and physics, you can add them as you wrote. For math, you could best add them 2+1+...+1 (8 x 1s, 9 in total), and with other many constraints min days between activities constrain that the 2 cannot be on the same real day with 1s, or use constraint students/teachers activity tag max 2 hours daily for an activity tag (adding a tag for the math activities.

ngoctp29121982

Is there any way to keep my original algorithms.
Math teacher 10 = 1+1+1+1+1+1+1+1+1+1 100% weight

Liviu Lalescu

Not 100% (impossible), but lower (maybe 95%).

ngoctp29121982

if low (maybe 95%) math turns into 10=2+1+1+1+1+1+1+1+1+1.
other than required is 10 = 1+1+1+1+1+1+1+1+1+1.
The algorithm can't handle it?

Liviu Lalescu

I don't understand, because you have 18 FET days, representing 9 real days. So how can you have 10 activities in 9 days without 2 on a single day?

ngoctp29121982

It's an algorithm on the schedule, but when I print it out I can still change it. I think this algorithm is not optimal yet. There's no binding that it doesn't run. I had to create class constraints for math teachers, then edit them when exporting to excel. This takes time. Hope Liviu has a solution that the algorithm can do?

Liviu Lalescu

I am sorry, but I do not understand.

ngoctp29121982

I send attachment, my situation solution

ngoctp29121982

there are 9 real days, 18 days of FET and there are 10 activities then there is 1 day with 2 activities but the problem is I don't want those two activities close to each other. because 10=1+1+1+1+1+1+1+1+1+1 is broken
there are 9 real days, 18 days of FET and there are 10 activities then there is 1 day with 2 activities but the problem is I don't want those two activities close to each other. because 10=1+1+1+1+1+1+1+1+1+1 is broken
Liviu please see my attachment

Liviu Lalescu

Do you mean you want them not consecutive if on same day? Then deselect that option in the min days between activities constraints and add some constraints min gaps between activities.

ngoctp29121982

1 day with 2 activities is correct, but I want those 2 activities 1 in the morning and 1 in the afternoon. Or like you said, those 2 activities are not consecutive
I really can't do it forever

ngoctp29121982

You mean you want them not to be consecutive if on the same day? Then uncheck that option in the minimum number of days between activities constraints and add some minimum distance constraints between activities.
Yes, can you help?
thank you liviu

Liviu Lalescu

See the attached file, there are two time constraints with comments "...Liviu...". The first one: I unchecked the consecutive if same day, the second one I add it.

ngoctp29121982

Exactly what I mean
But the new version doesn't have this function
So can you create a custom version?