mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-06 01:18:52 -06:00
Solver: Make attributes private; ensure we're not calling them directly
Helps with Julia/JuMP integration.
This commit is contained in:
@@ -68,8 +68,7 @@ class BasicCollector:
|
||||
|
||||
if self.write_mps:
|
||||
# Add lazy constraints to model
|
||||
if model.lazy_enforce is not None:
|
||||
model.lazy_enforce(model, model.lazy_)
|
||||
model._lazy_enforce_collected()
|
||||
|
||||
# Save MPS file
|
||||
model.write(mps_filename)
|
||||
|
||||
Reference in New Issue
Block a user