[Top][All Lists]

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

[Help-glpk] Integer variable in {-1,1}

From: Patrick Meyer
Subject: [Help-glpk] Integer variable in {-1,1}
Date: Thu, 30 Aug 2007 16:02:39 +0200
User-agent: Thunderbird (X11/20070326)


I would like the variable x to be integer, and in {-1,1} (which means,
different from 0).

How can I write that in MathProg for glpsol? I have searched in the
manual but I can't write

 var x integer, in {-1,1};

Thanx for any suggestion.


reply via email to

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