[R] parameter-restrictions in OPTIM

From: Florian Staab <Florian.Staab_at_Uni-Osnabrueck.de>
Date: Mon 29 May 2006 - 20:08:59 EST

Hallo, I'm trying to optimize a function A which calls another function B internally.

This function A has got two input parameters, say a1 and a2.

Using OPTIM there ist no problem restricting these parameters:

0 <= a1 <= 1 and 0 <= a2 <= 1.

My problem is an additional restriction

0 <= a1+a2 <= 1.

I'd be grateful if you could show me an easy way to find a solution using OPTIM? If not, which other function is applicable?  

Thanks for your help,

Florian Staab      

Dipl.-Kfm. Florian Staab
Universität Osnabrück
Fachbereich Wirtschaftswissenschaften
Statistik / Empirische Wirtschaftsforschung

Rolandstr. 8 (Raum 208)
D-49069 Osnabrück
Tel: 0541-969-2756
Fax: 0541-969-12756
Email: florian.staab@uos.de
Homepage: http://nts4.oec.uni-osnabrueck.de/stat1/stat1.htm


        [[alternative HTML version deleted]]

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 Mon May 29 23:43:07 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 30 May 2006 - 02:10:24 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.