DFO-LS 1.5.1__py3-none-any.whl → 1.5.3__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.5.1
3
+ Version: 1.5.3
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>
@@ -0,0 +1,14 @@
1
+ dfols/__init__.py,sha256=19cgsqpElsxNRqwnyZbbQBw5vyZKUqHmu96PFM_rlvM,1605
2
+ dfols/controller.py,sha256=Jffyao_z7wcQf1WEQtv2smnNew8HXGguWuUPLbgVuCc,52487
3
+ dfols/diagnostic_info.py,sha256=kEcFCjD2rk39XRa90ocEaQvJWc0wj_ZPpQkOulVIM-k,6106
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=NUzjOYxwTyabh1wxWnhpjmqgC4wppq8miLGtZ9PMeyA,64029
8
+ dfols/trust_region.py,sha256=JbHLBDw7H88a3cIMuialh7kpMNGjL3Lp9JsjrBNpDWQ,28231
9
+ dfols/util.py,sha256=efGVAKPb7YrHya1IOgyzacwa_h0u2jHHs5FhuxUlYDg,10282
10
+ DFO_LS-1.5.3.dist-info/LICENSE.txt,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147
11
+ DFO_LS-1.5.3.dist-info/METADATA,sha256=dMHJW0Bv7rc0qoRGmaoTsorVaqgMVVOfqphFrBpO_mI,8069
12
+ DFO_LS-1.5.3.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
13
+ DFO_LS-1.5.3.dist-info/top_level.txt,sha256=UfxRhaDN8HQx2_l17KbrDrERJ90OCN7VKkDMpYYbRLU,6
14
+ DFO_LS-1.5.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.1.0)
2
+ Generator: setuptools (75.3.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.5.1'
42
+ __version__ = '1.5.3'
43
43
 
44
44
  # Main solver & exit flags
45
45
  from .solver import *
dfols/diagnostic_info.py CHANGED
@@ -102,7 +102,7 @@ class DiagnosticInfo(object):
102
102
  self.data["rho"].append(control.rho)
103
103
  # And from a model?
104
104
  self.data["npt"].append(control.model.npt())
105
- x, rvec, f, jac, nsamples = control.model.get_final_results()
105
+ x, rvec, f, jac, nsamples, eval_num, jac_eval_nums = control.model.get_final_results()
106
106
  self.data["xk"].append(remove_scaling(x, control.scaling_changes))
107
107
  self.data["rk"].append(rvec)
108
108
  self.data["fk"].append(f)
dfols/solver.py CHANGED
@@ -148,7 +148,9 @@ def solve_main(objfun, x0, argsf, xl, xu, projections, npt, rhobeg, rhoend, maxf
148
148
  exit_info = ExitInformation(EXIT_SUCCESS, "Objective is sufficiently small")
149
149
 
150
150
  if exit_info is not None:
151
- return x0, r0_avg, sumsq(r0_avg), None, num_samples_run, nf, nx, nruns_so_far+1, exit_info, diagnostic_info
151
+ xmin_eval_num = 0
152
+ jacmin_eval_nums = np.array([0], dtype=int)
153
+ return x0, r0_avg, sumsq(r0_avg), None, num_samples_run, nf, nx, nruns_so_far+1, exit_info, diagnostic_info, xmin_eval_num, jacmin_eval_nums
152
154
 
153
155
  else: # have old r0 information (e.g. from previous restart), use this instead
154
156
 
@@ -1,14 +0,0 @@
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,,