分解对数MIP转换

(类来自 pyomo.contrib.piecewise.transform.disaggregated_logarithmic)

class pyomo.contrib.piecewise.transform.disaggregated_logarithmic.DisaggregatedLogarithmicMIPTransformation[source]

基础类: PiecewiseLinearTransformationBase

将分段线性函数“对数”表示为MIP。

这种转换通过使用带有\(log_2(|P|)\)个二进制决策变量的MIP,以“对数”方式表示分段线性函数,遵循[VAN10]中的“分解对数”方法。

这是一个直接到MIP的转换;不使用GDP。这种对数形式的分段线性函数公式对多面体家族没有限制,但我们假设在此代码中使用的是单纯形。

__init__()

方法

__init__()

apply(model, **kwds)

已弃用。

apply_to(model, **kwds)

将转换应用于给定的模型。

create_using(model, **kwds)

使用此转换创建一个新模型

属性

CONFIG

成员文档

apply(model, **kwds)

已弃用。

自版本4.3.11323起已弃用:Transformation.apply() 已被弃用。请使用 Transformation.apply_to() 进行原地转换,或使用 Transformation.create_using() 创建新的独立转换模型实例。

apply_to(model, **kwds)

将转换应用于给定的模型。

create_using(model, **kwds)

使用此转换创建一个新模型