(x, y)
| 3 | |
| 4 | # Objective function to minimize (you can change this) |
| 5 | def f(x, y): |
| 6 | # return np.sin(x) + np.cos(y) |
| 7 | return -((x - 1)**2 + y**2) |
| 8 | |
| 9 | # Evolution Strategies optimizer (simple version) |
| 10 | def hill_climb( |
no outgoing calls
no test coverage detected