Skip to content

Commit 61b9cd8

Browse files
committed
Updated documentation for v1.4 release
1 parent 7a3e1d4 commit 61b9cd8

34 files changed

+115
-69
lines changed
420 Bytes
Binary file not shown.
424 Bytes
Binary file not shown.

docs/build/doctrees/history.doctree

1.81 KB
Binary file not shown.

docs/build/doctrees/index.doctree

-8 Bytes
Binary file not shown.

docs/build/doctrees/install.doctree

363 Bytes
Binary file not shown.

docs/build/html/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: cec3c360cac1770071ca221721114dde
3+
config: 6a2288786364dcb1761dcd61fd935f30
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/build/html/_sources/diagnostic.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Diagnostic Information
22
======================
3-
In :doc:`userguide`, we saw that the output of Py-BOBYQA returns a container which includes diagnostic information about the progress of the algorithm (:code:`soln.diagnostic_info`). This object is a `Pandas <http://pandas.pydata.org/>`_ DataFrame, with one row per iteration of the algorithm. In this section, we explain the meaning of each type of output (the columns of the DataFrame).
3+
In :doc:`userguide`, we saw that the output of Py-BOBYQA returns a container which includes diagnostic information about the progress of the algorithm (:code:`soln.diagnostic_info`). This object is a `Pandas <http://pandas.pydata.org/>`_ DataFrame, with one row per iteration of the algorithm. If Pandas is not available, it returns a dictionary where each key listed below has a list of values, one per iteration of the algorithm. In this section, we explain the meaning of each type of output (the columns of the DataFrame).
44

55
To save this information to a CSV file, use:
66

docs/build/html/_sources/history.rst.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,10 @@ Version 1.2 (25 Feb 2020)
3939
Version 1.3 (14 Apr 2021)
4040
-------------------------
4141
* Remove NumPy deprecation warnings from use of np.int and np.float
42+
43+
Version 1.4 (16 May 2023)
44+
-------------------------
45+
* Return diagnostic information as dictionary if Pandas not available (removes Pandas dependency)
46+
* Handle Nan/Inf values in model gradient and Hessian by gracefully exiting trust-region subproblem
47+
* Bugfix: automatically make model Hessian symmetric before trust-region subproblem with warning, instead of returning an error
48+
* Bugfix: reset slow iteration counter when doing soft restarts

docs/build/html/_sources/index.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Py-BOBYQA: Derivative-Free Optimizer for Bound-Constrained Minimization
1010

1111
**Date:** |today|
1212

13-
**Author:** `Lindon Roberts <lindon.roberts@maths.ox.ac.uk>`_
13+
**Author:** `Lindon Roberts <lindon.roberts@sydney.edu.au>`_
1414

1515
Py-BOBYQA is a flexible package for finding local solutions to nonlinear, nonconvex minimization problems (with optional bound constraints), without requiring any derivatives of the objective. Py-BOBYQA is a Python implementation of the `BOBYQA <http://mat.uc.pt/~zhang/software.html#powell_software>`_ solver by Powell (documentation `here <http://www.damtp.cam.ac.uk/user/na/NA_papers/NA2009_06.pdf>`_). It is particularly useful when evaluations of the objective function are expensive and/or noisy.
1616

