mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-07 18:08:51 -06:00
Convert LPSolveStats into dataclass
This commit is contained in:
@@ -147,10 +147,10 @@ class GurobiSolver(InternalSolver):
|
||||
opt_value = None
|
||||
if not self.is_infeasible():
|
||||
opt_value = self.model.objVal
|
||||
return {
|
||||
"LP value": opt_value,
|
||||
"LP log": log,
|
||||
}
|
||||
return LPSolveStats(
|
||||
lp_value=opt_value,
|
||||
lp_log=log,
|
||||
)
|
||||
|
||||
@overrides
|
||||
def solve(
|
||||
|
||||
Reference in New Issue
Block a user