def maximize(obj, constraints): return problem(MAXIMIZE, obj, constraints)
def minimize(obj, constraints): return problem(MINIMIZE, obj, constraints)