def _objective_func(f, x_full, k_params, alpha, *args):
    x_params = x_full[:k_params]
    x_added = x_full[k_params:]
    ## Return
    return f(x_params, *args) + (alpha * x_added).sum()
Passes the value through get_db_prep_lookup of item_field.
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/base/l1_slsqp.py/_objective_func--crossover with--dataset/ETHPy150Open django-nonrel/djangotoolbox/djangotoolbox/fields.py/AbstractIterableField.get_db_prep_lookup