Define a value for a multidimensional variable Topic is solved

Problems with syntax of GAMS
Post Reply
mpap
User
User
Posts: 1
Joined: 2 months ago

Define a value for a multidimensional variable

Post by mpap » 2 months ago

Hello,

I've got this variable: H(v,d,h,j,t) and I want to fix its values for all t=1.

I would appreciate any help with the syntax.

Thanks,
Maria

User avatar
Renger
Posts: 263
Joined: 2 years ago

Re: Define a value for a multidimensional variable

Post by Renger » 2 months ago

Hi Maria

H.FX(v,d,h,j,"1") = 1;

Cheers
Renger

Post Reply