DFO-LS 1.4.0__tar.gz → 1.4.1__tar.gz
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.
- {DFO-LS-1.4.0 → DFO-LS-1.4.1}/DFO_LS.egg-info/PKG-INFO +37 -24
- {DFO-LS-1.4.0 → DFO-LS-1.4.1}/DFO_LS.egg-info/SOURCES.txt +2 -4
- DFO-LS-1.4.1/DFO_LS.egg-info/requires.txt +12 -0
- {DFO-LS-1.4.0 → DFO-LS-1.4.1}/PKG-INFO +37 -24
- {DFO-LS-1.4.0 → DFO-LS-1.4.1}/README.rst +10 -9
- {DFO-LS-1.4.0 → DFO-LS-1.4.1}/dfols/__init__.py +3 -3
- DFO-LS-1.4.1/pyproject.toml +60 -0
- DFO-LS-1.4.0/DFO_LS.egg-info/requires.txt +0 -6
- DFO-LS-1.4.0/DFO_LS.egg-info/zip-safe +0 -1
- DFO-LS-1.4.0/dfols/version.py +0 -25
- DFO-LS-1.4.0/setup.py +0 -70
- {DFO-LS-1.4.0 → DFO-LS-1.4.1}/DFO_LS.egg-info/dependency_links.txt +0 -0
- {DFO-LS-1.4.0 → DFO-LS-1.4.1}/DFO_LS.egg-info/top_level.txt +0 -0
- {DFO-LS-1.4.0 → DFO-LS-1.4.1}/LICENSE.txt +0 -0
- {DFO-LS-1.4.0 → DFO-LS-1.4.1}/MANIFEST.in +0 -0
- {DFO-LS-1.4.0 → DFO-LS-1.4.1}/dfols/controller.py +0 -0
- {DFO-LS-1.4.0 → DFO-LS-1.4.1}/dfols/diagnostic_info.py +0 -0
- {DFO-LS-1.4.0 → DFO-LS-1.4.1}/dfols/hessian.py +0 -0
- {DFO-LS-1.4.0 → DFO-LS-1.4.1}/dfols/model.py +0 -0
- {DFO-LS-1.4.0 → DFO-LS-1.4.1}/dfols/params.py +0 -0
- {DFO-LS-1.4.0 → DFO-LS-1.4.1}/dfols/solver.py +0 -0
- {DFO-LS-1.4.0 → DFO-LS-1.4.1}/dfols/trust_region.py +0 -0
- {DFO-LS-1.4.0 → DFO-LS-1.4.1}/dfols/util.py +0 -0
- {DFO-LS-1.4.0 → DFO-LS-1.4.1}/setup.cfg +0 -0
|
@@ -1,32 +1,46 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: DFO-LS
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.1
|
|
4
4
|
Summary: A flexible derivative-free solver for (bound constrained) nonlinear least-squares minimization
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
Author-email: Lindon Roberts <lindon.roberts@sydney.edu.au>
|
|
6
|
+
Maintainer-email: Lindon Roberts <lindon.roberts@sydney.edu.au>
|
|
7
|
+
License: GPL-3.0-or-later
|
|
8
|
+
Project-URL: Homepage, https://github.com/numericalalgorithmsgroup/dfols
|
|
9
|
+
Project-URL: Download, https://github.com/numericalalgorithmsgroup/dfols/releases/
|
|
10
|
+
Project-URL: Bug Tracker, https://github.com/numericalalgorithmsgroup/dfols/issues/
|
|
11
|
+
Project-URL: Documentation, https://numericalalgorithmsgroup.github.io/dfols/
|
|
12
|
+
Project-URL: Source Code, https://github.com/numericalalgorithmsgroup/dfols
|
|
13
|
+
Keywords: mathematics,optimization,least squares,derivative free optimization,nonlinear least squares
|
|
12
14
|
Classifier: Development Status :: 5 - Production/Stable
|
|
13
15
|
Classifier: Environment :: Console
|
|
14
16
|
Classifier: Framework :: IPython
|
|
15
17
|
Classifier: Framework :: Jupyter
|
|
16
|
-
Classifier: Intended Audience :: Financial and Insurance Industry
|
|
17
18
|
Classifier: Intended Audience :: Science/Research
|
|
18
|
-
Classifier: License :: OSI Approved :: GNU General Public License (
|
|
19
|
+
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
|
19
20
|
Classifier: Operating System :: MacOS
|
|
20
21
|
Classifier: Operating System :: Microsoft :: Windows
|
|
21
|
-
Classifier: Operating System :: POSIX
|
|
22
22
|
Classifier: Operating System :: Unix
|
|
23
23
|
Classifier: Programming Language :: Python
|
|
24
|
-
Classifier: Programming Language :: Python :: 2
|
|
25
24
|
Classifier: Programming Language :: Python :: 3
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
28
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
26
29
|
Classifier: Topic :: Scientific/Engineering
|
|
27
30
|
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
28
|
-
|
|
31
|
+
Requires-Python: >=3.9
|
|
32
|
+
Description-Content-Type: text/x-rst
|
|
29
33
|
License-File: LICENSE.txt
|
|
34
|
+
Requires-Dist: setuptools
|
|
35
|
+
Requires-Dist: numpy
|
|
36
|
+
Requires-Dist: scipy>=1.11
|
|
37
|
+
Requires-Dist: pandas
|
|
38
|
+
Provides-Extra: dev
|
|
39
|
+
Requires-Dist: pytest; extra == "dev"
|
|
40
|
+
Requires-Dist: Sphinx; extra == "dev"
|
|
41
|
+
Requires-Dist: sphinx-rtd-theme; extra == "dev"
|
|
42
|
+
Provides-Extra: trustregion
|
|
43
|
+
Requires-Dist: trustregion>=1.1; extra == "trustregion"
|
|
30
44
|
|
|
31
45
|
===================================================
|
|
32
46
|
DFO-LS: Derivative-Free Optimizer for Least-Squares
|
|
@@ -70,19 +84,19 @@ Cartis, C., Fiala, J., Marteau, B. and Roberts, L., `Improving the Flexibility a
|
|
|
70
84
|
|
|
71
85
|
If you use DFO-LS for problems with constraints, including bound constraints, please also cite:
|
|
72
86
|
|
|
73
|
-
Hough, M. and Roberts, L., `Model-Based Derivative-Free Methods for Convex-Constrained Optimization <https://
|
|
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.
|
|
74
88
|
|
|
75
89
|
Requirements
|
|
76
90
|
------------
|
|
77
91
|
DFO-LS requires the following software to be installed:
|
|
78
92
|
|
|
79
|
-
* Python
|
|
93
|
+
* Python 3.9 or higher (http://www.python.org/)
|
|
80
94
|
|
|
81
95
|
Additionally, the following python packages should be installed (these will be installed automatically if using *pip*, see `Installation using pip`_):
|
|
82
96
|
|
|
83
|
-
* NumPy
|
|
84
|
-
* SciPy 1.11 or higher (http://www.scipy.org/)
|
|
85
|
-
* Pandas
|
|
97
|
+
* NumPy (http://www.numpy.org/)
|
|
98
|
+
* SciPy version 1.11 or higher (http://www.scipy.org/)
|
|
99
|
+
* Pandas (http://pandas.pydata.org/)
|
|
86
100
|
|
|
87
101
|
**Optional package:** DFO-LS versions 1.2 and higher also support the `trustregion <https://github.com/lindonroberts/trust-region>`_ package for fast trust-region subproblem solutions. To install this, make sure you have a Fortran compiler (e.g. `gfortran <https://gcc.gnu.org/wiki/GFortran>`_) and NumPy installed, then run :code:`pip install trustregion`. You do not have to have trustregion installed for DFO-LS to work, and it is not installed by default.
|
|
88
102
|
|
|
@@ -147,7 +161,7 @@ If you do not have root privileges or you want to install DFO-LS for your privat
|
|
|
147
161
|
|
|
148
162
|
instead.
|
|
149
163
|
|
|
150
|
-
To upgrade DFO-LS to the latest version, navigate to the top-level directory (i.e. the one containing :code:`
|
|
164
|
+
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:
|
|
151
165
|
|
|
152
166
|
.. code-block:: bash
|
|
153
167
|
|
|
@@ -156,11 +170,12 @@ To upgrade DFO-LS to the latest version, navigate to the top-level directory (i.
|
|
|
156
170
|
|
|
157
171
|
Testing
|
|
158
172
|
-------
|
|
159
|
-
If you installed DFO-LS manually, you can test your installation
|
|
173
|
+
If you installed DFO-LS manually, you can test your installation using the pytest package:
|
|
160
174
|
|
|
161
175
|
.. code-block:: bash
|
|
162
176
|
|
|
163
|
-
$
|
|
177
|
+
$ pip install pytest
|
|
178
|
+
$ python -m pytest --pyargs dfols
|
|
164
179
|
|
|
165
180
|
Alternatively, the HTML documentation provides some simple examples of how to run DFO-LS.
|
|
166
181
|
|
|
@@ -180,10 +195,8 @@ If DFO-LS was installed manually you have to remove the installed files by hand
|
|
|
180
195
|
|
|
181
196
|
Bugs
|
|
182
197
|
----
|
|
183
|
-
Please report any bugs using GitHub's issue tracker.
|
|
198
|
+
Please report any bugs using `GitHub's issue tracker <https://github.com/numericalalgorithmsgroup/dfols/issues>`_.
|
|
184
199
|
|
|
185
200
|
License
|
|
186
201
|
-------
|
|
187
202
|
This algorithm is released under the GNU GPL license. Please `contact NAG <http://www.nag.com/content/worldwide-contact-information>`_ for alternative licensing.
|
|
188
|
-
|
|
189
|
-
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
LICENSE.txt
|
|
2
2
|
MANIFEST.in
|
|
3
3
|
README.rst
|
|
4
|
-
|
|
4
|
+
pyproject.toml
|
|
5
5
|
DFO_LS.egg-info/PKG-INFO
|
|
6
6
|
DFO_LS.egg-info/SOURCES.txt
|
|
7
7
|
DFO_LS.egg-info/dependency_links.txt
|
|
8
8
|
DFO_LS.egg-info/requires.txt
|
|
9
9
|
DFO_LS.egg-info/top_level.txt
|
|
10
|
-
DFO_LS.egg-info/zip-safe
|
|
11
10
|
dfols/__init__.py
|
|
12
11
|
dfols/controller.py
|
|
13
12
|
dfols/diagnostic_info.py
|
|
@@ -16,5 +15,4 @@ dfols/model.py
|
|
|
16
15
|
dfols/params.py
|
|
17
16
|
dfols/solver.py
|
|
18
17
|
dfols/trust_region.py
|
|
19
|
-
dfols/util.py
|
|
20
|
-
dfols/version.py
|
|
18
|
+
dfols/util.py
|
|
@@ -1,32 +1,46 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: DFO-LS
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.1
|
|
4
4
|
Summary: A flexible derivative-free solver for (bound constrained) nonlinear least-squares minimization
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
Author-email: Lindon Roberts <lindon.roberts@sydney.edu.au>
|
|
6
|
+
Maintainer-email: Lindon Roberts <lindon.roberts@sydney.edu.au>
|
|
7
|
+
License: GPL-3.0-or-later
|
|
8
|
+
Project-URL: Homepage, https://github.com/numericalalgorithmsgroup/dfols
|
|
9
|
+
Project-URL: Download, https://github.com/numericalalgorithmsgroup/dfols/releases/
|
|
10
|
+
Project-URL: Bug Tracker, https://github.com/numericalalgorithmsgroup/dfols/issues/
|
|
11
|
+
Project-URL: Documentation, https://numericalalgorithmsgroup.github.io/dfols/
|
|
12
|
+
Project-URL: Source Code, https://github.com/numericalalgorithmsgroup/dfols
|
|
13
|
+
Keywords: mathematics,optimization,least squares,derivative free optimization,nonlinear least squares
|
|
12
14
|
Classifier: Development Status :: 5 - Production/Stable
|
|
13
15
|
Classifier: Environment :: Console
|
|
14
16
|
Classifier: Framework :: IPython
|
|
15
17
|
Classifier: Framework :: Jupyter
|
|
16
|
-
Classifier: Intended Audience :: Financial and Insurance Industry
|
|
17
18
|
Classifier: Intended Audience :: Science/Research
|
|
18
|
-
Classifier: License :: OSI Approved :: GNU General Public License (
|
|
19
|
+
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
|
19
20
|
Classifier: Operating System :: MacOS
|
|
20
21
|
Classifier: Operating System :: Microsoft :: Windows
|
|
21
|
-
Classifier: Operating System :: POSIX
|
|
22
22
|
Classifier: Operating System :: Unix
|
|
23
23
|
Classifier: Programming Language :: Python
|
|
24
|
-
Classifier: Programming Language :: Python :: 2
|
|
25
24
|
Classifier: Programming Language :: Python :: 3
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
28
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
26
29
|
Classifier: Topic :: Scientific/Engineering
|
|
27
30
|
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
28
|
-
|
|
31
|
+
Requires-Python: >=3.9
|
|
32
|
+
Description-Content-Type: text/x-rst
|
|
29
33
|
License-File: LICENSE.txt
|
|
34
|
+
Requires-Dist: setuptools
|
|
35
|
+
Requires-Dist: numpy
|
|
36
|
+
Requires-Dist: scipy>=1.11
|
|
37
|
+
Requires-Dist: pandas
|
|
38
|
+
Provides-Extra: dev
|
|
39
|
+
Requires-Dist: pytest; extra == "dev"
|
|
40
|
+
Requires-Dist: Sphinx; extra == "dev"
|
|
41
|
+
Requires-Dist: sphinx-rtd-theme; extra == "dev"
|
|
42
|
+
Provides-Extra: trustregion
|
|
43
|
+
Requires-Dist: trustregion>=1.1; extra == "trustregion"
|
|
30
44
|
|
|
31
45
|
===================================================
|
|
32
46
|
DFO-LS: Derivative-Free Optimizer for Least-Squares
|
|
@@ -70,19 +84,19 @@ Cartis, C., Fiala, J., Marteau, B. and Roberts, L., `Improving the Flexibility a
|
|
|
70
84
|
|
|
71
85
|
If you use DFO-LS for problems with constraints, including bound constraints, please also cite:
|
|
72
86
|
|
|
73
|
-
Hough, M. and Roberts, L., `Model-Based Derivative-Free Methods for Convex-Constrained Optimization <https://
|
|
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.
|
|
74
88
|
|
|
75
89
|
Requirements
|
|
76
90
|
------------
|
|
77
91
|
DFO-LS requires the following software to be installed:
|
|
78
92
|
|
|
79
|
-
* Python
|
|
93
|
+
* Python 3.9 or higher (http://www.python.org/)
|
|
80
94
|
|
|
81
95
|
Additionally, the following python packages should be installed (these will be installed automatically if using *pip*, see `Installation using pip`_):
|
|
82
96
|
|
|
83
|
-
* NumPy
|
|
84
|
-
* SciPy 1.11 or higher (http://www.scipy.org/)
|
|
85
|
-
* Pandas
|
|
97
|
+
* NumPy (http://www.numpy.org/)
|
|
98
|
+
* SciPy version 1.11 or higher (http://www.scipy.org/)
|
|
99
|
+
* Pandas (http://pandas.pydata.org/)
|
|
86
100
|
|
|
87
101
|
**Optional package:** DFO-LS versions 1.2 and higher also support the `trustregion <https://github.com/lindonroberts/trust-region>`_ package for fast trust-region subproblem solutions. To install this, make sure you have a Fortran compiler (e.g. `gfortran <https://gcc.gnu.org/wiki/GFortran>`_) and NumPy installed, then run :code:`pip install trustregion`. You do not have to have trustregion installed for DFO-LS to work, and it is not installed by default.
|
|
88
102
|
|
|
@@ -147,7 +161,7 @@ If you do not have root privileges or you want to install DFO-LS for your privat
|
|
|
147
161
|
|
|
148
162
|
instead.
|
|
149
163
|
|
|
150
|
-
To upgrade DFO-LS to the latest version, navigate to the top-level directory (i.e. the one containing :code:`
|
|
164
|
+
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:
|
|
151
165
|
|
|
152
166
|
.. code-block:: bash
|
|
153
167
|
|
|
@@ -156,11 +170,12 @@ To upgrade DFO-LS to the latest version, navigate to the top-level directory (i.
|
|
|
156
170
|
|
|
157
171
|
Testing
|
|
158
172
|
-------
|
|
159
|
-
If you installed DFO-LS manually, you can test your installation
|
|
173
|
+
If you installed DFO-LS manually, you can test your installation using the pytest package:
|
|
160
174
|
|
|
161
175
|
.. code-block:: bash
|
|
162
176
|
|
|
163
|
-
$
|
|
177
|
+
$ pip install pytest
|
|
178
|
+
$ python -m pytest --pyargs dfols
|
|
164
179
|
|
|
165
180
|
Alternatively, the HTML documentation provides some simple examples of how to run DFO-LS.
|
|
166
181
|
|
|
@@ -180,10 +195,8 @@ If DFO-LS was installed manually you have to remove the installed files by hand
|
|
|
180
195
|
|
|
181
196
|
Bugs
|
|
182
197
|
----
|
|
183
|
-
Please report any bugs using GitHub's issue tracker.
|
|
198
|
+
Please report any bugs using `GitHub's issue tracker <https://github.com/numericalalgorithmsgroup/dfols/issues>`_.
|
|
184
199
|
|
|
185
200
|
License
|
|
186
201
|
-------
|
|
187
202
|
This algorithm is released under the GNU GPL license. Please `contact NAG <http://www.nag.com/content/worldwide-contact-information>`_ for alternative licensing.
|
|
188
|
-
|
|
189
|
-
|
|
@@ -40,19 +40,19 @@ Cartis, C., Fiala, J., Marteau, B. and Roberts, L., `Improving the Flexibility a
|
|
|
40
40
|
|
|
41
41
|
If you use DFO-LS for problems with constraints, including bound constraints, please also cite:
|
|
42
42
|
|
|
43
|
-
Hough, M. and Roberts, L., `Model-Based Derivative-Free Methods for Convex-Constrained Optimization <https://
|
|
43
|
+
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.
|
|
44
44
|
|
|
45
45
|
Requirements
|
|
46
46
|
------------
|
|
47
47
|
DFO-LS requires the following software to be installed:
|
|
48
48
|
|
|
49
|
-
* Python
|
|
49
|
+
* Python 3.9 or higher (http://www.python.org/)
|
|
50
50
|
|
|
51
51
|
Additionally, the following python packages should be installed (these will be installed automatically if using *pip*, see `Installation using pip`_):
|
|
52
52
|
|
|
53
|
-
* NumPy
|
|
54
|
-
* SciPy 1.11 or higher (http://www.scipy.org/)
|
|
55
|
-
* Pandas
|
|
53
|
+
* NumPy (http://www.numpy.org/)
|
|
54
|
+
* SciPy version 1.11 or higher (http://www.scipy.org/)
|
|
55
|
+
* Pandas (http://pandas.pydata.org/)
|
|
56
56
|
|
|
57
57
|
**Optional package:** DFO-LS versions 1.2 and higher also support the `trustregion <https://github.com/lindonroberts/trust-region>`_ package for fast trust-region subproblem solutions. To install this, make sure you have a Fortran compiler (e.g. `gfortran <https://gcc.gnu.org/wiki/GFortran>`_) and NumPy installed, then run :code:`pip install trustregion`. You do not have to have trustregion installed for DFO-LS to work, and it is not installed by default.
|
|
58
58
|
|
|
@@ -117,7 +117,7 @@ If you do not have root privileges or you want to install DFO-LS for your privat
|
|
|
117
117
|
|
|
118
118
|
instead.
|
|
119
119
|
|
|
120
|
-
To upgrade DFO-LS to the latest version, navigate to the top-level directory (i.e. the one containing :code:`
|
|
120
|
+
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:
|
|
121
121
|
|
|
122
122
|
.. code-block:: bash
|
|
123
123
|
|
|
@@ -126,11 +126,12 @@ To upgrade DFO-LS to the latest version, navigate to the top-level directory (i.
|
|
|
126
126
|
|
|
127
127
|
Testing
|
|
128
128
|
-------
|
|
129
|
-
If you installed DFO-LS manually, you can test your installation
|
|
129
|
+
If you installed DFO-LS manually, you can test your installation using the pytest package:
|
|
130
130
|
|
|
131
131
|
.. code-block:: bash
|
|
132
132
|
|
|
133
|
-
$
|
|
133
|
+
$ pip install pytest
|
|
134
|
+
$ python -m pytest --pyargs dfols
|
|
134
135
|
|
|
135
136
|
Alternatively, the HTML documentation provides some simple examples of how to run DFO-LS.
|
|
136
137
|
|
|
@@ -150,7 +151,7 @@ If DFO-LS was installed manually you have to remove the installed files by hand
|
|
|
150
151
|
|
|
151
152
|
Bugs
|
|
152
153
|
----
|
|
153
|
-
Please report any bugs using GitHub's issue tracker.
|
|
154
|
+
Please report any bugs using `GitHub's issue tracker <https://github.com/numericalalgorithmsgroup/dfols/issues>`_.
|
|
154
155
|
|
|
155
156
|
License
|
|
156
157
|
-------
|
|
@@ -38,10 +38,10 @@ alternative licensing.
|
|
|
38
38
|
# Ensure compatibility with Python 2
|
|
39
39
|
from __future__ import absolute_import, division, print_function, unicode_literals
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
# DFO-LS version
|
|
42
|
+
__version__ = '1.4.1'
|
|
43
43
|
|
|
44
44
|
# Main solver & exit flags
|
|
45
45
|
from .solver import *
|
|
46
|
-
__all__
|
|
46
|
+
__all__ = ['solve']
|
|
47
47
|
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools >= 61.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "DFO-LS"
|
|
7
|
+
dynamic = ["version"]
|
|
8
|
+
dependencies = [
|
|
9
|
+
"setuptools",
|
|
10
|
+
"numpy",
|
|
11
|
+
"scipy>=1.11",
|
|
12
|
+
"pandas"
|
|
13
|
+
]
|
|
14
|
+
requires-python = ">=3.9"
|
|
15
|
+
authors = [
|
|
16
|
+
{name = "Lindon Roberts", email = "lindon.roberts@sydney.edu.au"}
|
|
17
|
+
]
|
|
18
|
+
maintainers = [
|
|
19
|
+
{name = "Lindon Roberts", email = "lindon.roberts@sydney.edu.au"}
|
|
20
|
+
]
|
|
21
|
+
description = "A flexible derivative-free solver for (bound constrained) nonlinear least-squares minimization"
|
|
22
|
+
readme = "README.rst"
|
|
23
|
+
license = {text = "GPL-3.0-or-later"}
|
|
24
|
+
keywords = ["mathematics", "optimization", "least squares", "derivative free optimization", "nonlinear least squares"]
|
|
25
|
+
classifiers = [
|
|
26
|
+
"Development Status :: 5 - Production/Stable",
|
|
27
|
+
"Environment :: Console",
|
|
28
|
+
"Framework :: IPython",
|
|
29
|
+
"Framework :: Jupyter",
|
|
30
|
+
"Intended Audience :: Science/Research",
|
|
31
|
+
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
|
32
|
+
"Operating System :: MacOS",
|
|
33
|
+
"Operating System :: Microsoft :: Windows",
|
|
34
|
+
"Operating System :: Unix",
|
|
35
|
+
"Programming Language :: Python",
|
|
36
|
+
"Programming Language :: Python :: 3",
|
|
37
|
+
"Programming Language :: Python :: 3.9",
|
|
38
|
+
"Programming Language :: Python :: 3.10",
|
|
39
|
+
"Programming Language :: Python :: 3.11",
|
|
40
|
+
"Programming Language :: Python :: 3.12",
|
|
41
|
+
"Topic :: Scientific/Engineering",
|
|
42
|
+
"Topic :: Scientific/Engineering :: Mathematics"
|
|
43
|
+
]
|
|
44
|
+
|
|
45
|
+
[project.optional-dependencies]
|
|
46
|
+
dev = ["pytest", "Sphinx", "sphinx-rtd-theme"]
|
|
47
|
+
trustregion = ["trustregion>=1.1"]
|
|
48
|
+
|
|
49
|
+
[project.urls]
|
|
50
|
+
Homepage = "https://github.com/numericalalgorithmsgroup/dfols"
|
|
51
|
+
Download = "https://github.com/numericalalgorithmsgroup/dfols/releases/"
|
|
52
|
+
"Bug Tracker" = "https://github.com/numericalalgorithmsgroup/dfols/issues/"
|
|
53
|
+
Documentation = "https://numericalalgorithmsgroup.github.io/dfols/"
|
|
54
|
+
"Source Code" = "https://github.com/numericalalgorithmsgroup/dfols"
|
|
55
|
+
|
|
56
|
+
[tool.setuptools]
|
|
57
|
+
packages = ["dfols"]
|
|
58
|
+
|
|
59
|
+
[tool.setuptools.dynamic]
|
|
60
|
+
version = {attr = "dfols.__version__"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
DFO-LS-1.4.0/dfols/version.py
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Version number
|
|
3
|
-
====
|
|
4
|
-
|
|
5
|
-
This program is free software: you can redistribute it and/or modify
|
|
6
|
-
it under the terms of the GNU General Public License as published by
|
|
7
|
-
the Free Software Foundation, either version 3 of the License, or
|
|
8
|
-
(at your option) any later version.
|
|
9
|
-
|
|
10
|
-
This program is distributed in the hope that it will be useful,
|
|
11
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
-
GNU General Public License for more details.
|
|
14
|
-
|
|
15
|
-
You should have received a copy of the GNU General Public License
|
|
16
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
|
-
|
|
18
|
-
The development of this software was sponsored by NAG Ltd. (http://www.nag.co.uk)
|
|
19
|
-
and the EPSRC Centre For Doctoral Training in Industrially Focused Mathematical
|
|
20
|
-
Modelling (EP/L015803/1) at the University of Oxford. Please contact NAG for
|
|
21
|
-
alternative licensing.
|
|
22
|
-
|
|
23
|
-
"""
|
|
24
|
-
|
|
25
|
-
__version__ = '1.4.0'
|
DFO-LS-1.4.0/setup.py
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
|
|
5
|
-
This program is free software: you can redistribute it and/or modify
|
|
6
|
-
it under the terms of the GNU General Public License as published by
|
|
7
|
-
the Free Software Foundation, either version 3 of the License, or
|
|
8
|
-
(at your option) any later version.
|
|
9
|
-
|
|
10
|
-
This program is distributed in the hope that it will be useful,
|
|
11
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
-
GNU General Public License for more details.
|
|
14
|
-
|
|
15
|
-
You should have received a copy of the GNU General Public License
|
|
16
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
|
-
|
|
18
|
-
The development of this software was sponsored by NAG Ltd. (http://www.nag.co.uk)
|
|
19
|
-
and the EPSRC Centre For Doctoral Training in Industrially Focused Mathematical
|
|
20
|
-
Modelling (EP/L015803/1) at the University of Oxford. Please contact NAG for
|
|
21
|
-
alternative licensing.
|
|
22
|
-
|
|
23
|
-
"""
|
|
24
|
-
|
|
25
|
-
from setuptools import setup
|
|
26
|
-
|
|
27
|
-
# Get package version without "import dfols" (which requires dependencies to already be installed)
|
|
28
|
-
import os
|
|
29
|
-
version = {}
|
|
30
|
-
with open(os.path.join('dfols', 'version.py')) as fp:
|
|
31
|
-
exec(fp.read(), version)
|
|
32
|
-
__version__ = version['__version__']
|
|
33
|
-
|
|
34
|
-
setup(
|
|
35
|
-
name='DFO-LS',
|
|
36
|
-
version=__version__,
|
|
37
|
-
description='A flexible derivative-free solver for (bound constrained) nonlinear least-squares minimization',
|
|
38
|
-
long_description=open('README.rst').read(),
|
|
39
|
-
author='Lindon Roberts',
|
|
40
|
-
author_email='lindon.roberts@anu.edu.au',
|
|
41
|
-
url='https://github.com/numericalalgorithmsgroup/dfols/',
|
|
42
|
-
download_url='https://github.com/numericalalgorithmsgroup/dfols/archive/v1.4.0.tar.gz',
|
|
43
|
-
packages=['dfols'],
|
|
44
|
-
license='GNU GPL',
|
|
45
|
-
keywords = 'mathematics derivative free optimization nonlinear least squares',
|
|
46
|
-
classifiers=[
|
|
47
|
-
'Development Status :: 5 - Production/Stable',
|
|
48
|
-
'Environment :: Console',
|
|
49
|
-
'Framework :: IPython',
|
|
50
|
-
'Framework :: Jupyter',
|
|
51
|
-
'Intended Audience :: Financial and Insurance Industry',
|
|
52
|
-
'Intended Audience :: Science/Research',
|
|
53
|
-
'License :: OSI Approved :: GNU General Public License (GPL)',
|
|
54
|
-
'Operating System :: MacOS',
|
|
55
|
-
'Operating System :: Microsoft :: Windows',
|
|
56
|
-
'Operating System :: POSIX',
|
|
57
|
-
'Operating System :: Unix',
|
|
58
|
-
'Programming Language :: Python',
|
|
59
|
-
'Programming Language :: Python :: 2',
|
|
60
|
-
'Programming Language :: Python :: 3',
|
|
61
|
-
'Topic :: Scientific/Engineering',
|
|
62
|
-
'Topic :: Scientific/Engineering :: Mathematics',
|
|
63
|
-
],
|
|
64
|
-
install_requires = ['numpy >= 1.11', 'scipy >= 0.18', 'pandas >= 0.17'],
|
|
65
|
-
extras_require = {'trustregion': 'trustregion >= 1.1'},
|
|
66
|
-
test_suite='nose.collector',
|
|
67
|
-
tests_require=['nose'],
|
|
68
|
-
zip_safe = True,
|
|
69
|
-
)
|
|
70
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|