[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Problem representing c = min (a, b)

From: Andrew Makhorin
Subject: Re: [Help-glpk] Problem representing c = min (a, b)
Date: Fri, 19 Nov 2010 20:39:39 +0300

> In more general case you can model min, which is a piecewise linear
> function, using auxiliary binary variables; for details see:

That is, c = min(a, b) = a - f(a - b), where
f(t) = "if t < 0 then 0 else t" is a piecewise linear function.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]