On Fri, 2014-11-14 at 09:06 +0100, Erik Quaeghebeur wrote: > Dear Sam, > > > > I am new to GLPK and I can't the MIP solver to report integer values. > > Basically, when I first call the simplex, and then cal glp_inop, the > > message report that it found a solution but when I call glp_mip_col_val, it > > reports double numbers, (same as glp_get_col_prim output) not integers. > > What am I doing wrong? > > Probably nothing: the return type of `glp_mip_col_val` and friends is > always `double` indeed, and not `int`, but their *value* should be > integer, not non-integer. If you get non-integer return *values* from > those functions, you should get back to the list with a concrete > example. > > > Best, > > Erik >
_______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
