How to set upper value instead of level value

Problems with syntax of GAMS
Post Reply
urise
User
User
Posts: 3
Joined: 8 months ago

How to set upper value instead of level value

Post by urise » 8 months ago

Hi All,

I have an equation like this :

mindelay1(i,n,m) .. dee(i,n,m) - (v*y1(n,m)) =l= z(i,n) ;

or

dee(i,n,1) - (v*y1(n,1)) =l= z(i,n) ;
dee(i,n,2) - (v*y1(n,2)) =l= z(i,n) ;
dee(i,n,3) - (v*y1(n,3)) =l= z(i,n) ;
dee(i,n,4) - (v*y1(n,4)) =l= z(i,n) ;

In this case, the result will set the upper value and different level value of z(i,n). However, I want to use the upper value instead of level value since I need to use the minimum value of z(i,n). How to solve this problem?

The example result is like this :

---- EQU mindelay1 satisfy minimum delay for content i at edge node m

LOWER LEVEL UPPER MARGINAL

1.1.1 -INF -1.512 . EPS
1.1.2 -INF -501.512 -0.875 EPS
1.1.3 -INF -501.512 -0.700 EPS
1.1.4 -INF -1.512 -0.700 -4.33E-14
1.2.1 -INF -1.656 -0.778 EPS
1.2.2 -INF -1.656 . EPS
1.2.3 -INF -501.656 -1.400 -9.50E-15
1.2.4 -INF -501.656 -0.700 EPS

cladelpino
User
User
Posts: 108
Joined: 1 year ago

Re: How to set upper value instead of level value

Post by cladelpino » 8 months ago

:? do you mean

mindelay1(i,n,m) .. dee(i,n,m) - (v*y1(n,m)) =e= z(i,n) ;

?

Try to reformulate your question, at least for me its not understandable.

Post Reply