mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-08 02:18:51 -06:00
Remove sample.after_mip
This commit is contained in:
@@ -25,12 +25,10 @@ def sample() -> Sample:
|
||||
after_lp=Features(
|
||||
lp_solve=LPSolveStats(),
|
||||
),
|
||||
after_mip=Features(
|
||||
mip_solve=MIPSolveStats(
|
||||
mip_lower_bound=1.0,
|
||||
mip_upper_bound=2.0,
|
||||
)
|
||||
),
|
||||
data={
|
||||
"mip_lower_bound": 1.0,
|
||||
"mip_upper_bound": 2.0,
|
||||
},
|
||||
)
|
||||
sample.after_load.instance.to_list = Mock(return_value=[1.0, 2.0]) # type: ignore
|
||||
sample.after_lp.lp_solve.to_list = Mock(return_value=[3.0]) # type: ignore
|
||||
|
||||
Reference in New Issue
Block a user