Constraint in Integer Programming

fexie11

New member
Joined
Jan 24, 2020
Messages
7
Dears,

I have this task to make course schedule. The schedule should be in consecutive and this is the constraint that makes the schedule in consecutive (X111, X112):

1598031268083.png
i = course (1,...,20)
j = days (1,...,5)
k = periods (1,...,11)
k = time slots (1,...,11).....................................edited
wi = number of periods required for course i (2 periods or 3 periods)
l = 2,..,wi
Xijk = 1 if course i is assigned to the jth time slot of day k = 1 if course i is assigned to the kth time slot of day j ...............................edited
= 0, else​

Can someone explain to me what does the constraint means?

1598055604194.png

Best Regards.
 
Last edited by a moderator:
I'm sorry i mean:

k = time slots (1,...,11)
Xijk = 1 if course i is assigned to the kth time slot of day j
 
Top