File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -133,9 +133,11 @@ namespace opt {
133
133
// only try to improve delta_index.
134
134
bound = m_s->mk_ge (delta_index, m_lower[delta_index] + inf_eps (delta_per_step));
135
135
}
136
- TRACE (" opt" , tout << " index: " << delta_index << " delta: " << delta_per_step << " : " << bound << " \n " ;);
136
+ TRACE (" opt" , tout << mk_pp (m_objs. get (delta_index), m) << " index: " << delta_index << " delta: " << delta_per_step << " : " << bound << " \n " ;);
137
137
if (bound == last_bound) {
138
138
is_sat = l_false;
139
+ if (!m_lower[delta_index].is_finite () && !m_upper[delta_index].is_finite ())
140
+ m_lower[delta_index] = m_upper[delta_index];
139
141
}
140
142
else {
141
143
m_s->assert_expr (bound);
@@ -155,7 +157,8 @@ namespace opt {
155
157
else if (is_sat == l_false) {
156
158
// we are done with this delta_index.
157
159
m_upper[delta_index] = m_lower[delta_index];
158
- if (num_scopes > 0 ) m_s->pop (num_scopes);
160
+ if (num_scopes > 0 )
161
+ m_s->pop (num_scopes);
159
162
num_scopes = 0 ;
160
163
last_bound = nullptr ;
161
164
bool all_tight = true ;
You can’t perform that action at this time.
0 commit comments