Implement MemorizingCutsComponent; STAB: switch to edge formulation

This commit is contained in:
2023-11-07 15:36:31 -06:00
parent b81815d35b
commit 8805a83c1c
25 changed files with 459 additions and 208 deletions

View File

@@ -60,8 +60,7 @@ class BasicCollector:
# Add lazy constraints to model
if model.lazy_enforce is not None:
model.lazy_enforce(model, model.lazy_constrs_)
h5.put_scalar("mip_lazy", repr(model.lazy_constrs_))
model.lazy_enforce(model, model.lazy_)
# Save MPS file
model.write(mps_filename)