MCPcopy Create free account
hub / github.com/Z3Prover/z3 / MkMaximize

Method MkMaximize

src/api/java/Optimize.java:282–285  ·  view source on GitHub ↗

Declare an arithmetical maximization objective. Return a handle to the objective. The handle is used as to retrieve the values of objectives after calling Check.

(Expr<R> e)

Source from the content-addressed store, hash-verified

280 * to retrieve the values of objectives after calling Check.
281 **/
282 public <R extends Sort> Handle<R> MkMaximize(Expr<R> e)
283 {
284 return new Handle<>(this, Native.optimizeMaximize(getContext().nCtx(), getNativeObject(), e.getNativeObject()));
285 }
286
287 /**
288 * Declare an arithmetical minimization objective.

Callers 2

optimizeExampleMethod · 0.95
optimizeExampleMethod · 0.95

Calls 3

nCtxMethod · 0.80
getContextMethod · 0.80
getNativeObjectMethod · 0.80

Tested by

no test coverage detected