Factored and canonical forms: Using IloGenerateBounds |
INDEX
![]() |
IloGenerateBounds
is a goal that performs efficient domain reduction, regardless of whether its arguments are factored or canonical form.
Let's look at an example, where the constraint is not written in a factored form but in canonical form, like this:
In this case, the domain of z is:
z = [-36, 22] |
If you call the function IloGenerateBounds
on the variable z, the reduction is efficient anyway. In other words, in situations where the form of a floating-point expression (whether canonical or factored) is an issue, it's a good idea to exploit IloGenerateBounds
.
Here's the example:
The output is:
z = [-36, 15.04] |
© Copyright IBM Corp. 1987, 2009. Legal terms. | PREVIOUS NEXT |