
Hello,
I am trying to use the dense constraint option while using "lp()", but can't get it to work! Here is the example given  in the reference manual. The list "ll" contains the correct answer, while "ll2" has an objective function value of 1e30. I'd appreciate it if somebody can let me know what I am doing wrong here.function (){		# Set up problem: maximize		# x1 + 9 x2 + x3 subject to
		# x1 + 2 x2 + 3 x3 <= 9		# 3 x1 + 2 x2 + 2 x3 <= 15		#		f.obj <- c(1, 9, 3)		f.con <- matrix (c(1, 2, 3, 3, 2, 2), nrow=2, byrow=TRUE)		f.dir <- c("<=", "<=")		f.rhs <- c(9, 15)		#		# Now run.		#		ll<-lp ("max", f.obj, f.con, f.dir, f.rhs)
		dense.mat<-matrix(c(1,1,1, 1,2,2, 1,3,3, 2,1,3, 2,2,2, 2,3,2), 6, 3, byrow=T)		ll2<-lp("max", f.obj, , f.dir, f.rhs, dense.const=dense.mat)}Thanks in advance!Prem 		 	   		  
	[[alternative HTML version deleted]]

