I am newbie in glpk and I want to solve an lp problem with binary decision variables, that is zero (0) or one (1). How can I declare that in glpk? In the manual I found these:
LPX_FR −1 < x < +1 Free (unbounded) variable LPX_LO lb _ x < +1 Variable with lower bound LPX_UP −1 < x _ ub Variable with upper bound LPX_DB lb _ x _ ub Double-bounded variable LPX_FX lb = x = ub Fixed variable But I none of the above can declare my binary decision variables (lpx set col bnds). Can anyone help? I am sure that there must be an answer but I cant find it.
_______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
