help-glpk
[Top][All Lists]
Advanced

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

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


From: dhiguero
Subject: Re: [Help-glpk] Problem representing c = min (a , b)
Date: Mon, 22 Nov 2010 12:00:32 +0100
User-agent: RoundCube Webmail/0.4


Hi everybody,

First of all I want to thank you all for your help. I think I am now able to model the function I want. The solution at this point is a mix of both suggestions and it seems to work as expected.

  #c = min (a,b)

  c <= a;
  c <= b;

  c >= a - Ma*bit
  c >= b - Mb*(1-bit)

  Thanks again,

  Regards,

  Daniel




reply via email to

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