help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] a question about row dual value


From: zhihao cen
Subject: [Help-glpk] a question about row dual value
Date: Wed, 22 Oct 2008 04:40:07 +0300

Hello

 

I have the following small question ( in cpx_lp form )


====================

Minimize
 obj: + 0.191747629717657 x_1 + x_3

Subject To
 r_1: + x_2 - x_1 = 2
 r_2: + x_3 + 0.216119012198317 x_2 >= 0.432238024396634

Bounds
 0 <= x_1 <= 1
 -1 <= x_2 <= 2
 x_3 free

 

End

================

The row dual value for r_1 is 0, for which I have a question.

In fact, when I change 2 to 1.99999, I get the dual value for r_1 is -0.191748 
which I want. 

 

I know there is no solution when RHS of r_1 bigger than 2. But I am interested 
in the case that it is less than 2.

 

I want to know if there is a way to get -0.191748 without changing the RHS 
value of r_1.

 

Thanks

 
Hello
 
I have the following small question ( in cpx_lp form )

====================

Minimize
 obj: + 0.191747629717657 x_1 + x_3

Subject To
 r_1: + x_2 - x_1 = 2
 r_2: + x_3 + 0.216119012198317 x_2 >= 0.432238024396634

Bounds
 0 <= x_1 <= 1
 -1 <= x_2 <= 2
 x_3 free
 
End
================

The row dual value for r_1 is 0, for which I have a question.

In fact, when I change 2 to 1.99999, I get the dual value for r_1 is -0.191748 which I want.
 
I know there is no solution when RHS of r_1 bigger than 2. But I am interested in the case that it is less than 2.
 
I want to know if there is a way to get -0.191748 without changing the RHS value of r_1.
 
Thanks

reply via email to

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