CPLEX Error 1217: No solution exists. Problem is integer infeasible.

Problems with modeling
Post Reply
Orkunoz
User
User
Posts: 2
Joined: 2 years ago

CPLEX Error 1217: No solution exists. Problem is integer infeasible.

Post by Orkunoz »

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= 10*Z(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), 12*x(h,i,k,w)) =l= sum((w,k), 12*x(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;
Fred
Posts: 372
Joined: 7 years ago

Re: CPLEX Error 1217: No solution exists. Problem is integer infeasible.

Post by Fred »

Please use the code tags as mentioned in the rules. Otherwise your table formatting is broken and the code can't be executed without errors.

Best,
Fred
Orkunoz
User
User
Posts: 2
Joined: 2 years ago

Re: CPLEX Error 1217: No solution exists. Problem is integer infeasible.

Post by Orkunoz »

This is the result after click run. This is my homework idk how to use it properly and cant see any error excep error 1217. Can u help me you can change the numbers there is no queestion I create one and I can change numbers,lines, operaters etc.

--- Job bitirme4.gms Start 07/02/21 16:49:49 35.1.0 r82a9585 WEX-WEI x86 64bit/MS Windows
--- Applying:
E:\Downloads E\35\gmsprmNT.txt
--- GAMS Parameters defined
Input "E:\Downloads E\bitirme4.gms"
PageSize 0
ScrDir "E:\Downloads E\225a\"
SysDir "E:\Downloads E\35\"
LogOption 3
ErrMsg 1
ErrorLog 99
IDE 1
LstTitleLeftAligned 1
Licensee: GAMS Community License for Orkun Oeztuerk G210702|0002AO-GEN
Izmir University of Economics CL1496
C:\Users\orkun\OneDrive\Belgeler\GAMS\gamslice.txt
Orkun Oeztuerk, orkun.ozturk@std.izmirekonomi.edu.tr
Community license for demonstration and instructional purposes only
GAMS 35.1.0 Copyright (C) 1987-2021 GAMS Development. All rights reserved
--- Starting compilation
--- bitirme4.gms(125) 3 Mb[FIL:"E:\Downloads E\bitirme4.gms",125,0]
--- Starting execution: elapsed 0:00:00.006[LST:135]
--- Generating MINLP model new1[LST:135]
--- bitirme4.gms(117) 6 Mb[FIL:"E:\Downloads E\bitirme4.gms",117,0]
--- 210 rows 757 columns 2,819 non-zeroes
--- 0 nl-code 0 nl-non-zeroes
--- 756 discrete-columns
--- bitirme4.gms(117) 4 Mb[FIL:"E:\Downloads E\bitirme4.gms",117,0]
--- Executing DICOPT (Solvelink=2): elapsed 0:00:00.016[LST:331]
-------------------------------------------------------------------------------
Dicopt 2 35.1.0 r82a9585 Released Apr 29, 2021 WEI x86 64bit/MS Window
-------------------------------------------------------------------------------
by Aldo Vecchietti, Director del Instituto INGAR,
CONICET, UTN, Santa Fe, Argentina
by Ignacio E. Grossmann, Chemical Engineering Faculty,
Carnegie Mellon University, Pittsburgh, PA, USA
-------------------------------------------------------------------------------
*** This solver runs with a community license. No commercial use.
--- DICOPT: No non-linearities found: executing the MIP solver

The model is linear (possibly with integer variables).
We will call the MIP solver to solve it for you.

Advice: use a MIP solver to solve this problem.

IBM ILOG CPLEX 35.1.0 r82a9585 Released Apr 29, 2021 WEI x86 64bit/MS Window

--- *** This solver runs with a community license. No commercial use.
--- Space for names approximately 0.02 Mb
--- Use option 'names no' to turn use of names off
--- GMO memory 0.61 Mb (peak 0.62 Mb)
--- Dictionary memory 0.00 Mb
--- Cplex 20.1.0.1 link memory 0.02 Mb (peak 0.08 Mb)
--- Starting Cplex

Version identifier: 20.1.0.1 | 2021-04-07 | 3a818710c
CPXPARAM_Advance 0
CPXPARAM_Threads 1
CPXPARAM_MIP_Display 4
CPXPARAM_MIP_Tolerances_AbsMIPGap 0
Generic callback 0x50
Infeasibility row 'Eq1(1,1)': 0 = 1.
Presolve time = 0.00 sec. (0.20 ticks)

Root node processing (before b&c):
Real time = 0.00 sec. (0.29 ticks)
Sequential b&c:
Real time = 0.00 sec. (0.00 ticks)
------------
Total (root+branch&cut) = 0.00 sec. (0.29 ticks)

--- MIP status (103): integer infeasible.
--- Cplex Time: 0.00sec (det. 0.29 ticks)

CPLEX Error 1217: No solution exists.
--- Problem is integer infeasible
--- Reading solution for model new1[LST:343]
*** Status: Normal completion[LST:404]
--- Job bitirme4.gms Stop 07/02/21 16:49:49 elapsed 0:00:00.088
Post Reply