mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-07 01:48:51 -06:00
Reorganize imports; start moving data to instance.training_data
This commit is contained in:
@@ -8,7 +8,7 @@ import pyomo.environ as pe
|
||||
from scipy.stats import uniform, randint
|
||||
from scipy.stats.distributions import rv_frozen
|
||||
|
||||
from miplearn import Instance
|
||||
from miplearn.instance import Instance
|
||||
|
||||
|
||||
class ChallengeA:
|
||||
@@ -101,6 +101,7 @@ class MaxWeightStableSetInstance(Instance):
|
||||
"""
|
||||
|
||||
def __init__(self, graph, weights):
|
||||
super().__init__()
|
||||
self.graph = graph
|
||||
self.weights = weights
|
||||
|
||||
|
||||
Reference in New Issue
Block a user