Hi all,

My objective function is non-scalar, which is not possible to maximize in GAMS. How may I maximise the below function in GAMS. I will be using DNLP conopt4 to solve the model. i=5, t=150, and j=70.

```
U(i,t)=sum(j, uu(i,j,t))
```

Hi all,

My objective function is non-scalar, which is not possible to maximize in GAMS. How may I maximise the below function in GAMS. I will be using DNLP conopt4 to solve the model. i=5, t=150, and j=70.

```
U(i,t)=sum(j, uu(i,j,t))
```

Hi

If you want to solve for every combination of i and t (ixt solves), you might wright a scalar function and scalar equations and loop your solve over i and t. Otherwise, it doesn’t make much sense.

Cheers

Renger

Hi,

How do I define the equation and the loop?

Thanks,

Fabio