cplex logging

Default stream:

  • log and results stream are set to stdout
  • warning and error stream to stderr
  • c.set_results_stream(file_path)
  • c.set_warning_stream(file_path)
  • c.set_error_stream(file_path)
  • c.log_stream(file_path)

Import the cplex module


In [2]:
import cplex

In [3]:
c = cplex.Cplex()

In [ ]: