Skip to content

Commit

Permalink
Update to version 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Weslley da Silva Pereira committed Jun 21, 2024
1 parent 63b7e7b commit 89d302f
Show file tree
Hide file tree
Showing 29 changed files with 35 additions and 31 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ Please, read the [contributing guidelines](CONTRIBUTING.md) before contributing

## License

This project is licensed under the GPL-3.0 License. See the [LICENSE](LICENSE) file for details.
This project is licensed under the GPL-3.0 License. See the [LICENSE](LICENSE) file for details.

---

_NREL Software Record number: SWR-24-57_
2 changes: 1 addition & 1 deletion blackboxopt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.

__all__ = ["acquisition", "optimize", "sampling", "rbf"]
__version__ = "0.3.3"
__version__ = "0.4.0"

from . import acquisition
from . import optimize
Expand Down
2 changes: 1 addition & 1 deletion blackboxopt/acquisition.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"Haoyu Jia",
"Weslley S. Pereira",
]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False

import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion blackboxopt/optimize.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"Haoyu Jia",
"Weslley S. Pereira",
]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False

from typing import Callable, Optional, Union
Expand Down
2 changes: 1 addition & 1 deletion blackboxopt/problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
__maintainer__ = "Weslley S. Pereira"
__email__ = "[email protected]"
__credits__ = ["Weslley S. Pereira"]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False

import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion blackboxopt/rbf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
__maintainer__ = "Weslley S. Pereira"
__email__ = "[email protected]"
__credits__ = ["Weslley S. Pereira"]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False

from typing import Optional
Expand Down
2 changes: 1 addition & 1 deletion blackboxopt/sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"Haoyu Jia",
"Weslley S. Pereira",
]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False

import numpy as np
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = "Black-box Opt"
copyright = "2024, National Renewable Energy Laboratory"
copyright = "2024, Alliance for Sustainable Energy, LLC"
author = "Weslley S. Pereira"
release = "0.3.3"
release = "0.4.0"

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/multiobj/pareto_front.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"__maintainer__ = \"Weslley S. Pereira\"\n",
"__email__ = \"[email protected]\"\n",
"__credits__ = [\"Weslley S. Pereira\"]\n",
"__version__ = \"0.3.3\"\n",
"__version__ = \"0.4.0\"\n",
"__deprecated__ = False"
]
},
Expand Down
2 changes: 1 addition & 1 deletion examples/multiobj/socemo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"__maintainer__ = \"Weslley S. Pereira\"\n",
"__email__ = \"[email protected]\"\n",
"__credits__ = [\"Weslley S. Pereira\"]\n",
"__version__ = \"0.3.3\"\n",
"__version__ = \"0.4.0\"\n",
"__deprecated__ = False"
]
},
Expand Down
2 changes: 1 addition & 1 deletion examples/opt_with_constr/example_gosac_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
__maintainer__ = "Weslley S. Pereira"
__email__ = "[email protected]"
__credits__ = ["Juliane Mueller", "Weslley S. Pereira"]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False

from blackboxopt.optimize import gosac
Expand Down
2 changes: 1 addition & 1 deletion examples/opt_with_constr/example_gosac_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
__maintainer__ = "Weslley S. Pereira"
__email__ = "[email protected]"
__credits__ = ["Juliane Mueller", "Weslley S. Pereira"]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False

from blackboxopt.optimize import gosac
Expand Down
4 changes: 2 additions & 2 deletions examples/sampling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"source": [
"\"\"\"Example showing different sampling strategies\"\"\"\n",
"\n",
"# Copyright (C) 2024 National Renewable Energy Laboratory\n",
"# Copyright (c) 2024 Alliance for Sustainable Energy, LLC\n",
"\n",
"# This program is free software: you can redistribute it and/or modify\n",
"# it under the terms of the GNU General Public License as published by\n",
Expand All @@ -28,7 +28,7 @@
"__maintainer__ = \"Weslley S. Pereira\"\n",
"__email__ = \"[email protected]\"\n",
"__credits__ = [\"Weslley S. Pereira\"]\n",
"__version__ = \"0.3.3\"\n",
"__version__ = \"0.4.0\"\n",
"__deprecated__ = False"
]
},
Expand Down
2 changes: 1 addition & 1 deletion examples/single_obj_rbf/LocalStochRBFstop.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Haoyu Jia",
"Weslley S. Pereira",
]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False

from optprogram1 import read_check_data_file
Expand Down
2 changes: 1 addition & 1 deletion examples/single_obj_rbf/compareLearningStrategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
__maintainer__ = "Weslley S. Pereira"
__email__ = "[email protected]"
__credits__ = ["Weslley S. Pereira"]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False


Expand Down
2 changes: 1 addition & 1 deletion examples/single_obj_rbf/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Haoyu Jia",
"Weslley S. Pereira",
]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False

from dataclasses import dataclass
Expand Down
2 changes: 1 addition & 1 deletion examples/single_obj_rbf/datainput_Branin.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Haoyu Jia",
"Weslley S. Pereira",
]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False

import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion examples/single_obj_rbf/datainput_BraninWithInteger.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Haoyu Jia",
"Weslley S. Pereira",
]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False

import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion examples/single_obj_rbf/datainput_hartman3.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Haoyu Jia",
"Weslley S. Pereira",
]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False

import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion examples/single_obj_rbf/datainput_rastrigin.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Haoyu Jia",
"Weslley S. Pereira",
]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False

import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion examples/single_obj_rbf/optprogram1.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"Haoyu Jia",
"Weslley S. Pereira",
]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False


Expand Down
2 changes: 1 addition & 1 deletion examples/vlse_benchmark/vlse_bench.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"__maintainer__ = \"Weslley S. Pereira\"\n",
"__email__ = \"[email protected]\"\n",
"__credits__ = [\"Weslley S. Pereira\"]\n",
"__version__ = \"0.3.3\"\n",
"__version__ = \"0.4.0\"\n",
"__deprecated__ = False"
]
},
Expand Down
2 changes: 1 addition & 1 deletion examples/vlse_benchmark/vlse_bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
__maintainer__ = "Weslley S. Pereira"
__email__ = "[email protected]"
__credits__ = ["Weslley S. Pereira"]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False

import os
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "blackboxopt"
version = "0.3.3"
version = "0.4.0"
description = "Surrogate models and active learning for scientific applications"
authors = [
{name = "Weslley da Silva Pereira", email = "[email protected]"},
Expand Down
2 changes: 1 addition & 1 deletion tests/test_optimize.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
__maintainer__ = "Weslley S. Pereira"
__email__ = "[email protected]"
__credits__ = ["Weslley S. Pereira"]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False

import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion tests/test_rbf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
__maintainer__ = "Weslley S. Pereira"
__email__ = "[email protected]"
__credits__ = ["Weslley S. Pereira"]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False

import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
__maintainer__ = "Weslley S. Pereira"
__email__ = "[email protected]"
__credits__ = ["Weslley S. Pereira"]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False

import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion tests/test_vlse_bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
__maintainer__ = "Weslley S. Pereira"
__email__ = "[email protected]"
__credits__ = ["Weslley S. Pereira"]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False

from copy import deepcopy
Expand Down
2 changes: 1 addition & 1 deletion tests/vlse_benchmark/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
__maintainer__ = "Weslley S. Pereira"
__email__ = "[email protected]"
__credits__ = ["Sonja Surjanovic", "Derek Bingham", "Weslley S. Pereira"]
__version__ = "0.3.3"
__version__ = "0.4.0"
__deprecated__ = False

from rpy2.robjects import r
Expand Down

0 comments on commit 89d302f

Please sign in to comment.