ILOG CPLEX 11.0 User's Manual > Discrete Optimization > Early Tardy Scheduling > Stating Precedence Constraints |
Stating Precedence Constraints |
INDEX PREVIOUS NEXT |
In each job, activities must be processed one after the other. This order is enforced by the precedence constraints, which look like this:
for(j = 0; j < nbJob; j++){ for(i = 1; i < nbResource; i++){ model.add(s[j][i] >= s[j][i-1] + duration[j][i-1]); } } |
Copyright © 1987-2007 ILOG S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |