Re: [R] constraints

From: Thomas Lumley <tlumley_at_u.washington.edu>
Date: Mon 23 May 2005 - 23:56:45 EST

On Sun, 22 May 2005, Arne Henningsen wrote:
> constrOptim by two inequality constraints:
> a - b >= 0
> and
> b - a >= 0
> However, I guess that the solver prefers the first way ;-)

It is not possible. The starting value must be in the interior of the feasible region (because the constraints are implemented with log barriers). This approach gives a feasible region with no interior.

         -thomas



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue May 24 00:03:10 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:00 EST