optimize_assert method

void optimize_assert(
  1. Z3_context c,
  2. Z3_optimize o,
  3. Z3_ast a
)

\brief Assert hard constraint to the optimization context.

\sa Z3_optimize_assert_soft \sa Z3_optimize_assert_and_track

def_API('Z3_optimize_assert', VOID, (_in(CONTEXT), _in(OPTIMIZE), _in(AST)))

Implementation

void optimize_assert(
  Z3_context c,
  Z3_optimize o,
  Z3_ast a,
) {
  return _optimize_assert(
    c,
    o,
    a,
  );
}