Long-only Constraint

Description

Disallow the possibility of short positions. From the mathematical perspective, this rules out negative weights.

Implementation

The long.only argument takes a logical value, which by default is FALSE.