constrained_objective function

calculate a numeric return value for a portfolio based on a set of constraints and objectives