ILOG CPLEX 11.0 Getting Started > Tutorials > Concert Technology Tutorial for Java Users > Building and Solving a Small LP Model in Java > Modeling by Nonzeros |
Modeling by Nonzeros |
INDEX PREVIOUS NEXT |
The last of the three functions for building the model is populateByNonzero
. This function creates the variables with only their bounds, and the empty constraints, that is, ranged constraints with only lower and upper bound but with no expression. Only after that are the expressions constructed over these existing variables, in a manner similar to the ones already described; they are installed in the existing constraints with the method IloRange.setExpr
.
Copyright © 1987-2007 ILOG S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |