Hi all!

I'm trying to generate a constrained efficient frontier in R. For each point
on the frontier I use the solve.QP function: if the efficient frontier is to
be made of, for instance, 10 portfolios, I run 10 optimizations.

For some points it is not possible to minimize the variance given the
specified target return. In these cases the solve.QP returns an error and R
stops executing the code.

How can I tell R not to stop but continue to execute the code after the call
to the solve.QP function that returns the error?

Thank you for your help

Paolo

	[[alternative HTML version deleted]]

