Solved

Stuck on level 1a G-AIMMS

  • 11 October 2022
  • 1 reply
  • 76 views

Hi everybody,

I am new to AIMMS and just started the AIMMS Learning Game (G-AIMMS) on the tutorial site (https://how-to.aimms.com/Articles/363/363-getting-started-tutorials.html). However, I am stuck on level 1a (Gathering Ingredients), specifically at the part where I have to add the restriction that at most two markets can be visited. Can anybody help me or does anybody have the solution code?

icon

Best answer by MarcelRoelofs 21 October 2022, 18:38

View original

1 reply

Userlevel 4
Badge +5

Introduce a variable that indicates whether a market has been selected to buy from. You can then easily  enforce that any good can only be bought from markets that have been selected.

Reply


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

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