{"id":37071992,"url":"https://github.com/numericalalgorithmsgroup/dfbgn","last_synced_at":"2026-01-14T08:27:08.549Z","repository":{"id":62567929,"uuid":"280372091","full_name":"numericalalgorithmsgroup/dfbgn","owner":"numericalalgorithmsgroup","description":"Python solver for large-scale nonlinear least-squares minimization without derivatives","archived":false,"fork":false,"pushed_at":"2021-11-03T01:06:42.000Z","size":6740,"stargazers_count":10,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-10T18:15:37.832Z","etag":null,"topics":["least-squares","nonlinear-optimization","numerical-analysis","numerical-methods","numerical-optimization","optimization","optimization-algorithms","python","scientific-computing"],"latest_commit_sha":null,"homepage":"https://numericalalgorithmsgroup.github.io/dfbgn/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/numericalalgorithmsgroup.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-17T08:37:06.000Z","updated_at":"2025-08-31T12:10:39.000Z","dependencies_parsed_at":"2022-11-03T17:01:03.042Z","dependency_job_id":null,"html_url":"https://github.com/numericalalgorithmsgroup/dfbgn","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/numericalalgorithmsgroup/dfbgn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numericalalgorithmsgroup%2Fdfbgn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numericalalgorithmsgroup%2Fdfbgn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numericalalgorithmsgroup%2Fdfbgn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numericalalgorithmsgroup%2Fdfbgn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/numericalalgorithmsgroup","download_url":"https://codeload.github.com/numericalalgorithmsgroup/dfbgn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numericalalgorithmsgroup%2Fdfbgn/sbom","scorecard":{"id":698615,"data":{"date":"2025-08-18","repo":{"name":"github.com/numericalalgorithmsgroup/dfbgn","commit":"82da43b59acdd0788291cf5addd5144766954743"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":2.6,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/23 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/python_testing.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_testing.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/numericalalgorithmsgroup/dfbgn/python_testing.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_testing.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/numericalalgorithmsgroup/dfbgn/python_testing.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python_testing.yml:23","Warn: pipCommand not pinned by hash: .github/workflows/python_testing.yml:24","Warn: pipCommand not pinned by hash: .github/workflows/python_testing.yml:25","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-856 / GHSA-5545-2q6w-2gh6","Warn: Project is vulnerable to: GHSA-6p56-wp2h-9hxr","Warn: Project is vulnerable to: PYSEC-2019-108 / GHSA-9fq2-x9r6-wfmf","Warn: Project is vulnerable to: PYSEC-2021-857 / GHSA-f7c7-j99h-c22f","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: PYSEC-2017-1 / GHSA-frgw-fgh6-9g52","Warn: Project is vulnerable to: PYSEC-2020-73","Warn: Project is vulnerable to: PYSEC-2023-102","Warn: Project is vulnerable to: PYSEC-2023-114"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T04:30:26.694Z","repository_id":62567929,"created_at":"2025-08-22T04:30:26.694Z","updated_at":"2025-08-22T04:30:26.694Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:16:59.381Z","status":"ssl_error","status_checked_at":"2026-01-14T08:13:45.490Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["least-squares","nonlinear-optimization","numerical-analysis","numerical-methods","numerical-optimization","optimization","optimization-algorithms","python","scientific-computing"],"created_at":"2026-01-14T08:27:08.010Z","updated_at":"2026-01-14T08:27:08.532Z","avatar_url":"https://github.com/numericalalgorithmsgroup.png","language":"Python","readme":"=========================================\nDFBGN: Derivative-Free Block Gauss-Newton\n=========================================\n\n.. image::  https://github.com/numericalalgorithmsgroup/dfbgn/actions/workflows/python_testing.yml/badge.svg\n   :target: https://github.com/numericalalgorithmsgroup/dfbgn/actions\n   :alt: Build Status\n\n.. image::  https://img.shields.io/badge/License-GPL%20v3-blue.svg\n   :target: https://www.gnu.org/licenses/gpl-3.0\n   :alt: GNU GPL v3 License\n\n.. image:: https://img.shields.io/pypi/v/dfbgn.svg\n   :target: https://pypi.python.org/pypi/dfbgn\n   :alt: Latest PyPI version\n\n\nDFBGN is a Python package for  nonlinear least-squares minimization, where derivatives are not available.\nIt is particularly useful when evaluations of the objective are expensive and/or noisy, and the number of variables to be optimized is large.\n\nThis is an implementation of the algorithm from our paper: C. Cartis, L. Roberts, Scalable Subspace Methods for Derivative-Free Nonlinear Least-Squares Optimization, (2021) [`preprint \u003chttps://arxiv.org/abs/2102.12016\u003e`_].\n\nDFBGN is based on `DFO-LS \u003chttps://github.com/numericalalgorithmsgroup/dfols\u003e`_, but is better-suited when there are many variables to be optimized (so the linear algebra in DFO-LS is too slow).\nUnlike DFO-LS, DFBGN does not currently support bound constraints on the variables.\n\nIf you are interested in solving general optimization problems (without a least-squares structure), you may wish to try `Py-BOBYQA \u003chttps://github.com/numericalalgorithmsgroup/pybobyqa\u003e`_.\n\nCitation\n--------\nIf you use DFBGN in a paper, please cite:\n\nCartis, C., and Roberts, L., `Scalable Subspace Methods for Derivative-Free Nonlinear Least-Squares Optimization \u003chttps://arxiv.org/abs/2102.12016\u003e`_, *arXiv preprint arXiv:2102.12016*, (2021).\n\nRequirements\n------------\nDFBGN requires the following software to be installed:\n\n* Python 2.7 or Python 3 (http://www.python.org/)\n\nAdditionally, the following python packages should be installed (these will be installed automatically if using *pip*, see `Installation using pip`_):\n\n* NumPy 1.11 or higher (http://www.numpy.org/)\n* SciPy 0.18 or higher (http://www.scipy.org/)\n* Pandas 0.17 or higher (http://pandas.pydata.org/)\n\nInstallation using pip\n----------------------\nFor easy installation, use `pip \u003chttp://www.pip-installer.org/\u003e`_ as root:\n\n .. code-block:: bash\n\n    $ [sudo] pip install dfbgn\n\nor alternatively *easy_install*:\n\n .. code-block:: bash\n\n    $ [sudo] easy_install dfbgn\n\nIf you do not have root privileges or you want to install DFBGN for your private use, you can use:\n\n .. code-block:: bash\n\n    $ pip install --user dfbgn\n\nwhich will install DFBGN in your home directory.\n\nNote that if an older install of DFBGN is present on your system you can use:\n\n .. code-block:: bash\n\n    $ [sudo] pip install --upgrade dfbgn\n\nto upgrade DFBGN to the latest version.\n\nManual installation\n-------------------\nAlternatively, you can download the source code from `Github \u003chttps://github.com/numericalalgorithmsgroup/dfbgn\u003e`_ and unpack as follows:\n\n .. code-block:: bash\n\n    $ git clone https://github.com/numericalalgorithmsgroup/dfbgn\n    $ cd dfbgn\n\nDFBGN is written in pure Python and requires no compilation. It can be installed using:\n\n .. code-block:: bash\n\n    $ [sudo] pip install .\n\nIf you do not have root privileges or you want to install DFBGN for your private use, you can use:\n\n .. code-block:: bash\n\n    $ pip install --user .\n\ninstead.\n\nTo upgrade DFBGN to the latest version, navigate to the top-level directory (i.e. the one containing :code:`setup.py`) and rerun the installation using :code:`pip`, as above:\n\n .. code-block:: bash\n\n    $ git pull\n    $ [sudo] pip install .  # with admin privileges\n\nTesting\n-------\nIf you installed DFBGN manually, you can test your installation by running:\n\n .. code-block:: bash\n\n    $ python setup.py test\n\nAlternatively, the HTML documentation provides some simple examples of how to run DFBGN.\n\nExamples\n--------\nExamples of how to run DFBGN are given in the `documentation \u003chttps://numericalalgorithmsgroup.github.io/dfbgn/\u003e`_, and the `examples \u003chttps://github.com/numericalalgorithmsgroup/dfbgn/tree/master/examples\u003e`_ directory in Github.\n\nUninstallation\n--------------\nIf DFBGN was installed using *pip* you can uninstall as follows:\n\n .. code-block:: bash\n\n    $ [sudo] pip uninstall dfbgn\n\nIf DFBGN was installed manually you have to remove the installed files by hand (located in your python site-packages directory).\n\nBugs\n----\nPlease report any bugs using GitHub's issue tracker.\n\nLicense\n-------\nThis algorithm is released under the GNU GPL license. Please `contact NAG \u003chttp://www.nag.com/content/worldwide-contact-information\u003e`_ for alternative licensing.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumericalalgorithmsgroup%2Fdfbgn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumericalalgorithmsgroup%2Fdfbgn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumericalalgorithmsgroup%2Fdfbgn/lists"}