Group: sci.op-research
From: Paul Rubin
Date: Saturday, March 08, 2008 8:59 AM
Subject: Re: CPLEX and constraints?

desktop wrote:
> I have BIP (binary integer problem) model that have some constraints like:
>
> x1 <= x2
> x1 <= x3
>
> etc.
>
> But CPLEX will not allow variables on the rhs. How should the above
> constraints be written in cplex?

x1 - x2 <= 0.

Second constraint left as an exercise for the reader.

/Paul

Safety Articles | Usenet Groups | Usenet News | Bluegrass