[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] How to set boolean variable
From: |
李鹏 |
Subject: |
[Help-glpk] How to set boolean variable |
Date: |
Mon, 24 May 2010 14:45:59 +0800 |
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.
Thank you for any reply
- [Help-glpk] How to set boolean variable,
李鹏 <=