Can anyone help me . there is CPLEX Error 1217: No solution exists. Problem is integer infeasible. Couldnt find solution. You can change number in table . I just need an answer. Thx for helping
Set
w ‘operator number’ /1*12/
h ‘line number’/1*2/
k ‘station number’/1*12/
i ‘job number’ /1*2/ ;
Parameters
n(h)‘number of jobs should complete on h^th line’
/
1 128
2 126
/
;
Table
t(h,i,w)‘completion time of i^th job on h^th line by w^th operator’
1 2 3 4 5 6 7 8 9 10 11 12
1.1 27 32 36 21 30 34 35 38 24 35 40 39
1.2 40 30 35 37 26 30 32 38 23 32 37 38
2.1 38 38 29 27 28 20 40 39 36 32 32 23
2.2 36 29 25 35 26 29 38 24 38 34 36 36
;
Variables
GG;
Binary Variables
u(h,k)
x(h,i,k,w)
Y(k,w)
Z(k)
;
Equations
OBJ
Eq1(h,i)
Eq2(k)
Eq3(k,h)
Eq4(i,h)
Eq5(k,w)
Eq6(k)
Eq7(w)
Eq8(k);
Eq1(h,i) … sum((w,k), x(h,i,k,w)) =e= 1;
Eq2(k) … sum((h,i,w), t(h,i,w)x(h,i,k,w)) =l= 10Z(k);
Eq3(k,h)$(ord(h) lt 2) … (u(h,k) + u(h+1,k)) =l= 1 ;
Eq4(i,h)$(ord(i) lt 2) … sum((w,k), 12x(h,i,k,w)) =l= sum((w,k), 12x(h,i+1,k,w));
Eq5(k,w) … sum ((h,i),x(h,i,k,w)) =l= 12*Y(k,w) ;
Eq6(k) … sum((w), Y(k,w)) =e= Z(k) ;
Eq7(w) … sum((k),Y(k,w)) =l= 1 ;
Eq8(k)$(ord(k) lt 12) … Z(k) =g= Z(k+1);
OBJ … GG =e= sum(k,Z(k));
model new1 /all/;
solve new1 using minlp minimizing GG;