|
From: | Roland Roberts |
Subject: | [Help-glpk] Newbie scheduling problem question, contiguous time interval constraints |
Date: | Tue, 28 May 2013 20:32:01 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 |
The basic problem is that I classes c, student groups g, time periods p, and days d. We're breaking each day into 15-minute "modules" which have to be schedule. A class has to span 3-8 modules on any give day. Some classes have a minimum number of modules per week that have to be completed. With just the above, I can specify the constraints by thinking of this as a 4-dimensional array X[c,g,p,d] and the constraints are various sums. The problem I run into is specifying the the continuity constraint on scheduling. It's not sufficient to have 3 modules for class C1, they have to be 3 contiguous modules.
How do I specify this sort of thing? roland -- PGP Key ID: 66 BC 3B CD Roland B. Roberts, PhD RL Enterprises address@hidden 6818 Madeline Court address@hidden Brooklyn, NY 11220
[Prev in Thread] | Current Thread | [Next in Thread] |