Optimize.
More...
Optimize.
Definition at line 7252 of file z3py.py.
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
opt, |
|
|
|
value, |
|
|
|
is_max |
|
) |
| |
Definition at line 7253 of file z3py.py.
7253 def __init__(self, opt, value, is_max):
7256 self._is_max = is_max
◆ __str__()
Definition at line 7280 of file z3py.py.
7281 return "%s:%s" % (self._value, self._is_max)
◆ lower()
Definition at line 7258 of file z3py.py.
Z3_ast Z3_API Z3_optimize_get_lower(Z3_context c, Z3_optimize o, unsigned idx)
Retrieve lower bound value or approximation for the i'th optimization objective.
Referenced by OptimizeObjective.value().
◆ lower_values()
Definition at line 7266 of file z3py.py.
7266 def lower_values(self):
Z3_ast_vector Z3_API Z3_optimize_get_lower_as_vector(Z3_context c, Z3_optimize o, unsigned idx)
Retrieve lower bound value or approximation for the i'th optimization objective. The returned vector ...
◆ upper()
Definition at line 7262 of file z3py.py.
Z3_ast Z3_API Z3_optimize_get_upper(Z3_context c, Z3_optimize o, unsigned idx)
Retrieve upper bound value or approximation for the i'th optimization objective.
Referenced by OptimizeObjective.value().
◆ upper_values()
Definition at line 7270 of file z3py.py.
7270 def upper_values(self):
Z3_ast_vector Z3_API Z3_optimize_get_upper_as_vector(Z3_context c, Z3_optimize o, unsigned idx)
Retrieve upper bound value or approximation for the i'th optimization objective.
◆ value()