Re: [R] constrOptim with method = "L-BFGS-B"

From: Thomas Lumley <>
Date: Thu, 19 Jun 2008 08:46:29 -0700 (PDT)

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 Lumley			Assoc. Professor, Biostatistics	University of Washington, Seattle

______________________________________________ mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 19 Jun 2008 - 16:16:01 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 19 Jun 2008 - 16:30:44 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive