Contents:
allopy.penalty.
NoPenalty
__init__
No penalty is a no-op penalty function. Essentially it applies no penalty to the objective function when applied to the objective function.
dim (int) – Number of assets
int
cost
Calculates the penalty to apply
float