<div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div>>As you may be aware this idea has been brought forward before, for the reasons you suggested and more.</div><div>Yes, thank you I was looking for links to these discussions.</div><div><br></div><div>>The development of differential_evolution has certainly benefitted from the solver being class based, but also from being a private interface, which has allowed relatively large changes to be made to its functionality.</div><div>For now I will look through the differential_evolution code for similarities with shgo that can be abstracted to and incorporate this into the `SHGO` class in case this idea picks up again in the future. </div></div></div><div class="gmail-yj6qo gmail-ajU" style="outline:none;padding:10px 0px;width:22px;margin:2px 0px 0px"><br class="gmail-Apple-interchange-newline"></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 9, 2019 at 1:33 AM Andrew Nelson <<a href="mailto:andyfaff@gmail.com">andyfaff@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I agree that a single unified function for all the routines would be neater since all the algorithms have black-box functions as input anyway. I believe that any extra optional arguments to the global optimisation functions not already defined by `minimize` can be handled with the `options` dictionary object passed to the `minimize` function</div></blockquote><div><br></div><div>Thank you for feedback. </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>One additional thought is the possibility of adding a unified `Minimizer` class to scipy.optimize. There are two reasons for this: </div><div></div></div></div></blockquote><div><br></div><div>As you may be aware this idea has been brought forward before, for the reasons you suggested and more. The idea stalled unfortunately. Because it would be a large changeset it's necessary to get everyone on board first (via a SciPEP).</div><div><a href="https://github.com/scipy/scipy/pull/8552" target="_blank">https://github.com/scipy/scipy/pull/8552</a> (SciPEP proposing it)<br></div><div><a href="https://github.com/scipy/scipy/pull/8414" target="_blank">https://github.com/scipy/scipy/pull/8414</a> (PR exploring the idea)<br></div><div>Perhaps another way to bring this about is to setup a separate implementation project and show it working before it could be incorporated. That would give time and freedom for any issues to be ironed out. The development of differential_evolution has certainly benefitted from the solver being class based, but also from being a private interface, which has allowed relatively large changes to be made to its functionality.</div></div></div>
_______________________________________________<br>
SciPy-Dev mailing list<br>
<a href="mailto:SciPy-Dev@python.org" target="_blank">SciPy-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scipy-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scipy-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Stefan Endres (M<span style="font-size:12.8px">Eng,</span><span style="font-size:12.8px"> </span><span style="color:rgb(51,51,51);font-family:arial,verdana,sans-serif;font-size:12px">AMIChemE</span><span style="font-size:12.8px">,</span><span style="font-size:12.8px"> BEng </span><span style="font-size:12.8px">(Hons) Chemical Engineering)</span></div><div dir="ltr">Postgraduate Student: Institute of Applied Materials<br>Department of Chemical Engineering, University of Pretoria<span><br>Cell: +27 (0) 82 972 42 89<br>E-mail: <a href="mailto:Stefan.C.Endres@gmail.com" target="_blank">Stefan.C.Endres@gmail.com</a><br>St. Number: 11004968<br></span><span><span style="color:rgb(0,0,0)"></span></span></div></div></div></div></div></div></div></div>