我必须将一个多集合划分为两个和相等的集合。例如,给定multiset:我将输出两个集合:2) 5 -1 2 1 0为此,我需要使用Z3 (smt2输入格式)和“线性算术逻辑”,其定义如下: atom : sum op sum sum : term | sum + term
term : identifier | constant | constant
========solve it straight with scip================================# vtype='C'means the variable is continuous
x = [Dummy.addVar(lb = 0, ub=1, name=("x" + str(i)), vtype='C') for