获取主耗时

(函数来自 pyomo.contrib.gdpopt.util)

pyomo.contrib.gdpopt.util.get_main_elapsed_time(timing_data_obj)[source]

返回自进入主要time_code上下文以来的时间