[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] Re: XyPron: shadow prices in MIP problem
From: |
glpk xypron |
Subject: |
[Help-glpk] Re: XyPron: shadow prices in MIP problem |
Date: |
Wed, 05 May 2010 21:07:20 +0200 |
Hello Adam,
> Is there a way to access the shadow prices (dual values) for the
> non-integer variables in a MIP problem with GLPK?
dual values are only defined for LP problems.
You can fix the integers of the MIP solution and
solve the remaining LP with glp_simplex() and
retrieve the duals of this LP.
See as example function glp_mpl_postsolve() in
http://glpk.dyndns.org/viewvc/svn/glpk/branches/glpk-4.38-dot/src/glpapi16.c?revision=1&view=markup
Best regards
Xypron
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
- [Help-glpk] Re: XyPron: shadow prices in MIP problem,
glpk xypron <=