Dear All
please help me with this problem. here is a part of my code and I received this error:
Error at _cmdno 2534 executing "display" command
(file Energy.mod, line 18, offset 608):
No values for E_TX1.
because there is not any cluster head in the cluster number1 and also this set is empty. what should I do? please help me.
thanks a lot
reset;
model main.mod
option solver 'D:\Optimization\cplexamp';
option cplex_options 'mipdisplay=2';
option show_stats 1;
option presolve 0;
#-------------------------------------------Output Data----------------------------------------#
model MILP1.mod
model MILP2.mod
problem MILP1: Dis_Tour1,const2_1,const3_1,const4_1,const5_1,const6_1,const7_1,x1,I1,y1;
problem MILP2: Dis_Tour2,const2_2,const3_2,const4_2,const5_2,const6_2,const7_2,x2,I2,y2;
#---------------------------------------------Solve--------------------------------------------#
solve MILP1;
solve MILP2;
#--------------------------------------------Display-------------------------------------------#
display Dis_Tour1,I1,y1,x1;
display Dis_Tour2,I2,y2,x2;
include printf_Msink.mod
include Energy.mod
include Delay.mod