[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] How to set boolean variable
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] How to set boolean variable |
Date: |
Mon, 24 May 2010 16:17:03 +0400 |
> Hi Lpsolver,I am newer to use this tool to solve linear
> programming. I use java wrapper of tool to solve problem.
> My question is how to set my variable to take 0 or 1 value in
> constraint?
> Another question is I have a constraint, for any i = 1...100, let
> ai <= bi, Do I need to enumerate all constraints like a1 <= b1, a2 <=
> b2,........
> or have simple constraint format to represent this.
You are writing to wrong mailing list. The help-glpk list is dedicated
to glpk, a GNU package for linear and mixed integer programming, not to
lpsolve. Probably you should ask your question on
http://tech.groups.yahoo.com/group/lp_solve/ .