On Tue, 17 Jun 2008, lhaba wrote:


Hi,
i need to minimize a quadratic function with boundary condidtions and one
equality condition.
In order to do that i converted the equality constraint into 2 inequality
constaints

You can't do that with constrOptim. constrOptim requires the interior of the 
feasible region be non-empty. As it says, the starting value must be in the 
interior of the feasible region, which you didn't do.

      -thomas


Thomas Lumley                   Assoc. Professor, Biostatistics
[EMAIL PROTECTED]       University of Washington, Seattle

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to