Skip to main content

Hello, 

I am a beginner at using AIMMS and have my sets, parameters and variables all sorted out. I am, however, stuck with one constraint. I have a variable x(p) (so x(p) needed) and parameter d(p) (max capacity (p)) and want to have a constraint x(p) <= d(p), but without havin to use a sum. How do I so this? Thank you. 

Hi! Exacly as you wrote, and you just need to add ‘p’ as an index domain of your contraint:

 

 

This two courses will help you creating your first model!


Reply


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

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