optimize_push method

void optimize_push(
  1. Z3_context c,
  2. Z3_optimize d
)

\brief Create a backtracking point.

The optimize solver contains a set of rules, added facts and assertions. The set of rules, facts and assertions are restored upon calling #Z3_optimize_pop.

\sa Z3_optimize_pop

def_API('Z3_optimize_push', VOID, (_in(CONTEXT), _in(OPTIMIZE)))

Implementation

void optimize_push(
  Z3_context c,
  Z3_optimize d,
) {
  return _optimize_push(
    c,
    d,
  );
}