[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] Can you help me?
From: |
rimex |
Subject: |
[Help-glpk] Can you help me? |
Date: |
Sun, 23 Aug 2009 16:18:51 +0400 |
Hi,
My LP is below:
\* Problem: sample *\
Minimize
obj: + x1
Subject To
p: - x2 + x1 >= 1
Bounds
-2147483648 <= x1 <= 2147483647
-2147483648 <= x2 <= 2147483647
End
I use GLPK to solve it, result is below:
z = -2.147483648E9; x1 = -2.147483648E9; x2 = -2.147483649E9
"x2" is out of boundary, it seems some thing wrong, can you tell me why?
Thank you very much!
Hi,
My LP is below:
\* Problem: sample *\
Minimize
obj: + x1
Subject To
p: - x2 + x1 >= 1
Bounds
-2147483648 <= x1 <= 2147483647
-2147483648 <= x2 <= 2147483647
End
I use GLPK to solve it, result is below:
z = -2.147483648E9; x1 = -2.147483648E9; x2 = -2.147483649E9
"x2" is out of boundary, it seems some thing wrong, can you tell me why?
Thank you very much!
- [Help-glpk] Can you help me?,
rimex <=