### Error 668 , 37 , 409

Posted:

**Wed Nov 20, 2019 5:21 pm**Hello, im getting a few errors in my code (which is interfaced with Matlab) and I'm unable to solve them.

1 - Can't understand this error and cant find information about it.

2 - I dont understand whats the problem here as I clearly use a '=e=' operator.

3 - Again, I dont understand the missing ')' when It's present.

Any feedback is appreciated.

Full code is bellow:

Code: Select all

```
26 $if exists $ include matdata.gms
**** $668
```

Code: Select all

```
58 PiCalc(b,t).. Pi(b,t) =e= P(b,t) + c(b,t) - d(b,t);
**** $37,409
37 '=l=' or '=e=' or '=g=' operator expected
```

Code: Select all

```
59 P_linhaCalc(l,t).. P_linha(l,t) =e= sum(b, A(l,b)*Pi(b,t));
**** $8,409
8 ')' expected
409 Unrecognizable item - skip to find a new statement
looking for a ';' or a key word to get started again
```

Any feedback is appreciated.

Full code is bellow: