CPLEX Solver - Not getting optimal solution

Solver related questions
Post Reply
Moawad
User
User
Posts: 1
Joined: 1 week ago

CPLEX Solver - Not getting optimal solution

Post by Moawad » 1 week ago

Hi,

I am running a linear model where the optimal solution exceeds the upper limit of one the variables. I have attached
gams file and input data in excel file.

for example
set
Gen / g1*g2 /

Table GenData(Gen,*) 'generating units characteristics'
b pmin pmax
g1 20 100 250
g2 30 100 250;

Variables
Pg(Gen,t)

Pg.lo(Gen,t) = GenData(Gen,'Pmin')/Sbase;
Pg.up(Gen,t) = GenData(Gen,'Pmax')/Sbase;

one of the values of Pg > 250

I really appreciate you feedback.

Bests,
Mohamed
demand.xlsx
(568.6 KiB) Downloaded 10 times
Singleperiod_3Buses.gms
(3.65 KiB) Downloaded 9 times

Post Reply