离散分离求解调用结果
(类来自 pyomo.contrib.pyros.solve_data)
- class pyomo.contrib.pyros.solve_data.DiscreteSeparationSolveCallResults(solved_globally, solver_call_results=None, second_stage_ineq_con=None)[source]
基础类:
object单个分离问题求解尝试结果的容器。
- Parameters:
solved_globally (bool) – 如果分离问题已解决到全局最优,则为True,否则为False。
solver_call_results (dict) – 从离散不确定性集合场景列表索引到针对这些场景的分离问题的求解器调用结果的映射。
second_stage_ineq_con (Constraint) – 分离问题的第二阶段不等式约束,self 是为其生成的。
- solved_globally
- solver_call_results
- second_stage_ineq_con
- __init__(solved_globally, solver_call_results=None, second_stage_ineq_con=None)[source]
初始化自身(参见类文档字符串)。
方法
__init__(solved_globally[, ...])初始化自身(参见类文档字符串)。
属性
如果self中列出的至少一个
SeparationSolveCallResults对象存在子求解器错误状态,则为True,否则为False。如果在self中列出的
SeparationSolveCallResults对象中至少有一个存在超时状态,则为True,否则为False。成员文档
- property subsolver_error
如果self中列出的至少一个
SeparationSolveCallResults对象存在子求解器错误状态,则为True,否则为False。- Type: