Formualtion of Integer Programming Constraints
Project detail
I have 4 constraint that needed to be formulated using IP:
We have k=2 buildings, m = 40 departments, g = 4 floors.
1) Departments from 21 to 29 should be in the same building, either building 1 or building 2.
2) Departments 5,6,7,12 should be in the other building, i.e, for example: if departments 21 to 29 assigned to the first building, 5,6,7,12 should be assigned to the second building.
3) Departments 4 and 10 should be in different buildings and the first floor.
4) Departments 9 & 13 should be on the second floor at any one of the 2 available buildings.