what should I do If i want max Activity tag =1 from selection

Started by Vũ Ngọc Thành, November 04, 2023, 09:05:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Vũ Ngọc Thành

Hello LiViu and Volker!
what should I do  If i want  max Activity tag =1 from selection

Liviu Lalescu

Hi,

Hmm... you need to add more constraints activities occupy max time slots from selection.

Vũ Ngọc Thành

I have Two sets of activities:
Activity 1 with: id1,id2,id3,id4,id5
Activity 2 with: : id6,id7,id8,id9,id10
I want to put only 1 activities in there
You can add this new constraint

Liviu Lalescu


Vũ Ngọc Thành

#4
I have Two sets of activities:
sets of activities 1 with: id=1,id=2,id=3,id=4,id=5
sets of activities 2 with: id=6,id=7,id=8,id=9,id=10
I want to choose 1 set of activities   for 2 lecture periods as shown in the picture.
You can add this new constraint

Liviu Lalescu

So in the two slots selected with X there can be at most one activity tag? Please allow me some time to think, I am doing other work on FET and I am very tired and cannot think clearly now.

Vũ Ngọc Thành

Thank you for understanding my thoughts correctly. I find this constraint does a lot of good for scheduling

Liviu Lalescu