libprima/prima
View on GitHub ↗ ★ 420 Fortran
PRIMA is a package for solving general nonlinear optimization problems without using derivatives. It provides the reference implementation for Powell's derivative-free optimization methods, i.e., COBYLA, UOBYQA, NEWUOA, BOBYQA, and LINCOA. PRIMA means Reference Implementation for Powell's methods with Modernization and Amelioration, P for Powell.
18 mentions on Hacker News by 8 people: 3 stories, 15 comments · first 2023-04-21 · latest 2026-07-13
20082026
-
…by a Chinese prof, based on algorithms from Cambridge) in my research on nuclear physics : https://github.com/libprima/prima Not something as big as tencent, alibba, ..., yet useful enough for my group !
comment by genphy1976 · 2026-07-13 · in Ask HN: Which Chinese open source projects are you using? -
https://github.com/libprima/prima/issues/291
comment by seekdeep · 2026-04-12 · in Cirrus Labs to join OpenAI -
Works on my side: https://github.com/libprima/prima
comment by zaikunzhang · 2026-01-26 · in GitHub Actions Are Down? -
For PRIMA, see https://github.com/libprima/prima https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
comment by ggraphilia · 2025-03-09 · in LFortran compiles PRIMA -
…some Python wrappers for a Modern Fortran optimization library for derivative free optimization. https://github.com/libprima/prima It basically had to go through Fortran -> C -> C++ (with pybind11) -> Python. At one point we had a slightly…
comment by actinium226 · 2024-05-30 · in PyPy has been working for me for several years now -
…already performs far better (in terms of the number of function evaluations). See the comparison at https://github.com/libprima/prima#improvements . The bugs are indeed only a secondary reason: they can only be triggered under special…
comment by zaikunzhang · 2024-05-03 · in Prima has got a Python interface -
…making PRIMA available on PyPI; - making PRIMA available on Conda; - getting PRIMA into SciPy (see https://github.com/libprima/prima/issues/112 ). PRIMA is part of a research project funded by the Hong Kong Research Grants Council and the…
comment by zaikunzhang · 2024-05-03 · in Prima has got a Python interface -
Who was Powell? (from https://github.com/libprima/prima#who-was-powell ) Michael James David Powell FRS [1] was "a British numerical analyst who was among the pioneers of computational mathematics" [2]. He was the inventor/early…
comment by zaikunzhang · 2024-04-27 · in MJD Powell FRS in "Oral History of SIAM" [pdf] -
…when PRIMA is configured to use single or double precision. It can be reproduced by ``` git clone https://github.com/libprima/prima.git && cd prima && git checkout ec42cb0 && cd fortran/examples/lincoa && make ntest ``` 2. nagfor 7.2…
comment by zaikunzhang · 2024-03-07 · in Nagfor supports half-precision floating-point numbers -
…implementations of PRIMA in Python, MATLAB, C++, Julia, and R will all be done in the future. See https://github.com/libprima/prima#other-languages . But they will take time. PRIMA has been a one-man project since it started three years…
comment by zaikunzhang · 2023-05-18 · in SciPy: Interested in adopting PRIMA, but little appetite for more Fortran code -
…77 code — I have been doing this for three years and I do not want anyone else to do it again. https://github.com/libprima/prima#a-fun-fact
comment by blt · 2023-05-17 · in Optimization Without Derivatives: Prima Fortran Version and Inclusion in SciPy -
…I can open a research assistant or postdoc position for the project. My contact can be found at https://github.com/libprima/prima . Thanks.
comment by zaikunzhang · 2023-05-17 · in Optimization Without Derivatives: Prima Fortran Version and Inclusion in SciPy -
…cases. > DFOs tend to have issues past a few dozens variables. It seems that the PRIMA git repo https://github.com/libprima/prima shows results on problems of hundreds of variables. Not sure how to interpret the results.
comment by domcoltd · 2023-05-16 · in Optimization Without Derivatives: Prima Fortran Version and Inclusion in SciPy -
GitHub repo of the project: https://github.com/libprima/prima
comment by domcoltd · 2023-05-16 · in Optimization Without Derivatives: Prima Fortran Version and Inclusion in SciPy -
Extraction from https://github.com/libprima/prima “There do exist "translations" of Powell's Fortran 77 code into other languages. For example, NLopt contains a C version of COBYLA, NEWUOA, and BOBYQA, but the C code in NLopt is translated…
comment by zaikunzhang · 2023-05-16 · in Optimization Without Derivatives: Prima Fortran Version and Inclusion in SciPy