FET Forum

FET Support (English) => Get Help => Topic started by: Vũ Ngọc Thành on November 04, 2023, 09:05:01 AM

Title: what should I do If i want max Activity tag =1 from selection
Post by: Vũ Ngọc Thành on November 04, 2023, 09:05:01 AM
Hello LiViu and Volker!
what should I do  If i want  max Activity tag =1 from selection
Title: Re: what should I do If i want max Activity tag =1 from selection
Post by: Liviu Lalescu on November 04, 2023, 10:37:30 AM
Hi,

Hmm... you need to add more constraints activities occupy max time slots from selection.
Title: Re: what should I do If i want max Activity tag =1 from selection
Post by: Vũ Ngọc Thành on November 04, 2023, 10:53:26 AM
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
Title: Re: what should I do If i want max Activity tag =1 from selection
Post by: Liviu Lalescu on November 04, 2023, 11:06:59 AM
Sorry, I don't understand.
Title: Re: what should I do If i want max Activity tag =1 from selection
Post by: Vũ Ngọc Thành on November 04, 2023, 02:54:51 PM
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
Title: Re: what should I do If i want max Activity tag =1 from selection
Post by: Liviu Lalescu on November 04, 2023, 06:18:16 PM
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.
Title: Re: what should I do If i want max Activity tag =1 from selection
Post by: Vũ Ngọc Thành on November 04, 2023, 10:14:40 PM
Thank you for understanding my thoughts correctly. I find this constraint does a lot of good for scheduling
Title: Re: what should I do If i want max Activity tag =1 from selection
Post by: Liviu Lalescu on November 06, 2023, 05:02:05 AM
Thank you for your suggestion! I added it in the TODO.