{"id":37671042,"url":"https://github.com/mike-gimelfarb/optim4j","last_synced_at":"2026-01-16T12:04:26.262Z","repository":{"id":97617055,"uuid":"238916392","full_name":"mike-gimelfarb/optim4j","owner":"mike-gimelfarb","description":"Library for numerical optimization of functions written in pure Java.","archived":false,"fork":false,"pushed_at":"2021-08-21T06:51:13.000Z","size":1870,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-07T13:06:00.818Z","etag":null,"topics":["java","numerical-optimization","optimization","optimization-algorithms","optimization-library"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mike-gimelfarb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-02-07T12:29:41.000Z","updated_at":"2021-08-21T06:51:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"3c8d590f-6852-4ce8-b891-a97564a55680","html_url":"https://github.com/mike-gimelfarb/optim4j","commit_stats":{"total_commits":103,"total_committers":1,"mean_commits":103.0,"dds":0.0,"last_synced_commit":"6b7e61d6ee47af4ddcb9dc40ac8aa381c085fa32"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mike-gimelfarb/optim4j","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mike-gimelfarb%2Foptim4j","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mike-gimelfarb%2Foptim4j/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mike-gimelfarb%2Foptim4j/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mike-gimelfarb%2Foptim4j/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mike-gimelfarb","download_url":"https://codeload.github.com/mike-gimelfarb/optim4j/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mike-gimelfarb%2Foptim4j/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":["java","numerical-optimization","optimization","optimization-algorithms","optimization-library"],"created_at":"2026-01-16T12:04:25.622Z","updated_at":"2026-01-16T12:04:26.254Z","avatar_url":"https://github.com/mike-gimelfarb.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.com/mike-gimelfarb/optim4j.svg?branch=master)](https://travis-ci.com/mike-gimelfarb/optim4j)\n[![Documentation Status](https://readthedocs.org/projects/optim4j/badge/?version=latest)](https://optim4j.readthedocs.io/en/latest/?badge=latest)\n[![License: LGPL v2](https://img.shields.io/badge/License-LGPL%20v2-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0)\n[![HitCount](http://hits.dwyl.com/mike-gimelfarb/optim4j.svg)](http://hits.dwyl.com/mike-gimelfarb/optim4j)\n\n| :exclamation:  This package is now discontinued and will no longer be updated. An up-to-date C++ version with many bugs fixed and several algorithms re-implemented (correctly this time) and python wrappers (coming soon) can be found here: https://github.com/mike-gimelfarb/cocoa. |\n|-----------------------------------------|\n\n# optim4j\nThis is a self-contained library of algorithms for performing local and global optimization of functions written in Java. Main features:\n1. support for univariate problems up to multivariate problems with tens of thousands of variables, and constrained problems\n1. many algorithms are re-implementations of recently published algorithms (e.g. adaptive PSO, firefly) and can be seen as state-of-the-art\n2. some algorithms are translations of professional implementations of classical algorithms (e.g. LBFGS)\n2. flexible licensing (full project under LGPL, but some algorithms can be used under the MIT license)\n\n## Requirements and Installation\nThis package only requires JRE \u003e= 1.8. No dependencies!\n\n## Support\n\nThe project documentation site is found here: https://optim4j.readthedocs.io/en/latest/.\n \n## License\nThe code, packaged as a single library, is licensed under the GNU Lesser General Public License (version 2 or later). However, some subroutines can be used independently under more flexible licenses (typically MIT or BSD license). The license type or license header are listed at the top of each code file.\n\n## Credits\n\nWe are grateful to all the authors who have provided optimization libraries under open-source licenses:\n\n- This product includes software developed by the University of Chicago, as Operator of Argonne National Laboratory.\n\n- This product includes translations of the Fortran subroutines (PLIC, PSQP) by Ladislav Luksan licensed acccording to LGPL. Used by permission http://www.cs.cas.cz/~luksan/subroutines.html.\n\n- This product includes translations of the subroutine for Hager-Zhang line search from the Julia package https://github.com/JuliaNLSolvers/LineSearches.jl.\n\n- This product includes translations of Fortran software written by Alfred Morris at the Naval Surface Warfare Center, translated by Alan Miller at CSIRO Mathematical \u0026 Information Sciences https://jblevins.org/mirror/amiller/smplx.f90.\n\n- This product includes translations of Fortran subroutines by Professor M. J. D. Powell, University of Cambridge https://zhangzk.net/software.html.\n\n- This product inclues translations of subroutines from the SolvOpt package written by Alexei V. Kuntsevich and Franz Kappel https://imsc.uni-graz.at/kuntsevich/solvopt/index.html.\n\n- This product includes translations of subroutines (CRS, ESCH) from the NLOpt package written by Steven G. Johnson and Carlos Henrique da Silva Santos http://github.com/stevengj/nlopt.\n\n- This product includes a translation of subroutines in the DIRECTL package written by Joerg M. Gablonsky https://ctk.math.ncsu.edu/matlab_darts.html.\n\n- This product includes a translation of the Fortran 77 version of Nelder-Mead Simplex written by R. O'Neill and translated into Fortran 90 by John Burkardt https://people.sc.fsu.edu/~jburkardt/cpp_src/asa047/asa047.html.\n\n- This product includes translations of Fortran subroutines written by Richard P. Brent http://www.netlib.org/opt/ \n\n- This product includes translations of the Differential Search algorithm written by Pinar Civicioglu https://www.mathworks.com/matlabcentral/fileexchange/43390-differential-search-algorithm-a-modernized-particle-swarm-optimization-algorithm\n\n- This product includes a translation of the PIKAIA subroutines written by the High Altitude Observatory https://www.hao.ucar.edu/modeling/pikaia/pikaia.php#sec4\n\n- This product includes translations of software L-BFGS-B written by Ciyou Zhu, Richard Byrd, Jorge Nocedal and Jose Luis Morales http://users.iems.northwestern.edu/~nocedal/lbfgsb.html.\n\n- This product includes translations of software CG+ written by Guanghui Liu, Jorge Nocedal and Richard Waltz http://users.iems.northwestern.edu/~nocedal/CG+.html.\n\n- This product includes a translation of the Truncated Newton algorithm written by Stephen G. Nash at George Mason University https://www.netlib.org/opt/.\n\n- This product includes translations of software from the Pytron package https://github.com/fabianp/pytron.\n\n- This product includes software from the SLATEC library http://www.netlib.org/slatec/index.html.\n\n- This product includes code from the JAMA matrix package https://math.nist.gov/javanumerics/jama/.\n\n- This product includes translations of software from the LINPACK project developed by Jack Dongarra, Jim Bunch, Cleve Moler and Pete Stewart http://www.netlib.org/linpack/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmike-gimelfarb%2Foptim4j","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmike-gimelfarb%2Foptim4j","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmike-gimelfarb%2Foptim4j/lists"}