-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Constrained Optimization (especially lower+upper bounds) #137
Comments
Unfortunately there is no constrained optimization yet (apart from, as you noted, SA, and possibly PSO). It is definitely planned; however due to other responsibilities I'm afraid I can't give you a timeline as to when this will happen. |
Thanks for the reply. |
Any update on this? |
Unfortunately not yet. I plan to have a look at it after the release of version 0.6. |
FWIW, I would like to mention here that external solvers handle constraints. In both case, cost function returns a vector: the first component is the actual cost value, the remaining components are constraints values. Notice that |
I don't know what role this library will play in constraint optimization, solver caller?, don't be silly and do it in Python |
Hello,
Coming from Python (
scipy.optimize.minimize
) and MATLAB (fmincon
), I can't find a way to specify bounds (and other constraints), which to me are very essential parts of an optimization problem.Python / Scipy:
Matlab:
Looking through the documentation, I could not find that this is implemented. (With the exception of some manual bounds in the simulatedannealing.rs example).
Is this something that is being worked on? Or is it planned? Or is it too complicated / time consuming at the moment? Or did I just miss something here?
I would love to have constrained optimization (at least with bounds) in Rust!
The text was updated successfully, but these errors were encountered: