CPLEX OUTPUT WITH MINIMIZING IS ALWAYS '0' MATLAB API

9 views
Skip to first unread message

khan

unread,
Jan 16, 2018, 5:39:57 AM1/16/18
to AMPL Modeling Language
HELLO EVERYONE,

PLEASE SUGGEST ME ABOUT THE PROBLEM. I AM USING MATLAB API AND GOT FOLLOWING RESULTS WHEN I TRY TO MINIMIZE MY OBJECTIVE:

CPLEX 12.8.0.0: optimal integer solution; objective 0
0 MIP simplex iterations
0 branch-and-bound nodes
No basis.
Objective is: 0.000000

WHAT DOES IT MEAN?

AND WHEN I MAXIMIZE THE OBJECTIVE:

CPLEX 12.8.0.0: optimal integer solution; objective 6660
6 MIP simplex iterations
0 branch-and-bound nodes
No basis.
Objective is: 6660.000000

Can someone explains me what is wrong with this model?

Model and data files here:
-------------------------------------------------------------------------------------------------
set eNB;
set SUBCAR;

param Pmax{eNB} >= 0;
param Ppwr{SUBCAR} >= 0;

#check: sum{i in eNB} Pmax[i]=sum{j in SUBCAR} Preq[j];

param intf{eNB,SUBCAR}>=0;
var Pall{eNB,SUBCAR}>=0;
var Xku{eNB,SUBCAR} binary;

#Objective
minimize Total_Interference:
     sum{i in eNB, j in SUBCAR} intf[i,j] * Pall[i,j] * Xku[i,j] ;

#Maximum
subject to PMAX{i in eNB}: sum{j in SUBCAR} Pall[i,j]  <=  Pmax[i];

#Peak
subject to PPWR{j in SUBCAR}: sum{i in eNB} Pall[i,j]  <=  Ppwr[j];

-----------------------------------------------------------------------------------------------------------------

param: eNB: Pmax:=
       eNB1 200
       eNB2 170;

param: SUBCAR: Ppwr:=
        1     90
        2     10
        3     60
        4     40
        5     170;

param intf: 1 2 3 4 5:=
eNB1 3  1   11   1  16
eNB2 27  9    12   9   26;
Reply all
Reply to author
Forward
0 new messages