Functions
get_active_objective(model)
get_active_objective
查找并返回模型的活跃目标函数。
get_model_variables(model[, components, ...])
get_model_variables
从Pyomo模型中收集并返回所有变量或变量的子集。
logcontext(level)
logcontext
此上下文管理器用于动态设置指定的日志记录级别,然后使用该日志记录级别执行代码块。