Re: [Rd] Code/doc inconsistancy in constrOptim (PR#7346)

From: <ligges_at_statistik.uni-dortmund.de>
Date: Sat 06 Nov 2004 - 00:09:42 EST


ligges@statistik.uni-dortmund.de wrote:

> Code in constrOptim() (R-2.0.0, package stats):
>
> if (any(ui %*% theta - ci <= 0))
> stop("initial value not feasible")
>
> but the help page tells us in Section "Details":
>
> "The feasible region is defined by ui %*% theta - ci >= 0."

Damn, I'm sorry, apologies!!!

Someone told me of an error and I did not check carefully enough, in particluar not the following help pages sentence "The starting value must be in the interior of the feasible region, but the minimum may be on the boundary."

Uwe Ligges

>
> Uwe Ligges
>
>
>
>
>
> --please do not edit the information below--
>
> Version:
> platform = i386-pc-mingw32
> arch = i386
> os = mingw32
> system = i386, mingw32
> status =
> major = 2
> minor = 0.0
> year = 2004
> month = 10
> day = 04
> language = R
>
> Windows NT 4.0 (build 1381) Service Pack 6
>
> Search Path:
> .GlobalEnv, package:methods, package:stats, package:graphics,
> package:grDevices, package:datasets, package:utils, package:fortunes,
> Autoloads, package:base
>
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat Nov 06 00:17:54 2004

This archive was generated by hypermail 2.1.8 : Sat 06 Nov 2004 - 01:08:16 EST