[R] Semi continous variable- define bounds using lpsolve

pragathichi pragathichitra.s at tcs.com
Tue Sep 22 12:34:05 CEST 2009


How to define bounds for a semi continous variable in lp_solve.
Min 5x1 +9x2 +7.15x3 +0.1x4
subject to 
x1+x2+x3+x4=6.7
x1+x4 <= 6.5
And x3 can be 0 or greater than 3.6
hence x3 is  a semi continous variable 
how to define bounds as well as semicontinous function because using 
set.semicont and set. bound simantaneously doesn't seem to work.Thanks in
advance for the help
-- 
View this message in context: http://www.nabble.com/Semi-continous-variable--define-bounds-using-lpsolve-tp25530668p25530668.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list