local break-even point from mimized solutions

Problems with syntax of GAMS
Post Reply
kenho12345
User
User
Posts: 3
Joined: 6 years ago

local break-even point from mimized solutions

Post by kenho12345 »

i would like to find best soultion with lower of 2 factor z and te

how should the code in GAMS after the following?

SOLVE uc USING minlp MINIMIZING z;
SOLVE uc USING minlp MINIMIZING te;
cladelpino
User
User
Posts: 108
Joined: 7 years ago

Re: local break-even point from mimized solutions

Post by cladelpino »

You will need to store the value of any variable that you want to know later between solves..

parameter teVal,zVal,finalVal;

SOLVE uc USING minlp MINIMIZING z;

zVal=z.l;

SOLVE uc USING minlp MINIMIZING te;

teVal=te.l;

finalVal=min(zVal,teVal);
Post Reply