refactor: WeightedInOutObjectiveMixin.set_objective() parameters