> I'm a student at Paris Dauphine University and i'm using GLPK to solve > MIP problems (as part of my master thesis : Operational Research and > Decision Aiding). > > When i solve my MIP problem with these two basic API Routines : > > glp_simplex(mip, NULL); > glp_intopt(mip, NULL); > > this message is shown on the screen: > > OPTIMAL SOLUTION FOUND (Optimal solution to LP rekaxation) > other comments... > INTEGER OPTIMAL SOLUTION FOUND > > The problem is the fact that this optimal integer solution is not > integer > > Any help or idea?
Most probably you are using the routine glp_get_col_prim and glp_get_row_prim which report components of the solution to lp relaxation. To obtain mip solution components you should use glp_mip_col_val, glp_mip_row_val, and glp_mip_obj_val. _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
