Skip to content

Commit eef1559

Browse files
author
Weslley da Silva Pereira
committed
Update copyright notices from "Alliance for Sustainable Energy, LLC" to "Alliance for Energy Innovation, LLC" across multiple files.
1 parent 9bd35d9 commit eef1559

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+214
-153
lines changed

.copyright_header_template.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2025 Alliance for Sustainable Energy, LLC
1+
# Copyright (c) 2025 Alliance for Energy Innovation, LLC
22

33
# This program is free software: you can redistribute it and/or modify
44
# it under the terms of the GNU General Public License as published by

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ All Python source files must include a copyright header at the top of the file.
3131
```python
3232
"""Module docstring."""
3333

34-
# Copyright (c) 2025 Alliance for Sustainable Energy, LLC
34+
# Copyright (c) 2025 Alliance for Energy Innovation, LLC
3535

3636
# This program is free software: you can redistribute it and/or modify
3737
# it under the terms of the GNU General Public License as published by

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2025 Alliance for Sustainable Energy, LLC
1+
Copyright (c) 2025 Alliance for Energy Innovation, LLC
22

33
GNU GENERAL PUBLIC LICENSE
44
Version 3, 29 June 2007

docs/conf.py

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
1-
# Configuration file for the Sphinx documentation builder.
2-
#
1+
"""Configuration file for the Sphinx documentation builder."""
2+
3+
# Copyright (c) 2025 Alliance for Energy Innovation, LLC
4+
5+
# This program is free software: you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License as published by
7+
# the Free Software Foundation, either version 3 of the License, or
8+
# (at your option) any later version.
9+
10+
# This program is distributed in the hope that it will be useful,
11+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
# GNU General Public License for more details.
14+
15+
# You should have received a copy of the GNU General Public License
16+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
318
# For the full list of built-in configuration values, see the documentation:
419
# https://www.sphinx-doc.org/en/master/usage/configuration.html
520

@@ -46,7 +61,7 @@ def add_version_context(app, pagename, templatename, context, doctree):
4661
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
4762

4863
project = "soogo (Surrogate-based 0-th Order Global Optimization)"
49-
copyright = "2025, Alliance for Sustainable Energy, LLC"
64+
copyright = "2025, Alliance for Energy Innovation, LLC"
5065
author = "Weslley S. Pereira"
5166

5267
# -- General configuration ---------------------------------------------------

examples/gosac.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"source": [
99
"\"\"\"Example of using GOSAC to optimize a function with constraints.\"\"\"\n",
1010
"\n",
11-
"# Copyright (c) 2025 Alliance for Sustainable Energy, LLC\n",
11+
"# Copyright (c) 2025 Alliance for Energy Innovation, LLC\n",
1212
"\n",
1313
"# This program is free software: you can redistribute it and/or modify\n",
1414
"# it under the terms of the GNU General Public License as published by\n",
@@ -162,7 +162,7 @@
162162
"G = np.zeros((ny, nx))\n",
163163
"for i in range(ny):\n",
164164
" Z[i, :] = problem.objf(XY[i, :])\n",
165-
" G[i, :] = np.where(np.all(problem.gfun(XY[i, :])<=0.0, axis=1), -1, 1)\n",
165+
" G[i, :] = np.where(np.all(problem.gfun(XY[i, :]) <= 0.0, axis=1), -1, 1)\n",
166166
"\n",
167167
"plot_2d(Z, bounds, \"Objective function\")\n",
168168
"plot_2d(G, bounds, \"Feasible region\")\n",
@@ -724,12 +724,12 @@
724724
"S = np.zeros((ny, nx))\n",
725725
"for i in range(ny):\n",
726726
" aux = s(XY[i, :]).reshape((nx, -1))\n",
727-
" S[i, :] = np.where(np.all(aux<=0.0, axis=1), -1, 1)\n",
727+
" S[i, :] = np.where(np.all(aux <= 0.0, axis=1), -1, 1)\n",
728728
"\n",
729729
"xscatter = s.X[:, 0]\n",
730-
"xscatter = np.concatenate((xscatter,[res.x[0]]))\n",
730+
"xscatter = np.concatenate((xscatter, [res.x[0]]))\n",
731731
"yscatter = s.X[:, 1]\n",
732-
"yscatter = np.concatenate((yscatter,[res.x[1]]))\n",
732+
"yscatter = np.concatenate((yscatter, [res.x[1]]))\n",
733733
"\n",
734734
"plot_2d(Z, bounds, \"Objective function\")\n",
735735
"plot_2d(G, bounds, \"Feasible region\")\n",

examples/legacy_opt/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Data class for the problem definition."""
22

3-
# Copyright (c) 2025 Alliance for Sustainable Energy, LLC
3+
# Copyright (c) 2025 Alliance for Energy Innovation, LLC
44
# Copyright (C) 2013 Cornell University
55

66
# This program is free software: you can redistribute it and/or modify

examples/legacy_opt/datainput_Branin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Data class for the Branin problem definition."""
22

3-
# Copyright (c) 2025 Alliance for Sustainable Energy, LLC
3+
# Copyright (c) 2025 Alliance for Energy Innovation, LLC
44
# Copyright (C) 2013 Cornell University
55

66
# This program is free software: you can redistribute it and/or modify

examples/legacy_opt/datainput_BraninWithInteger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Data class for the Branin problem definition."""
22

3-
# Copyright (c) 2025 Alliance for Sustainable Energy, LLC
3+
# Copyright (c) 2025 Alliance for Energy Innovation, LLC
44
# Copyright (C) 2013 Cornell University
55

66
# This program is free software: you can redistribute it and/or modify

examples/legacy_opt/datainput_hartman3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Data class for the Hartman3 problem definition."""
22

3-
# Copyright (c) 2025 Alliance for Sustainable Energy, LLC
3+
# Copyright (c) 2025 Alliance for Energy Innovation, LLC
44
# Copyright (C) 2013 Cornell University
55

66
# This program is free software: you can redistribute it and/or modify

examples/legacy_opt/datainput_rastrigin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Data class for the Rastigrin problem definition."""
22

3-
# Copyright (c) 2025 Alliance for Sustainable Energy, LLC
3+
# Copyright (c) 2025 Alliance for Energy Innovation, LLC
44
# Copyright (C) 2014 Cornell University
55

66
# This program is free software: you can redistribute it and/or modify

0 commit comments

Comments
 (0)