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 mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
