Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cpx = m.get_engine().get_cplex()
- status = cpx.parameters.tune_problem()
- if status == cpx.parameters.tuning_status.completed:
- print("tuned parameters:")
- for param, value in cpx.parameters.get_changed():
- print("{0}: {1}".format(repr(param), value))
- else:
- print("tuning status was: {0}".format(
- cpx.parameters.tuning_status[status]))
Add Comment
Please, Sign In to add comment