[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: |
Thu, 18 Nov 2010 17:46:11 +0300 |
> If in optimal solution c is expected to take on value a or b,
More precisely, if removing the constraint c = min(a, b) leads to
c > min(a, b) in optimal solution, for example, if c has to be
maximized.
> you can
> replace the constraint c = min(a, b) with the following two linear
> inequality constraints:
>
> c <= a
> c <= b