Thanks Hans for ur help I will try to solve the problem accordingly if there are any problems will contact u surely . -- View this message in context: http://www.nabble.com/Quadratic-Constraints-tp25528480p25530553.html Sent from the R help mailing list archive at Nabble.com.