Skip to content

Commit e8749df

Browse files
ltiaofacebook-github-bot
authored andcommitted
Add optimal values for synthetic contrained optimization problems (#2730)
Summary: Pull Request resolved: #2730 1. Specifies optimal values for synthetic constrained optimization problems 2. Adds these constrained optimization problems to the problems registry for the Ax 1.0 benchmarks repo Reviewed By: saitcakmak Differential Revision: D69196192 fbshipit-source-id: 49c892dc0a3e03876d283bdb624de4292d794a5d
1 parent c0db823 commit e8749df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

botorch/test_functions/synthetic.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,6 +1035,7 @@ class PressureVessel(ConstrainedSyntheticTestFunction):
10351035
dim = 4
10361036
num_constraints = 4
10371037
_bounds = [(0.0, 10.0), (0.0, 10.0), (10.0, 50.0), (150.0, 200.0)]
1038+
_optimal_value = 6059.946341 # from [CoelloCoello2002constraint]
10381039

10391040
def evaluate_true(self, X: Tensor) -> Tensor:
10401041
x1, x2, x3, x4 = X.unbind(-1)
@@ -1073,6 +1074,7 @@ class WeldedBeamSO(ConstrainedSyntheticTestFunction):
10731074
dim = 4
10741075
num_constraints = 6
10751076
_bounds = [(0.125, 10.0), (0.1, 10.0), (0.1, 10.0), (0.1, 10.0)]
1077+
_optimal_value = 1.728226 # from [CoelloCoello2002constraint]
10761078

10771079
def evaluate_true(self, X: Tensor) -> Tensor:
10781080
x1, x2, x3, x4 = X.unbind(-1)
@@ -1126,6 +1128,7 @@ class TensionCompressionString(ConstrainedSyntheticTestFunction):
11261128
dim = 3
11271129
num_constraints = 4
11281130
_bounds = [(0.01, 1.0), (0.01, 1.0), (0.01, 20.0)]
1131+
_optimal_value = 0.012681 # from [CoelloCoello2002constraint]
11291132

11301133
def evaluate_true(self, X: Tensor) -> Tensor:
11311134
x1, x2, x3 = X.unbind(-1)

0 commit comments

Comments
 (0)