NO FRAMES

IloMinimize

public IloObjective IloMinimize(const IloEnv env, IloNum constant=0.0, const char * name=0)
public IloObjective IloMinimize(const IloEnv env, const IloNumExprArg expr, const char * name=0)
Definition file: ilconcert/ilolinear.h
This function defines a minimization objective in a model.

This function defines a minimization objective in a model. In other words, it simply offers a convenient way to create an instance of IloObjective with its sense defined as Minimize. However, an instance of IloObjective created by IloMinimize 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.