Solved

summation over subset of an index

  • 28 February 2023
  • 1 reply
  • 70 views

Badge

Hello everyone,

I’m new in AIMMS and need help for my thesis.

 

I need to implement the following constraints:

 

t is an index for the period, here t = ( 1,2,3,…,T )

  1. How can i set the initial value from E(t=1) = Q
  2. How can I implement the E(T+1) 

 

Thank you in advance

 

kind regards

 

 

icon

Best answer by gabiservidone 10 March 2023, 15:18

View original

1 reply

Userlevel 5
Badge +6

Hi Marv,

  1. You can either:
    1. create a element parameter with the first element of the set defined and use it as: E(elementparameter) = Q
    2. or add a domain E(t) | t=1 = Q
  2. if T is a index of a set, you can do excatly that t+1 and the result will be the next element of that set. 

We do have 2 courses about modeling in AIMMS, this will be helpfull!

https://academy.aimms.com/course/view.php?id=35

https://academy.aimms.com/course/view.php?id=53

Reply


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

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