pub unsafe extern "C" fn Z3_optimize_assert_soft(
c: Z3_context,
o: Z3_optimize,
a: Z3_ast,
weight: Z3_string,
id: Z3_symbol,
) -> c_uintExpand description
Assert soft constraint to the optimization context.
c: - contexto: - optimization contexta: - formulaweight: - a positive weight, penalty for violating soft constraintid: - optional identifier to group soft constraints