> Discrete Optimization > Food Manufacturing 2: Using Logical Constraints > Representing the Data > What Is Unknown? |
What Is Unknown? |
INDEX PREVIOUS NEXT |
The variables of the problem can be represented in arrays:
like this:
Notice that how much to use and buy is initially unknown, and thus has an infinite upper bound, whereas the amount of oil that can be stored is limited, as you know from the description of the problem. Consequently, one of the constraints is expressed here as the upper bound of 1000 on the amount of oil by type that can be stored per month.
Copyright © 1987-2003 ILOG, S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |