|
From: | Ariel Daliot |
Subject: | [Help-glpk] Multi-ranged column bounds |
Date: | Thu, 11 Feb 2010 14:34:46 +0200 |
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 |
[Prev in Thread] | Current Thread | [Next in Thread] |