问题 Can we use the previous solution of a MaxSMT solver (optimize) in an incremental way in z3? Also, Is there any way to print out the soft assertions on the optimizer? 回答1: The answer is YES if you are asking whether it is technically possible to run either z3 or OptiMathSAT incrementally with a MaxSMT problem. (Use the API). All soft-clauses with the same id --at the moment in which one performs a check-sat -- are considered part of the same MaxSMT goal. In essence, the OMT solver evaluates