Define a value for a multidimensional variable Topic is solved

Problems with syntax of GAMS
Post Reply
mpap
User
User
Posts: 1
Joined: 3 weeks ago

Define a value for a multidimensional variable

Post by mpap » 3 weeks 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: 245
Joined: 2 years ago

Re: Define a value for a multidimensional variable

Post by Renger » 3 weeks ago

Hi Maria

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

Cheers
Renger

Post Reply