Z3_optimize_get_model

Function Z3_optimize_get_model 

Source
pub unsafe extern "C" fn Z3_optimize_get_model(
    c: Z3_context,
    o: Z3_optimize,
) -> Option<Z3_model>
Expand description

Retrieve the model for the last Z3_optimize_check.

The error handler is invoked if a model is not available because the commands above were not invoked for the given optimization solver, or if the result was Z3_L_FALSE.