help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] problem with dual


From: name name
Subject: Re: [Help-glpk] problem with dual
Date: Fri, 5 Aug 2011 15:23:36 +0200

I can't see where the probleme is coming

model primar is

\* Problem: Unknown *\

Minimize
 objective: + x_1 + x_2 + x_3 + x_4 + x_5

Subject To
 constraint1: + 5 x_1 >= 48
 constraint2: + 2 x_2 >= 35
 constraint3: + 2 x_3 >= 24
 constraint4: + 2 x_4 >= 10
 constraint5: + x_5 >= 8

End

I solve and get

getObjectiveValue
master obj:52.1

then I wont to pass a dual solution for this I do
GLPK.glp_get_col_dual(lp,colId+1) for all collone and I got this.

reply via email to

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