Hello all,

I am trying to solve a problem using glpk 4.42.
I need the continuously valued columns to upper and lower bounds but also to be 
able to have a single integer value out of this bound.
More specifically, I need all the columns Xi to be bounded by 6=< Xi =<16 but I 
also want Xi=0 to be a possible value for the variables.
This is how I set the range:

                    glp_set_col_kind(lp, Xi, GLP_CV);
                    glp_set_col_bnds(lp, Xi, GLP_DB, 6.0, 16.0);

but how can I add Xi=0 to the allowed range?

Thanks in advance,
Ariel

_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to