optimize_check method

int optimize_check(
  1. Z3_context c,
  2. Z3_optimize o,
  3. int num_assumptions,
  4. Pointer<Z3_ast> assumptions,
)

\brief Check consistency and produce optimal values. \param c - context \param o - optimization context \param num_assumptions - number of additional assumptions \param assumptions - the additional assumptions

\sa Z3_optimize_get_reason_unknown \sa Z3_optimize_get_model \sa Z3_optimize_get_statistics \sa Z3_optimize_get_unsat_core

def_API('Z3_optimize_check', LBOOL, (_in(CONTEXT), _in(OPTIMIZE), _in(UINT), _in_array(2, AST)))

Implementation

int optimize_check(
  Z3_context c,
  Z3_optimize o,
  int num_assumptions,
  ffi.Pointer<Z3_ast> assumptions,
) {
  return _optimize_check(
    c,
    o,
    num_assumptions,
    assumptions,
  );
}