-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Same code in Python #2
Comments
Well, scipy's |
May you clarify what scaffold is |
This I meant by scaffold (mainly the from math import inf
from scipy import optimize
best_solution = [0, 0, 0] # actually n-dimensional
best_objective = inf
for r in range(num_restarts):
initial_simplex = probabilistic_restart(...)
current_solution, current_objective = optimize.minimize(initial_simplex)
if current_objective < best_objective:
best_solution = current_solution
best_objective = current_objective |
I see thanks grid choosing is the art... |
The GBNM way of "sampling the grid" is this (as implemented here):
What But yes, this algorithm is very parameterisable (e.g. |
Great code thanks
But do you know similar approach coded in python
The text was updated successfully, but these errors were encountered: