mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-09 02:48:52 -06:00
Remove EnforceOverrides; automatically convert np.ndarray features
This commit is contained in:
@@ -28,8 +28,6 @@
|
||||
def get_variable_category(self, var_name: str) -> Optional[Hashable]:
|
||||
pass
|
||||
````
|
||||
- Features are now represented as a list of floating point numbers, as indicated in the snippet above. This change was required for performance reasons. Returning numpy arrays is no longer supported, and raises an error.
|
||||
|
||||
- Internal solvers must now be specified as objects, instead of strings. For example,
|
||||
```python
|
||||
solver = LearningSolver(
|
||||
|
||||
Reference in New Issue
Block a user