Hacker GitHub

← All repos

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

Mentions per year 18 mentions · busiest year 2023 (7)
20082026
  1. …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 !
  2. https://github.com/libprima/prima/issues/291
    comment by seekdeep · 2026-04-12 · in Cirrus Labs to join OpenAI
  3. Works on my side: https://github.com/libprima/prima
    comment by zaikunzhang · 2026-01-26 · in GitHub Actions Are Down?
  4. 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
  5. …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…
  6. …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
  7. …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
  8. ▲ 4
    Prima has got a Python interface
    story by zaikunzhang · 2024-05-03 · 8 comments
  9. 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]
  10. …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…
  11. ▲ 3
    PRIMA: Solving general nonlinear optimization problems without derivatives
    story by tosh · 2024-02-28 · 0 comments
  12. …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…
  13. …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
  14. …I can open a research assistant or postdoc position for the project. My contact can be found at https://github.com/libprima/prima . Thanks.
  15. …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.
  16. GitHub repo of the project: https://github.com/libprima/prima
  17. 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…
  18. ▲ 2
    Optimization Without Using Derivatives
    story by zaikunzhang · 2023-04-21 · 1 comment