Page 1 of 1

power flow problem but its showing unbounded without any errors. i am putting the code file here . need suggestions

Posted: Wed Jul 28, 2021 12:19 pm
by ersuhaib786
********problem found to be unbounded*******
$TITLE abcd
Set i 'nob' /i1*i5/;
set k 'Noc' /i1/;


Parameter Eata(i,k) 'RR';
Eata(i,k) =10;
Parameter D0(i,k) 'boc';
D0(i,k)=2;
Parameter Pi(i) 'pml'
/i1=2
i2=9
i3=3
i4=3
i5=8/;
variables
z 'objective function';
Positive variables
D(i,k) 'Doc'
r(i,k) 'pc'
D1(i) 'DD';
$EXIT

Equations
Equations
Eqn
const1
const2
const3
const4;
Eqn.. z=e=sum ((i,k),(Eata(i,k)*D(i,k))-(r(i,k)*(D0(i,k)- D(i,k)))- (pi(i)*D1(i)));
const1.. D(i,k)=g=0;
const2.. D(i,k)=l=300;
const3.. r(i,k)=g=0;
const4.. r(i,k)=l=10;

Model abcd /all/;
Solve abcd using lp maximizing z;