ILOG CPLEX 11.0 Getting Started > Tutorials > Concert Technology Tutorial for C++ Users > Building and Solving a Small LP Model in C++ > Modeling by Rows |
Modeling by Rows |
INDEX PREVIOUS NEXT |
The function populatebyrow
creates the variables and adds them to the array x
. Then the objective function and the constraints are created using expressions over the variables stored in x
. The range constraints are also added to the array of constraints c
. The objective and the constraints are added to the model.
Copyright © 1987-2007 ILOG S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |