ILOG CPLEX 11.0 User's Manual > Discrete Optimization > Using Piecewise Linear Functions in Optimization: a Transport Example > Developing a Model > 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-2007 ILOG S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |