mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-09 19:08:51 -06:00
Rewrite DynamicLazy.sample_xy
This commit is contained in:
@@ -10,6 +10,7 @@ from typing import (
|
||||
Any,
|
||||
TYPE_CHECKING,
|
||||
Tuple,
|
||||
Optional,
|
||||
)
|
||||
|
||||
import numpy as np
|
||||
@@ -182,6 +183,7 @@ class PrimalSolutionComponent(Component):
|
||||
@overrides
|
||||
def sample_xy(
|
||||
self,
|
||||
_: Optional[Instance],
|
||||
sample: Sample,
|
||||
) -> Tuple[Dict[Category, List[List[float]]], Dict[Category, List[List[float]]]]:
|
||||
x: Dict = {}
|
||||
|
||||
Reference in New Issue
Block a user