[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] Re: Expression
From: |
Andrew Makhorin |
Subject: |
[Help-glpk] Re: Expression |
Date: |
Wed, 13 Oct 2010 20:20:59 +0400 |
> I'm converting to an expression that wrote of the software LINGO for
> GLPK and I'm struggling, can you help me?
>
> The expression on Lingo is this:
>
> ((1 - XE1156D02T3) * (1 - XE1156D03T3)) + ((1 - XE1156D09T3) * (1 -
> XE1156D10T3)) + ((1 - XE1156D16T3) * (1 - XE1156D17T3)) + ((1 -
> XE1156D23T3) * (1 - XE1156D24T3)) + ((1 - XE1156D30T3) * (1 -
> XE1156D31T3)) >= 1;
>
> I'm trying to use this:
> ((1 - XE1156D02T3) (1 - XE1156D03T3)) + ((1 - XE1156D09T3) (1 -
> XE1156D10T3)) + ((1 - XE1156D16T3) (1 - XE1156D17T3)) + ((1 -
> XE1156D23T3) (1 - XE1156D24T3)) + ((1 - XE1156D30T3) (1 -
> XE1156D31T3)) >= 1;
>
> but I get the following error message: ET276_03_54.lp: 2257: missing
> constraint sense.
Your instance looks like a quadratic program. Note that glpk is intended
to solve LP and MIP only, not QP.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-glpk] Re: Expression,
Andrew Makhorin <=