Skip to main content
Solved

Summation over two sets

  • September 4, 2023
  • 2 replies
  • 58 views

Forum|alt.badge.img+1
  • Enthusiast
  • 3 replies

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

Best answer by MarcelRoelofs

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

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

 

 

 

 

2 replies

MarcelRoelofs
AIMMSian
Forum|alt.badge.img+5
  • AIMMSian
  • 107 replies
  • Answer
  • September 4, 2023

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

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

 

 

 

 


Forum|alt.badge.img+1
  • Author
  • Enthusiast
  • 3 replies
  • September 4, 2023

Hi Marcel,

thanks a lot! Would have never noticed … 



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

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