constrained minimization

Is there a somehow a possibility of using "optimize" (or anything else) to do a constrained minimization, i.e. where the variables of the function to be minimized are also subject to a constraint?
At present the only way to do this would be to implement your own penalty method using Optimize. The penalty method adds something to the merit function that increases the return value when it is in violation of the constraint. It needs to be smooth so that optimize can follow the gradient into fair territory. The value added as a penalty needs to be large relative to the non-penalized values to make sure that the minimum is found in the correct region. Sometimes it is necessary to iterate, gradually increasing the penalty to refine the solution.

Naturally, what I just wrote applies to situations where "good" is at low values of the merit function...

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
my first thought was that I could use FindRoots to force the constraints onto the values but I guess Optimize would not be able to find a solution.
Just curious: are there attempts to have a solver for such problems in IGOR 7?
Have you looked at the global fit panel? There is an option for constraints there although I'm not sure if that's what you are asking for.
ChrLie wrote:
my first thought was that I could use FindRoots to force the constraints onto the values but I guess Optimize would not be able to find a solution.

I'm not sure what you have in mind. It's not clear to me how you would use FindRoots in this situation.
Quote:
Just curious: are there attempts to have a solver for such problems in IGOR 7?

We are still a long way from having a working Igor 7.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com