code: def printFunc(name,m):
      
      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")
docs: prints results