Skip to main content
Solved

How to code βˆ€π‘–,𝑑,𝑗\{𝑖} in domain index

  • December 2, 2021
  • 3 replies
  • 112 views

Forum|alt.badge.img

Dear community,

Β 

I am working on a lot sizing problem with sequence dependent setupcosts for my thesis project. Since I have no particular background in e.g., operations research, some of the notations are unfamiliar to me. ConsiderΒ the following constraint to eliminate subtours in the setup sequence between products (indexed with i and j) in a specific time period t.

𝑉𝑖𝑑 + 𝑁 βˆ™ 𝑇𝑖𝑗𝑑 βˆ’ (𝑁 βˆ’ 1) βˆ’ 𝑁 βˆ™ 𝛼𝑖𝑑 ≀ 𝑉𝑗𝑑  Β  Β  Β βˆ€π‘–,𝑑,𝑗\{𝑖}

I do not understand how to implement the last part (𝑗\{𝑖}) in the index domain.Β 

Β 

I really appreciate your help!

Best answer by gdiepen

Hi,

is this not just for all combinations of i, j, and t for which holds that i and j are not the same?

That could be done in the index domain in AIMMS like

Β 

(i,j,t) | i <> j

3 replies

gdiepen
AIMMS Champ
Forum|alt.badge.img+7
  • AIMMS Champ
  • 155 replies
  • Answer
  • December 2, 2021

Hi,

is this not just for all combinations of i, j, and t for which holds that i and j are not the same?

That could be done in the index domain in AIMMS like

Β 

(i,j,t) | i <> j


Forum|alt.badge.img
  • Author
  • Explorer
  • 1 reply
  • December 2, 2021

I was thinking of that too. However, why isn't it then notated withΒ iΒ β‰ Β jΒ ?


gdiepen
AIMMS Champ
Forum|alt.badge.img+7
  • AIMMS Champ
  • 155 replies
  • December 2, 2021

Just a different notation probably. Is more set related notation AFAIK



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

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