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:
@@ -39,6 +39,6 @@ def _build_model() -> PyomoModel:
|
||||
def test_pyomo_callback() -> None:
|
||||
model = _build_model()
|
||||
model.optimize()
|
||||
assert model.lazy_ is not None
|
||||
assert len(model.lazy_) > 0
|
||||
assert model._lazy is not None
|
||||
assert len(model._lazy) > 0
|
||||
assert model.inner.x.value == 0.0
|
||||
|
||||
Reference in New Issue
Block a user