Guest User

Untitled

a guest
Nov 19th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. cpx = m.get_engine().get_cplex()
  2.  
  3. status = cpx.parameters.tune_problem()
  4. if status == cpx.parameters.tuning_status.completed:
  5. print("tuned parameters:")
  6. for param, value in cpx.parameters.get_changed():
  7. print("{0}: {1}".format(repr(param), value))
  8. else:
  9. print("tuning status was: {0}".format(
  10. cpx.parameters.tuning_status[status]))
Add Comment
Please, Sign In to add comment