Solved

Summation over two sets

  • 4 September 2023
  • 2 replies
  • 29 views

Badge +1

Hi All,

can someone explain how to enter this as a constraint in AIMMS:

(“für alle” means for all)

This is what I did:

I always get an error notification :(

Thanks in advance!

 

Best,

Eddy

icon

Best answer by MarcelRoelofs 4 September 2023, 11:21

View original

2 replies

Userlevel 4
Badge +5

@Eddy You're missing a comma after the tuple in the sum, so

sum((i_souce,i_transportationmode), ...) = …

 

 

 

 

Badge +1

Hi Marcel,

thanks a lot! Would have never noticed … 

Reply


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator