3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-22 13:53:39 +00:00

with no last model

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2022-01-06 13:02:13 -08:00
parent dadda86bdc
commit d14f00d61a

View file

@ -262,6 +262,9 @@ namespace opt {
if (val > m_objective_values[i]) if (val > m_objective_values[i])
m_objective_values[i] = val; m_objective_values[i] = val;
if (!m_last_model)
return true;
// //
// retrieve value of objective from current model and update // retrieve value of objective from current model and update
// current optimal. // current optimal.