Skip to content

Commit

Permalink
Update to v0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Weslley da Silva Pereira committed Aug 19, 2024
1 parent dbcacf0 commit 740384d
Show file tree
Hide file tree
Showing 29 changed files with 33 additions and 33 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ using pip (https://pip.pypa.io/en/stable/cli/pip_install/):

```sh
python -m pip install
https://github.com/NREL/bbopt/archive/refs/tags/v0.4.1.tar.gz
https://github.com/NREL/bbopt/archive/refs/tags/v0.4.2.tar.gz
```

using conda (https://docs.anaconda.com/working-with-conda/packages/install-packages/):

```sh
conda install
https://github.com/NREL/bbopt/archive/refs/tags/v0.4.1.tar.gz
https://github.com/NREL/bbopt/archive/refs/tags/v0.4.2.tar.gz
```

### From source
Expand Down
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.4.1"
__version__ = "0.4.2"

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.4.1"
__version__ = "0.4.2"
__deprecated__ = False

import numpy as np
Expand Down
8 changes: 4 additions & 4 deletions 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.4.1"
__version__ = "0.4.2"
__deprecated__ = False

from typing import Callable, Optional, Union
Expand Down Expand Up @@ -781,9 +781,9 @@ def multistart_stochastic_response_surface(
if out_local.fx < out.fx:
out.x[:] = out_local.x
out.fx = out_local.fx
out.samples[
out.nfev : out.nfev + out_local.nfev, :
] = out_local.samples
out.samples[out.nfev : out.nfev + out_local.nfev, :] = (
out_local.samples
)
out.fsamples[out.nfev : out.nfev + out_local.nfev] = out_local.fsamples
out.nfev = out.nfev + out_local.nfev

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.4.1"
__version__ = "0.4.2"
__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.4.1"
__version__ = "0.4.2"
__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.4.1"
__version__ = "0.4.2"
__deprecated__ = False

import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
project = "Black-box Opt"
copyright = "2024, Alliance for Sustainable Energy, LLC"
author = "Weslley S. Pereira"
release = "0.4.1"
release = "0.4.2"

# -- 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.4.1\"\n",
"__version__ = \"0.4.2\"\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.4.1\"\n",
"__version__ = \"0.4.2\"\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.4.1"
__version__ = "0.4.2"
__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.4.1"
__version__ = "0.4.2"
__deprecated__ = False

from blackboxopt.optimize import gosac
Expand Down
2 changes: 1 addition & 1 deletion examples/sampling.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.4.1\"\n",
"__version__ = \"0.4.2\"\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.4.1"
__version__ = "0.4.2"
__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.4.1"
__version__ = "0.4.2"
__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.4.1"
__version__ = "0.4.2"
__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.4.1"
__version__ = "0.4.2"
__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.4.1"
__version__ = "0.4.2"
__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.4.1"
__version__ = "0.4.2"
__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.4.1"
__version__ = "0.4.2"
__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.4.1"
__version__ = "0.4.2"
__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.4.1\"\n",
"__version__ = \"0.4.2\"\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.4.1"
__version__ = "0.4.2"
__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.4.1"
version = "0.4.2"
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.4.1"
__version__ = "0.4.2"
__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.4.1"
__version__ = "0.4.2"
__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.4.1"
__version__ = "0.4.2"
__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.4.1"
__version__ = "0.4.2"
__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.4.1"
__version__ = "0.4.2"
__deprecated__ = False

from rpy2.robjects import r
Expand Down

0 comments on commit 740384d

Please sign in to comment.