xor

(函数来自 pyomo.core.expr.logical_expr)

pyomo.core.expr.logical_expr.xor(Y1, Y2)[source]

构造一个异或表达式 Y1 xor Y2