On 2014-12-11, pegah Ali <
pegah.a...@gmail.com> wrote:
> ------=_Part_141_146171712.1418307564716
> Content-Type: multipart/alternative;
> boundary="----=_Part_142_
2134155063.1418307564716"
>
> ------=_Part_142_
2134155063.1418307564716
> Content-Type: text/plain; charset=UTF-8
First, you need to declare your variables integer; then
you can formulate your constraints on x_0 and x_1 as linear inequalities
(e.g. 4<=x_0<=6), but you'd have to work harder for x_2;
say, you can set x_2==9*x_3+5*x_4+2*x_5, and
further specify that x_3,4,5 are binary and sum up to 1.
HTH.