> Discrete Optimization > Transport: Piecewise Linear Optimization > Representing the Data |
Representing the Data |
INDEX PREVIOUS NEXT |
As in other examples, the template class IloArray
appears in a type definition to create matrices for this problem, like this:
typedef IloArray<IloNumArray> NumMatrix; typedef IloArray<IloNumVarArray> NumVarMatrix; |
Those two-dimensional arrays (that is, arrays of arrays) are now available in the application to represent the demands from the showrooms and the supplies available from the factories.
Copyright © 1987-2003 ILOG, S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |