This is a helper function primarily for backwards compatibility to insert objectives from a 'v1_constraint' object into the v2 'portfolio' object.
insert_objectives(portfolio, objectives)
object of class 'portfolio'
list of objective objects
Ross Bennett