This method returns the numeric values of all objective bounds
in a multi-objective function associated with the CP engine.
Namespace: ILOG.CP
Assembly: ILOG.CP (in ILOG.CP.dll)
Syntax
| C# |
|---|
public double[] GetObjBounds() |
| Visual Basic |
|---|
Public Function GetObjBounds As Double() |
Remarks
Note that when StaticLex(array<INumExpr>[]()[][], String) is used,
then the bound values must be taken as a whole, as are the values delivered
by GetObjValues()()()(). One cannot interpret
bound values on each criterion independently. For example, suppose, we
have a problem with two criteria specified to
StaticLex(array<INumExpr>[]()[][], String), a number of workers, and
a number of days to complete a job. That is, we always prefer to use less
workers, but for equal numbers of workers, we prefer to take less days.
Then a solution with 3 workers and 10 days is perfectly compatible with
a lower bound of 2 workers and 13 days, even though the lower bound on
the number of days is higher than the value in the solution.