prints results

def printFunc(name,m):
    """prints results"""
    print("* %s *" % name)
    objSet = bool(m.getObjective().terms.keys())
    print("* Is objective set? %s" % objSet)
    if objSet:
        print("* Sense: %s" % m.getObjectiveSense())
    for v in m.getVars():
        if v.name != "n":
            print("%s: %d" % (v, round(m.getVal(v))))
    print("\n")