How to model variables with limited set of values

Userlevel 6
Badge +6
In this article we’ll learn how to model a variable that can only take a limited set of values, for example:

x{1.5, 2.5, 4.5}

You can use binary variables to ensure exactly one of the values is selected. But let’s find out how to get the chosen option as a variable value again.


0 replies

Be the first to reply!


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

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