DFO-LS 1.4.1__py3-none-any.whl → 1.5.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of DFO-LS might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: DFO-LS
3
- Version: 1.4.1
3
+ Version: 1.5.1
4
4
  Summary: A flexible derivative-free solver for (bound constrained) nonlinear least-squares minimization
5
5
  Author-email: Lindon Roberts <lindon.roberts@sydney.edu.au>
6
6
  Maintainer-email: Lindon Roberts <lindon.roberts@sydney.edu.au>
@@ -68,7 +68,7 @@ DFO-LS: Derivative-Free Optimizer for Least-Squares
68
68
 
69
69
  DFO-LS is a flexible package for solving nonlinear least-squares minimization, without requiring derivatives of the objective. It is particularly useful when evaluations of the objective function are expensive and/or noisy. DFO-LS is more flexible version of `DFO-GN <https://github.com/numericalalgorithmsgroup/dfogn>`_.
70
70
 
71
- This is an implementation of the algorithm from our paper: C. Cartis, J. Fiala, B. Marteau and L. Roberts, `Improving the Flexibility and Robustness of Model-Based Derivative-Free Optimization Solvers <https://doi.org/10.1145/3338517>`_, *ACM Transactions on Mathematical Software*, 45:3 (2019), pp. 32:1-32:41 [`preprint <https://arxiv.org/abs/1804.00154>`_]. For reproducibility of all figures in this paper, please feel free to contact the authors.
71
+ The main algorithm is described in our paper [1] below.
72
72
 
73
73
  If you are interested in solving general optimization problems (without a least-squares structure), you may wish to try `Py-BOBYQA <https://github.com/numericalalgorithmsgroup/pybobyqa>`_, which has many of the same features as DFO-LS.
74
74
 
@@ -78,13 +78,15 @@ See manual.pdf or `here <https://numericalalgorithmsgroup.github.io/dfols/>`_.
78
78
 
79
79
  Citation
80
80
  --------
81
- If you use DFO-LS in a paper, please cite:
81
+ The development of DFO-LS is outlined over several publications:
82
82
 
83
- Cartis, C., Fiala, J., Marteau, B. and Roberts, L., `Improving the Flexibility and Robustness of Model-Based Derivative-Free Optimization Solvers <https://doi.org/10.1145/3338517>`_, *ACM Transactions on Mathematical Software*, 45:3 (2019), pp. 32:1-32:41.
83
+ 1. C Cartis, J Fiala, B Marteau and L Roberts, `Improving the Flexibility and Robustness of Model-Based Derivative-Free Optimization Solvers <https://doi.org/10.1145/3338517>`_, *ACM Transactions on Mathematical Software*, 45:3 (2019), pp. 32:1-32:41 [`preprint arXiv 1804.00154 <https://arxiv.org/abs/1804.00154>`_] .
84
+ 2. M Hough and L Roberts, `Model-Based Derivative-Free Methods for Convex-Constrained Optimization <https://doi.org/10.1137/21M1460971>`_, *SIAM Journal on Optimization*, 21:4 (2022), pp. 2552-2579 [`preprint arXiv 2111.05443 <https://arxiv.org/abs/2111.05443>`_].
85
+ 3. Y Liu, K H Lam and L Roberts, `Black-box Optimization Algorithms for Regularized Least-squares Problems <http://arxiv.org/abs/2407.14915>`_, *arXiv preprint arXiv:arXiv:2407.14915*, 2024.
84
86
 
85
- If you use DFO-LS for problems with constraints, including bound constraints, please also cite:
86
-
87
- Hough, M. and Roberts, L., `Model-Based Derivative-Free Methods for Convex-Constrained Optimization <https://doi.org/10.1137/21M1460971>`_, *SIAM Journal on Optimization*, 21:4 (2022), pp. 2552-2579.
87
+ If you use DFO-LS in a paper, please cite [1].
88
+ If your problem has constraints, including bound constraints, please cite [1,2].
89
+ If your problem includes a regularizer, please cite [1,3].
88
90
 
89
91
  Requirements
90
92
  ------------
@@ -114,27 +116,13 @@ For easy installation, use `pip <http://www.pip-installer.org/>`_ as root:
114
116
 
115
117
  .. code-block:: bash
116
118
 
