def get_objective_function(museums, mvsas, days, direction="min"):
    """Return the objective function vector coefficients (minimization problem)"""
    coeffs = []
    sign = 1
    if direction == "max":
        sign = -1
    for _ in museums:
        for p in mvsas:
            for d in days:
                coeffs.append(sign*p["weighing"][d])
    return coeffs