Hi Mike,

> 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, not integers.

This is the correct behavior.

What are you looking for are the functions

- glp_ipt_status
- glp_ipt_row_prim
- glp_ipt_row_dual
- glp_ipt_col_prim
- glp_ipt_col_dual

To know more about it, please take a look at GLPK Manual.

Raniere

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Help-glpk mailing list
Help-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to