File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
examples/function_minimization Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,9 @@ def evaluate(program_path):
5555 Dictionary of metrics
5656 """
5757 # Known global minimum (approximate)
58- GLOBAL_MIN_X = - 1.76
59- GLOBAL_MIN_Y = - 1.03
60- GLOBAL_MIN_VALUE = - 2.104
58+ GLOBAL_MIN_X = - 1.704
59+ GLOBAL_MIN_Y = 0.678
60+ GLOBAL_MIN_VALUE = - 1.519
6161
6262 try :
6363 # Load the program
@@ -216,9 +216,9 @@ def evaluate(program_path):
216216def evaluate_stage1 (program_path ):
217217 """First stage evaluation with fewer trials"""
218218 # Known global minimum (approximate)
219- GLOBAL_MIN_X = float (- 1.76 )
220- GLOBAL_MIN_Y = float (- 1.03 )
221- GLOBAL_MIN_VALUE = float (- 2.104 )
219+ GLOBAL_MIN_X = float (- 1.704 )
220+ GLOBAL_MIN_Y = float (0.678 )
221+ GLOBAL_MIN_VALUE = float (- 1.519 )
222222
223223 # Quick check to see if the program runs without errors
224224 try :
You can’t perform that action at this time.
0 commit comments