Download
//data file for 8 period probelm

p=8; 
a=10; /* minimum academic load allowed per period */
b=24; /* maximum academic load allowed per period */
c=2; /* minimum amount of courses allowed per period, 
        4 to make problem  tighter*/
d=10; /* maximum amount of courses allowed per period
         8 to make problem tighter*/
courses = {
dew100,fis100,hcw310,iwg101,mat190,mat192, dew101,
fis101, iwi131, mat191 , mat193 , fis102 , hxwxx1, 
iei134 , iei141 ,  mat194, 
dewxx0, hcw311 ,iei132 ,iei133, iei142, iei162, 
iwn170, mat195,  hxwxx2,  iei231, iei241, iei271, iei281, iwn261, 
hfw120,  iei233, iei238, iei261, iei272,  iei273, iei161,  iei232, 
iei262, iei274,  iwi365,   iwn270 , hrw130 , iei218 , iei219 ,iei248 };

credit = [
1,  3,  1,  2,  4, 
 4,  1,  5,  3,  4, 
 4,  5, 1,  3, 3, 
 4,  1,  1,  3,  3, 
 3,  3,  3,  3,  1, 
 4,  4,  3,  3, 3, 
 2,  4,  3,  3,  3, 
 3,  3,  3,  3,  3, 
 3,  3,  2,  3, 3, 
 3
];

prereq= {
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,

};