117
- $ [sudo] pip install DFO-LS
118
-
119
- or alternatively *easy_install*:
120
-
121
- .. code-block:: bash
122
-
123
- $ [sudo] easy_install DFO-LS
124
-
125
- If you do not have root privileges or you want to install DFO-LS for your private use, you can use:
126
-
127
- .. code-block:: bash
128
-
129
- $ pip install --user DFO-LS
130
-
131
- which will install DFO-LS in your home directory.
119
+ $ pip install DFO-LS
132
120
 
133
121
  Note that if an older install of DFO-LS is present on your system you can use:
134
122
 
135
123
  .. code-block:: bash
136
124
 
137
- $ [sudo] pip install --upgrade DFO-LS
125
+ $ pip install --upgrade DFO-LS
138
126
 
139
127
  to upgrade DFO-LS to the latest version.
140
128
 
@@ -151,22 +139,14 @@ DFO-LS is written in pure Python and requires no compilation. It can be installe
151
139
 
152
140
  .. code-block:: bash
153
141
 
154
- $ [sudo] pip install .
155
-
156
- If you do not have root privileges or you want to install DFO-LS for your private use, you can use:
157
-
158
- .. code-block:: bash
159
-
160
- $ pip install --user .
161
-
162
- instead.
142
+ $ pip install .
163
143
 
164
144
  To upgrade DFO-LS to the latest version, navigate to the top-level directory (i.e. the one containing :code:`pyproject.toml`) and rerun the installation using :code:`pip`, as above:
165
145
 
166
146
  .. code-block:: bash
167
147
 
168
148
  $ git pull
169
- $ [sudo] pip install . # with admin privileges
149
+ $ pip install .
170
150
 
171
151
  Testing
172
152
  -------
@@ -189,7 +169,7 @@ If DFO-LS was installed using *pip* you can uninstall as follows:
189
169
 
190
170
  .. code-block:: bash
191
171
 
192
- $ [sudo] pip uninstall DFO-LS
172
+ $ pip uninstall DFO-LS
193
173
 
194
174
  If DFO-LS was installed manually you have to remove the installed files by hand (located in your python site-packages directory).
195
175
 
@@ -0,0 +1,14 @@
1
+ dfols/__init__.py,sha256=3Behg9yoaMxCM839jWUrGelzyZXWPlbXKWLcqxESBKM,1605
2
+ dfols/controller.py,sha256=Jffyao_z7wcQf1WEQtv2smnNew8HXGguWuUPLbgVuCc,52487
3
+ dfols/diagnostic_info.py,sha256=2kEUkL-MS4eDENUf1r2hOWsntP8OxMDKi_kyHmrC9V4,6081
4
+ dfols/hessian.py,sha256=sExx4J4KoGwHItbthX2odosB2ONbQFvLdlcod7PIh4k,4262
5
+ dfols/model.py,sha256=1Npj3fJvMv66bKu_RIzLLI-2tyzPWOsKuyv-YUjcv2c,20711
6
+ dfols/params.py,sha256=GzJGO0TByH1X3B0NbLOCOqmYG8dRiKPKjjX7or_fOqI,18342
7
+ dfols/solver.py,sha256=tvDdZgQ3AtybIZCTJf2DvGo6YvbV1NNACrzT2RUF000,63910
8
+ dfols/trust_region.py,sha256=JbHLBDw7H88a3cIMuialh7kpMNGjL3Lp9JsjrBNpDWQ,28231
9
+ dfols/util.py,sha256=efGVAKPb7YrHya1IOgyzacwa_h0u2jHHs5FhuxUlYDg,10282
10
+ DFO_LS-1.5.1.dist-info/LICENSE.txt,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147
11
+ DFO_LS-1.5.1.dist-info/METADATA,sha256=A6WZ9HlnQVKdaNKd2cD7qqVr3F_fv_anCLmlAT6nqI8,8069
12
+ DFO_LS-1.5.1.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
13
+ DFO_LS-1.5.1.dist-info/top_level.txt,sha256=UfxRhaDN8HQx2_l17KbrDrERJ90OCN7VKkDMpYYbRLU,6
14
+ DFO_LS-1.5.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: setuptools (75.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
dfols/__init__.py CHANGED
@@ -39,7 +39,7 @@ alternative licensing.
39
39
  from __future__ import absolute_import, division, print_function, unicode_literals
40
40
 
41
41
  # DFO-LS version
42
- __version__ = '1.4.1'
42
+ __version__ = '1.5.1'
43
43
 
44
44
  # Main solver & exit flags
45
45
  from .solver import *