My objective function is and I believe all my constraints are linear as well. There is one I feel skeptical about as to whether the program knows what I'm trying to do.
My X variables have three subscripts so X[i,j,k] with i being a person, j is a class, and k is a time. Well I don't want any person to have any more than 3 types of classes, j.
SUM X[i,j,k] < 50 Y[i,j] sum from k to all, for a given i and given j's , SUM Y[i,j] <= 3 sum from j to all, for a given i.
There is nothing special about 50, the main hope is that if an X[i,j,k] is active it forces that Y[i,j] to also be active.
Attachments: