help-glpk
[Top][All Lists]
Advanced

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

RE: [Help-glpk] Outputting dual cost from GLPSOL


From: xypron
Subject: RE: [Help-glpk] Outputting dual cost from GLPSOL
Date: Fri, 12 Jun 2009 13:19:59 -0700 (PDT)



D'Agostino, Larry - TX wrote:
> 
> Xypron,
> 
> How do you propose the patch is incorporated?  Do you think maybe as a
> switch on the glpsol binary?
> 

Hopefully the coding can be incorporated into the next release. I see no
need for switching the additional features on and off.

Access to the properties of rows and columns will enhance the syntax like
this:

for { r in R } {
  for { b in B } {
    printf "%3s: ", b;
    printf "%6s, %9.3g, %6.3f, %9.3g, %6.3f\n", r, 
      con_cap[b,r].ub, con_cap[b,r].value,  # upper bound, value
      con_cap[b,r].lb, con_cap[b,r].dual;    # lower bound, dual value
  }
}

Best regards

Xypron

-- 
View this message in context: 
http://www.nabble.com/Outputting-dual-cost-from-GLPSOL-tp23979001p24005510.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.





reply via email to

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