Closed MFaisalZaki closed 7 months ago
I'm trying to assign weights to Boolean variables through z3.if(var, 1.0, 0.0) or using z3.PbLe([(var,1)], 1), but there is no clear way on how to invoke this in Julia; it works fine with the python wrapper. Any help?
z3.if(var, 1.0, 0.0)
z3.PbLe([(var,1)], 1)
pble(ExprVector(ctx, [y]), [Int32(1)], 1)
In general you can refer to the C++ API doc since Z3.jl just wraps around that.
I'm trying to assign weights to Boolean variables through
z3.if(var, 1.0, 0.0)
or usingz3.PbLe([(var,1)], 1)
, but there is no clear way on how to invoke this in Julia; it works fine with the python wrapper. Any help?