> Discrete Optimization > Transport: Piecewise Linear Optimization > Piecewise Linearity in ILOG CPLEX > Special Considerations about Solving with IloPiecewiseLinear |
Special Considerations about Solving with IloPiecewiseLinear |
INDEX PREVIOUS NEXT |
Under some conditions, a piecewise linear problem may be equivalent to a linear program (rather than a MIP). In such a case, no branching is necessary. Whether a problem represented by a piecewise linear function made up of segments can be modeled as a linear program (and thus it can be solved straightforwardly without branching) depends on the slope of these segments.
A piecewise linear function is convex if the succession of the slopes of its segments is increasing. In contrast, a piecewise linear function is concave if the succession of slopes is decreasing.
Consider a minimization problem having linear constraints of the form
a
1
x
1
+...+a
n
x
n
<= a
0
and
a
1
x
1
+...+a
n
x
n
= a
0
where x
i
is a variable or a piecewise linear function.
Sufficient conditions for this problem to be a linear program are these:
These statements have equivalent translations for >= constraints or for a maximization problem. See Are Logical Constraints Discrete or Continuous? for more detail about piecewise linear functions in the context of whether they are convex or concave and for an indication of when piecewise linear functions lead to a MIP or LP formulation.
With this background about piecewise linear functions and their representation in Concert Technology, consider a transportation example exploiting piecewise linearity.
Copyright © 1987-2003 ILOG, S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |