I know it's possible to solve max e min problems  by using these functions:

nlm, optimize, optim

but I don't know how to use them (...if possible...) to solve this problem.

I have a personal function called  b_func(S) where S is an input array (1 X
n)  and I'd like:

minimize mean(S) with 0 < b_funct < 800.

I know that the solution exists, but It's possible to calculate it in R?
The b_func is non linear and it calculates a particular value using S as
input and applying a convergent iterative algorithm.

thanks


domenico

	[[alternative HTML version deleted]]