docs/build/html/_sources/install.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Additionally, the following python packages should be installed (these will be i
1111

1212
* `NumPy 1.11 or higher <http://www.numpy.org/>`_
1313
* `SciPy 0.18 or higher <http://www.scipy.org/>`_
14-
* `Pandas 0.17 or higher <https://pandas.pydata.org/>`_
14+
* Optionally, `Pandas 0.17 or higher <https://pandas.pydata.org/>`_, to return the diagnostic information as a DataFrame
1515

1616
**Optional package:** Py-BOBYQA 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 Py-BOBYQA to work, and it is not installed by default.
1717

docs/build/html/_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var DOCUMENTATION_OPTIONS = {
22
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
3-
VERSION: '1.3',
3+
VERSION: '1.4',
44
LANGUAGE: 'None',
55
COLLAPSE_INDEX: false,
66
BUILDER: 'html',

docs/build/html/advanced.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1010

11-
<title>Advanced Usage &mdash; Py-BOBYQA v1.3 documentation</title>
11+
<title>Advanced Usage &mdash; Py-BOBYQA v1.4 documentation</title>
1212

1313

1414

@@ -61,7 +61,7 @@
6161

6262

6363
<div class="version">
64-
1.3
64+
1.4
6565
</div>
6666

6767

docs/build/html/diagnostic.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1010

11-
<title>Diagnostic Information &mdash; Py-BOBYQA v1.3 documentation</title>
11+
<title>Diagnostic Information &mdash; Py-BOBYQA v1.4 documentation</title>
1212

1313

1414

@@ -61,7 +61,7 @@
6161

6262

6363
<div class="version">
64-
1.3
64+
1.4
6565
</div>
6666

6767

@@ -166,7 +166,7 @@
166166

167167
<div class="section" id="diagnostic-information">
168168
<h1>Diagnostic Information<a class="headerlink" href="#diagnostic-information" title="Permalink to this headline"></a></h1>
169-
<p>In <a class="reference internal" href="userguide.html"><span class="doc">Using Py-BOBYQA</span></a>, we saw that the output of Py-BOBYQA returns a container which includes diagnostic information about the progress of the algorithm (<code class="code docutils literal notranslate"><span class="pre">soln.diagnostic_info</span></code>). This object is a <a class="reference external" href="http://pandas.pydata.org/">Pandas</a> DataFrame, with one row per iteration of the algorithm. In this section, we explain the meaning of each type of output (the columns of the DataFrame).</p>
169+
<p>In <a class="reference internal" href="userguide.html"><span class="doc">Using Py-BOBYQA</span></a>, we saw that the output of Py-BOBYQA returns a container which includes diagnostic information about the progress of the algorithm (<code class="code docutils literal notranslate"><span class="pre">soln.diagnostic_info</span></code>). This object is a <a class="reference external" href="http://pandas.pydata.org/">Pandas</a> DataFrame, with one row per iteration of the algorithm. If Pandas is not available, it returns a dictionary where each key listed below has a list of values, one per iteration of the algorithm. In this section, we explain the meaning of each type of output (the columns of the DataFrame).</p>
170170
<p>To save this information to a CSV file, use:</p>
171171
<blockquote>
172172
<div><div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="c1"># Previously: define objfun and x0</span>

docs/build/html/genindex.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1111

12-
<title>Index &mdash; Py-BOBYQA v1.3 documentation</title>
12+
<title>Index &mdash; Py-BOBYQA v1.4 documentation</title>
1313

1414

1515

@@ -60,7 +60,7 @@
6060

6161

6262
<div class="version">
63-
1.3
63+
1.4
6464
</div>
6565

6666

docs/build/html/history.html

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1010

11-
<title>Version History &mdash; Py-BOBYQA v1.3 documentation</title>
11+
<title>Version History &mdash; Py-BOBYQA v1.4 documentation</title>
1212

1313

1414

@@ -60,7 +60,7 @@
6060

6161

6262
<div class="version">
63-
1.3
63+
1.4
6464
</div>
6565

6666

@@ -99,6 +99,7 @@
9999
<li class="toctree-l2"><a class="reference internal" href="#version-1-1-1-5-apr-2019">Version 1.1.1 (5 Apr 2019)</a></li>
100100
<li class="toctree-l2"><a class="reference internal" href="#version-1-2-25-feb-2020">Version 1.2 (25 Feb 2020)</a></li>
101101
<li class="toctree-l2"><a class="reference internal" href="#version-1-3-14-apr-2021">Version 1.3 (14 Apr 2021)</a></li>
102+
<li class="toctree-l2"><a class="reference internal" href="#version-1-4-16-may-2023">Version 1.4 (16 May 2023)</a></li>
102103
</ul>
103104
</li>
104105
</ul>
@@ -219,6 +220,15 @@ <h2>Version 1.3 (14 Apr 2021)<a class="headerlink" href="#version-1-3-14-apr-202
219220
<li><p>Remove NumPy deprecation warnings from use of np.int and np.float</p></li>
220221
</ul>
221222
</div>
223+
<div class="section" id="version-1-4-16-may-2023">
224+
<h2>Version 1.4 (16 May 2023)<a class="headerlink" href="#version-1-4-16-may-2023" title="Permalink to this headline"></a></h2>
225+
<ul class="simple">
226+
<li><p>Return diagnostic information as dictionary if Pandas not available (removes Pandas dependency)</p></li>
227+
<li><p>Handle Nan/Inf values in model gradient and Hessian by gracefully exiting trust-region subproblem</p></li>
228+
<li><p>Bugfix: automatically make model Hessian symmetric before trust-region subproblem with warning, instead of returning an error</p></li>
229+
<li><p>Bugfix: reset slow iteration counter when doing soft restarts</p></li>
230+
</ul>
231+
</div>
222232
</div>
223233

224234

docs/build/html/index.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1010

11-
<title>Py-BOBYQA: Derivative-Free Optimizer for Bound-Constrained Minimization &mdash; Py-BOBYQA v1.3 documentation</title>
11+
<title>Py-BOBYQA: Derivative-Free Optimizer for Bound-Constrained Minimization &mdash; Py-BOBYQA v1.4 documentation</title>
1212

1313

1414

@@ -60,7 +60,7 @@
6060

6161

6262
<div class="version">
63-
1.3
63+
1.4
6464
</div>
6565

6666

@@ -158,9 +158,9 @@
158158

159159
<div class="section" id="py-bobyqa-derivative-free-optimizer-for-bound-constrained-minimization">
160160
<h1>Py-BOBYQA: Derivative-Free Optimizer for Bound-Constrained Minimization<a class="headerlink" href="#py-bobyqa-derivative-free-optimizer-for-bound-constrained-minimization" title="Permalink to this headline"></a></h1>
161-
<p><strong>Release:</strong> 1.3</p>
162-
<p><strong>Date:</strong> 14 April 2021</p>
163-
<p><strong>Author:</strong> <a class="reference external" href="mailto:lindon&#46;roberts&#37;&#52;&#48;maths&#46;ox&#46;ac&#46;uk">Lindon Roberts</a></p>
161+
<p><strong>Release:</strong> 1.4</p>
162+
<p><strong>Date:</strong> 16 May 2023</p>
163+
<p><strong>Author:</strong> <a class="reference external" href="mailto:lindon&#46;roberts&#37;&#52;&#48;sydney&#46;edu&#46;au">Lindon Roberts</a></p>
164164
<p>Py-BOBYQA is a flexible package for finding local solutions to nonlinear, nonconvex minimization problems (with optional bound constraints), without requiring any derivatives of the objective. Py-BOBYQA is a Python implementation of the <a class="reference external" href="http://mat.uc.pt/~zhang/software.html#powell_software">BOBYQA</a> solver by Powell (documentation <a class="reference external" href="http://www.damtp.cam.ac.uk/user/na/NA_papers/NA2009_06.pdf">here</a>). It is particularly useful when evaluations of the objective function are expensive and/or noisy.</p>
165165
<p>That is, Py-BOBYQA solves</p>
166166
<div class="math notranslate nohighlight">
@@ -233,6 +233,7 @@ <h1>Py-BOBYQA: Derivative-Free Optimizer for Bound-Constrained Minimization<a cl
233233
<li class="toctree-l2"><a class="reference internal" href="history.html#version-1-1-1-5-apr-2019">Version 1.1.1 (5 Apr 2019)</a></li>
234234
<li class="toctree-l2"><a class="reference internal" href="history.html#version-1-2-25-feb-2020">Version 1.2 (25 Feb 2020)</a></li>
235235
<li class="toctree-l2"><a class="reference internal" href="history.html#version-1-3-14-apr-2021">Version 1.3 (14 Apr 2021)</a></li>
236+
<li class="toctree-l2"><a class="reference internal" href="history.html#version-1-4-16-may-2023">Version 1.4 (16 May 2023)</a></li>
236237
</ul>
237238
</li>
238239
</ul>

docs/build/html/info.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1010

11-
<title>Overview &mdash; Py-BOBYQA v1.3 documentation</title>
11+
<title>Overview &mdash; Py-BOBYQA v1.4 documentation</title>
1212

1313

1414

@@ -61,7 +61,7 @@
6161

6262

6363
<div class="version">
64-
1.3
64+
1.4
6565
</div>
6666

6767

docs/build/html/install.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1010

11-
<title>Installing Py-BOBYQA &mdash; Py-BOBYQA v1.3 documentation</title>
11+
<title>Installing Py-BOBYQA &mdash; Py-BOBYQA v1.4 documentation</title>
1212

1313

1414

@@ -61,7 +61,7 @@
6161

6262

6363
<div class="version">
64-
1.3
64+
1.4
6565
</div>
6666

6767

@@ -176,7 +176,7 @@ <h2>Requirements<a class="headerlink" href="#requirements" title="Permalink to t
176176
<ul class="simple">
177177
<li><p><a class="reference external" href="http://www.numpy.org/">NumPy 1.11 or higher</a></p></li>
178178
<li><p><a class="reference external" href="http://www.scipy.org/">SciPy 0.18 or higher</a></p></li>
179-
<li><p><a class="reference external" href="https://pandas.pydata.org/">Pandas 0.17 or higher</a></p></li>
179+
<li><p>Optionally, <a class="reference external" href="https://pandas.pydata.org/">Pandas 0.17 or higher</a>, to return the diagnostic information as a DataFrame</p></li>
180180
</ul>
181181
<p><strong>Optional package:</strong> Py-BOBYQA versions 1.2 and higher also support the <a class="reference external" href="https://github.com/lindonroberts/trust-region">trustregion</a> package for fast trust-region subproblem solutions. To install this, make sure you have a Fortran compiler (e.g. <a class="reference external" href="https://gcc.gnu.org/wiki/GFortran">gfortran</a>) and NumPy installed, then run <code class="code docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">trustregion</span></code>. You do not have to have trustregion installed for Py-BOBYQA to work, and it is not installed by default.</p>
182182
</div>

docs/build/html/objects.inv

0 Bytes
Binary file not shown.

docs/build/html/search.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1010

11-
<title>Search &mdash; Py-BOBYQA v1.3 documentation</title>
11+
<title>Search &mdash; Py-BOBYQA v1.4 documentation</title>
1212

1313

1414

@@ -60,7 +60,7 @@
6060

6161

6262
<div class="version">
63-
1.3
63+
1.4
6464
</div>
6565

6666

0 commit comments

Comments
 (0)