| Overview | Group | Tree | Graph | Index | Concepts |
This function defines a maximization objective in a model. In other words, it
simply offers a convenient way to create an instance of
IloObjective with its sense defined as
Maximize. However, an instance of
IloObjective created by IloMaximize may
not necessarily maintain its sense throughout the lifetime of the instance.
The optional argument
name is set to 0 by default.
You may define more than one objective in a model. However, algorithms conventionally take into account only one objective at a time.