diff --git a/benchmark/benchmark.py b/benchmark/benchmark.py index 7f2881c..daf809b 100755 --- a/benchmark/benchmark.py +++ b/benchmark/benchmark.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. """MIPLearn Benchmark Scripts diff --git a/miplearn/__init__.py b/miplearn/__init__.py index 0f76e73..999d3d1 100644 --- a/miplearn/__init__.py +++ b/miplearn/__init__.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from .benchmark import BenchmarkRunner diff --git a/miplearn/benchmark.py b/miplearn/benchmark.py index 20ff04e..c53591e 100644 --- a/miplearn/benchmark.py +++ b/miplearn/benchmark.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/miplearn/classifiers/__init__.py b/miplearn/classifiers/__init__.py index 2fdd117..4cb55a5 100644 --- a/miplearn/classifiers/__init__.py +++ b/miplearn/classifiers/__init__.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from abc import ABC, abstractmethod diff --git a/miplearn/classifiers/adaptive.py b/miplearn/classifiers/adaptive.py index 3b1d5b6..e4914ad 100644 --- a/miplearn/classifiers/adaptive.py +++ b/miplearn/classifiers/adaptive.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/miplearn/classifiers/counting.py b/miplearn/classifiers/counting.py index c793245..75c5875 100644 --- a/miplearn/classifiers/counting.py +++ b/miplearn/classifiers/counting.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from typing import Optional, cast diff --git a/miplearn/classifiers/cv.py b/miplearn/classifiers/cv.py index aa3cec4..20c19e2 100644 --- a/miplearn/classifiers/cv.py +++ b/miplearn/classifiers/cv.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/miplearn/classifiers/sklearn.py b/miplearn/classifiers/sklearn.py index 4e25d1d..2ab93e9 100644 --- a/miplearn/classifiers/sklearn.py +++ b/miplearn/classifiers/sklearn.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from typing import Optional, Any, cast diff --git a/miplearn/classifiers/threshold.py b/miplearn/classifiers/threshold.py index 9df6a4d..2abae59 100644 --- a/miplearn/classifiers/threshold.py +++ b/miplearn/classifiers/threshold.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from abc import abstractmethod, ABC diff --git a/miplearn/components/__init__.py b/miplearn/components/__init__.py index 14460c8..2ebe21e 100644 --- a/miplearn/components/__init__.py +++ b/miplearn/components/__init__.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from typing import Dict diff --git a/miplearn/components/component.py b/miplearn/components/component.py index 7542fe0..1f8f917 100644 --- a/miplearn/components/component.py +++ b/miplearn/components/component.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from typing import Any, List, TYPE_CHECKING, Tuple, Dict, Hashable diff --git a/miplearn/components/dynamic_common.py b/miplearn/components/dynamic_common.py index 4d5f1e0..0b2a7c3 100644 --- a/miplearn/components/dynamic_common.py +++ b/miplearn/components/dynamic_common.py @@ -1,3 +1,7 @@ +# MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. +# Released under the modified BSD license. See COPYING.md for more details. + from typing import Dict, Hashable, List, Tuple, TYPE_CHECKING import numpy as np diff --git a/miplearn/components/dynamic_lazy.py b/miplearn/components/dynamic_lazy.py index 2a5d6f9..24b60de 100644 --- a/miplearn/components/dynamic_lazy.py +++ b/miplearn/components/dynamic_lazy.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/miplearn/components/dynamic_user_cuts.py b/miplearn/components/dynamic_user_cuts.py index c792a01..18b113b 100644 --- a/miplearn/components/dynamic_user_cuts.py +++ b/miplearn/components/dynamic_user_cuts.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/miplearn/components/objective.py b/miplearn/components/objective.py index b54cde6..52d4254 100644 --- a/miplearn/components/objective.py +++ b/miplearn/components/objective.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/miplearn/components/primal.py b/miplearn/components/primal.py index 6ab2c7f..1388527 100644 --- a/miplearn/components/primal.py +++ b/miplearn/components/primal.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/miplearn/components/static_lazy.py b/miplearn/components/static_lazy.py index 3d688a2..00694d1 100644 --- a/miplearn/components/static_lazy.py +++ b/miplearn/components/static_lazy.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/miplearn/components/steps/__init__.py b/miplearn/components/steps/__init__.py index e69de29..5fbccb1 100644 --- a/miplearn/components/steps/__init__.py +++ b/miplearn/components/steps/__init__.py @@ -0,0 +1,3 @@ +# MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. +# Released under the modified BSD license. See COPYING.md for more details. diff --git a/miplearn/components/steps/convert_tight.py b/miplearn/components/steps/convert_tight.py index 27ad8a3..11e186f 100644 --- a/miplearn/components/steps/convert_tight.py +++ b/miplearn/components/steps/convert_tight.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/miplearn/components/steps/drop_redundant.py b/miplearn/components/steps/drop_redundant.py index e67e17c..7c1aabe 100644 --- a/miplearn/components/steps/drop_redundant.py +++ b/miplearn/components/steps/drop_redundant.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/miplearn/components/steps/relax_integrality.py b/miplearn/components/steps/relax_integrality.py index 75e4950..22bc104 100644 --- a/miplearn/components/steps/relax_integrality.py +++ b/miplearn/components/steps/relax_integrality.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/miplearn/features.py b/miplearn/features.py index 274b47e..52f2fb7 100644 --- a/miplearn/features.py +++ b/miplearn/features.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import collections diff --git a/miplearn/instance.py b/miplearn/instance.py index 17d3c79..99792a9 100644 --- a/miplearn/instance.py +++ b/miplearn/instance.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import gzip diff --git a/miplearn/log.py b/miplearn/log.py index 1fe9a94..a590b97 100644 --- a/miplearn/log.py +++ b/miplearn/log.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/miplearn/problems/__init__.py b/miplearn/problems/__init__.py index 13c148b..5fbccb1 100644 --- a/miplearn/problems/__init__.py +++ b/miplearn/problems/__init__.py @@ -1,3 +1,3 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. diff --git a/miplearn/problems/knapsack.py b/miplearn/problems/knapsack.py index e64265c..ba5bc3e 100644 --- a/miplearn/problems/knapsack.py +++ b/miplearn/problems/knapsack.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from typing import List diff --git a/miplearn/problems/stab.py b/miplearn/problems/stab.py index 50b14a4..9971a91 100644 --- a/miplearn/problems/stab.py +++ b/miplearn/problems/stab.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import networkx as nx diff --git a/miplearn/problems/tsp.py b/miplearn/problems/tsp.py index 23da230..e5b4ef4 100644 --- a/miplearn/problems/tsp.py +++ b/miplearn/problems/tsp.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import networkx as nx diff --git a/miplearn/solvers/__init__.py b/miplearn/solvers/__init__.py index 1eebed8..e112062 100644 --- a/miplearn/solvers/__init__.py +++ b/miplearn/solvers/__init__.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/miplearn/solvers/gurobi.py b/miplearn/solvers/gurobi.py index de0bca5..2f4b632 100644 --- a/miplearn/solvers/gurobi.py +++ b/miplearn/solvers/gurobi.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging import re diff --git a/miplearn/solvers/internal.py b/miplearn/solvers/internal.py index 620e62d..7a471a2 100644 --- a/miplearn/solvers/internal.py +++ b/miplearn/solvers/internal.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/miplearn/solvers/learning.py b/miplearn/solvers/learning.py index 80b8f7f..5d8431a 100644 --- a/miplearn/solvers/learning.py +++ b/miplearn/solvers/learning.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/miplearn/solvers/pyomo/__init__.py b/miplearn/solvers/pyomo/__init__.py index 13c148b..5fbccb1 100644 --- a/miplearn/solvers/pyomo/__init__.py +++ b/miplearn/solvers/pyomo/__init__.py @@ -1,3 +1,3 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. diff --git a/miplearn/solvers/pyomo/base.py b/miplearn/solvers/pyomo/base.py index 9d04e30..eba8a14 100644 --- a/miplearn/solvers/pyomo/base.py +++ b/miplearn/solvers/pyomo/base.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/miplearn/solvers/pyomo/cplex.py b/miplearn/solvers/pyomo/cplex.py index dc7d15d..9f9b783 100644 --- a/miplearn/solvers/pyomo/cplex.py +++ b/miplearn/solvers/pyomo/cplex.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from typing import Optional diff --git a/miplearn/solvers/pyomo/gurobi.py b/miplearn/solvers/pyomo/gurobi.py index 4daa74e..4752158 100644 --- a/miplearn/solvers/pyomo/gurobi.py +++ b/miplearn/solvers/pyomo/gurobi.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/miplearn/solvers/pyomo/xpress.py b/miplearn/solvers/pyomo/xpress.py index 3d76bb5..c073df6 100644 --- a/miplearn/solvers/pyomo/xpress.py +++ b/miplearn/solvers/pyomo/xpress.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/miplearn/types.py b/miplearn/types.py index 6bbb789..d6ea1f2 100644 --- a/miplearn/types.py +++ b/miplearn/types.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from typing import Optional, Dict, Callable, Any, Union, Tuple, TYPE_CHECKING diff --git a/setup.py b/setup.py index bdc1594..8a5f1f2 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,7 @@ +# MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. +# Released under the modified BSD license. See COPYING.md for more details. + from setuptools import setup, find_namespace_packages with open("README.md", "r") as fh: diff --git a/tests/__init__.py b/tests/__init__.py index 13c148b..5fbccb1 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,3 +1,3 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. diff --git a/tests/classifiers/__init__.py b/tests/classifiers/__init__.py index b602796..50d8248 100644 --- a/tests/classifiers/__init__.py +++ b/tests/classifiers/__init__.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from typing import Tuple diff --git a/tests/classifiers/test_adaptive.py b/tests/classifiers/test_adaptive.py index 1074ba7..3c3c8b9 100644 --- a/tests/classifiers/test_adaptive.py +++ b/tests/classifiers/test_adaptive.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from numpy.linalg import norm diff --git a/tests/classifiers/test_counting.py b/tests/classifiers/test_counting.py index 9082754..160a0d5 100644 --- a/tests/classifiers/test_counting.py +++ b/tests/classifiers/test_counting.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import numpy as np diff --git a/tests/classifiers/test_cv.py b/tests/classifiers/test_cv.py index 5a41d9c..423e5d9 100644 --- a/tests/classifiers/test_cv.py +++ b/tests/classifiers/test_cv.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import numpy as np diff --git a/tests/classifiers/test_sklearn.py b/tests/classifiers/test_sklearn.py index f99b657..0c0d429 100644 --- a/tests/classifiers/test_sklearn.py +++ b/tests/classifiers/test_sklearn.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import numpy as np diff --git a/tests/classifiers/test_threshold.py b/tests/classifiers/test_threshold.py index 9f39cb4..e88209c 100644 --- a/tests/classifiers/test_threshold.py +++ b/tests/classifiers/test_threshold.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from unittest.mock import Mock diff --git a/tests/components/__init__.py b/tests/components/__init__.py index 13c148b..5fbccb1 100644 --- a/tests/components/__init__.py +++ b/tests/components/__init__.py @@ -1,3 +1,3 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. diff --git a/tests/components/steps/__init__.py b/tests/components/steps/__init__.py index e69de29..5fbccb1 100644 --- a/tests/components/steps/__init__.py +++ b/tests/components/steps/__init__.py @@ -0,0 +1,3 @@ +# MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. +# Released under the modified BSD license. See COPYING.md for more details. diff --git a/tests/components/steps/test_convert_tight.py b/tests/components/steps/test_convert_tight.py index 436f908..48134ab 100644 --- a/tests/components/steps/test_convert_tight.py +++ b/tests/components/steps/test_convert_tight.py @@ -1,3 +1,7 @@ +# MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. +# Released under the modified BSD license. See COPYING.md for more details. + from unittest.mock import Mock from miplearn.classifiers import Classifier diff --git a/tests/components/steps/test_drop_redundant.py b/tests/components/steps/test_drop_redundant.py index aaec305..3273790 100644 --- a/tests/components/steps/test_drop_redundant.py +++ b/tests/components/steps/test_drop_redundant.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from unittest.mock import Mock, call diff --git a/tests/components/test_component.py b/tests/components/test_component.py index 01eb931..aeb8ad8 100644 --- a/tests/components/test_component.py +++ b/tests/components/test_component.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from unittest.mock import Mock diff --git a/tests/components/test_dynamic_lazy.py b/tests/components/test_dynamic_lazy.py index 7144a5f..ac0eafd 100644 --- a/tests/components/test_dynamic_lazy.py +++ b/tests/components/test_dynamic_lazy.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from typing import List, cast from unittest.mock import Mock diff --git a/tests/components/test_dynamic_user_cuts.py b/tests/components/test_dynamic_user_cuts.py index 0f26cc9..1fa5da0 100644 --- a/tests/components/test_dynamic_user_cuts.py +++ b/tests/components/test_dynamic_user_cuts.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/tests/components/test_objective.py b/tests/components/test_objective.py index e3dbcd3..1700017 100644 --- a/tests/components/test_objective.py +++ b/tests/components/test_objective.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from typing import Hashable, Dict from unittest.mock import Mock diff --git a/tests/components/test_primal.py b/tests/components/test_primal.py index 7ab4766..b7a07bf 100644 --- a/tests/components/test_primal.py +++ b/tests/components/test_primal.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from typing import Dict from unittest.mock import Mock diff --git a/tests/components/test_static_lazy.py b/tests/components/test_static_lazy.py index bf1f442..f9f19d9 100644 --- a/tests/components/test_static_lazy.py +++ b/tests/components/test_static_lazy.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from typing import Dict, cast, Hashable from unittest.mock import Mock, call diff --git a/tests/fixtures/__init__.py b/tests/fixtures/__init__.py index 13c148b..5fbccb1 100644 --- a/tests/fixtures/__init__.py +++ b/tests/fixtures/__init__.py @@ -1,3 +1,3 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. diff --git a/tests/fixtures/infeasible.py b/tests/fixtures/infeasible.py index 29a9684..65dac00 100644 --- a/tests/fixtures/infeasible.py +++ b/tests/fixtures/infeasible.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from typing import Any diff --git a/tests/fixtures/knapsack.py b/tests/fixtures/knapsack.py index 8d649ff..8e55af9 100644 --- a/tests/fixtures/knapsack.py +++ b/tests/fixtures/knapsack.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from miplearn.instance import Instance from miplearn.problems.knapsack import KnapsackInstance, GurobiKnapsackInstance diff --git a/tests/fixtures/redundant.py b/tests/fixtures/redundant.py index 3dd5107..e714cb5 100644 --- a/tests/fixtures/redundant.py +++ b/tests/fixtures/redundant.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from typing import Any diff --git a/tests/problems/__init__.py b/tests/problems/__init__.py index 13c148b..5fbccb1 100644 --- a/tests/problems/__init__.py +++ b/tests/problems/__init__.py @@ -1,3 +1,3 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. diff --git a/tests/problems/test_knapsack.py b/tests/problems/test_knapsack.py index 553f895..64d76a1 100644 --- a/tests/problems/test_knapsack.py +++ b/tests/problems/test_knapsack.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import numpy as np diff --git a/tests/problems/test_stab.py b/tests/problems/test_stab.py index f0e03e4..cea4810 100644 --- a/tests/problems/test_stab.py +++ b/tests/problems/test_stab.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import networkx as nx diff --git a/tests/problems/test_tsp.py b/tests/problems/test_tsp.py index 88bed41..7567c18 100644 --- a/tests/problems/test_tsp.py +++ b/tests/problems/test_tsp.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import numpy as np diff --git a/tests/solvers/__init__.py b/tests/solvers/__init__.py index 0b02fe4..d1f2377 100644 --- a/tests/solvers/__init__.py +++ b/tests/solvers/__init__.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from inspect import isclass diff --git a/tests/solvers/test_internal_solver.py b/tests/solvers/test_internal_solver.py index 9229441..c43fc4b 100644 --- a/tests/solvers/test_internal_solver.py +++ b/tests/solvers/test_internal_solver.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/tests/solvers/test_lazy_cb.py b/tests/solvers/test_lazy_cb.py index a62c872..be088a7 100644 --- a/tests/solvers/test_lazy_cb.py +++ b/tests/solvers/test_lazy_cb.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/tests/solvers/test_learning_solver.py b/tests/solvers/test_learning_solver.py index fdb8d0d..9a4e669 100644 --- a/tests/solvers/test_learning_solver.py +++ b/tests/solvers/test_learning_solver.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import logging diff --git a/tests/test_benchmark.py b/tests/test_benchmark.py index b33d695..a09b897 100644 --- a/tests/test_benchmark.py +++ b/tests/test_benchmark.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import os.path diff --git a/tests/test_features.py b/tests/test_features.py index 43dbae6..d0f12ea 100644 --- a/tests/test_features.py +++ b/tests/test_features.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. from miplearn.features import ( diff --git a/tests/test_instance.py b/tests/test_instance.py index c76b0ad..2713f7b 100644 --- a/tests/test_instance.py +++ b/tests/test_instance.py @@ -1,5 +1,5 @@ # MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization -# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved. +# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved. # Released under the modified BSD license. See COPYING.md for more details. import tempfile