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

Problems with modeling
Post Reply
ersuhaib786
User
User
Posts: 3
Joined: 1 year ago

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

Post by ersuhaib786 » 4 months ago

********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;

Post Reply