@@ -1035,6 +1035,7 @@ class PressureVessel(ConstrainedSyntheticTestFunction):
1035
1035
dim = 4
1036
1036
num_constraints = 4
1037
1037
_bounds = [(0.0 , 10.0 ), (0.0 , 10.0 ), (10.0 , 50.0 ), (150.0 , 200.0 )]
1038
+ _optimal_value = 6059.946341 # from [CoelloCoello2002constraint]
1038
1039
1039
1040
def evaluate_true (self , X : Tensor ) -> Tensor :
1040
1041
x1 , x2 , x3 , x4 = X .unbind (- 1 )
@@ -1073,6 +1074,7 @@ class WeldedBeamSO(ConstrainedSyntheticTestFunction):
1073
1074
dim = 4
1074
1075
num_constraints = 6
1075
1076
_bounds = [(0.125 , 10.0 ), (0.1 , 10.0 ), (0.1 , 10.0 ), (0.1 , 10.0 )]
1077
+ _optimal_value = 1.728226 # from [CoelloCoello2002constraint]
1076
1078
1077
1079
def evaluate_true (self , X : Tensor ) -> Tensor :
1078
1080
x1 , x2 , x3 , x4 = X .unbind (- 1 )
@@ -1126,6 +1128,7 @@ class TensionCompressionString(ConstrainedSyntheticTestFunction):
1126
1128
dim = 3
1127
1129
num_constraints = 4
1128
1130
_bounds = [(0.01 , 1.0 ), (0.01 , 1.0 ), (0.01 , 20.0 )]
1131
+ _optimal_value = 0.012681 # from [CoelloCoello2002constraint]
1129
1132
1130
1133
def evaluate_true (self , X : Tensor ) -> Tensor :
1131
1134
x1 , x2 , x3 = X .unbind (- 1 )
0 commit comments