Skip to content

Commit

Permalink
model_based_opt: fix enabling complete resolution
Browse files Browse the repository at this point in the history
a bug prevented an optimization to be enabled
  • Loading branch information
agurfinkel authored and NikolajBjorner committed Aug 5, 2022
1 parent 80c516b commit aa0719a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/math/simplex/model_based_opt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ namespace opt {
lub_rows.reset();
glb_rows.reset();
mod_rows.reset();
bool lub_is_unit = false, glb_is_unit = false;
bool lub_is_unit = true, glb_is_unit = true;
unsigned eq_row = UINT_MAX;
// select the lub and glb.
for (unsigned row_id : row_ids) {
Expand Down

0 comments on commit aa0719a

Please sign in to comment.