Function z3_sys::Z3_optimize_assert_soft[][src]

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_uint
Expand description

Assert soft constraint to the optimization context.

  • c: - context
  • o: - optimization context
  • a: - formula
  • weight: - a positive weight, penalty for violating soft constraint
  • id: - optional identifier to group soft constraints

See also: