Skip to content

Commit 08aeb34

Browse files
committed
250403.160504.CST [skip ci] fix a grammar mistake in README
1 parent c16e1ef commit 08aeb34

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,11 +266,12 @@ large constraint violation even though the starting point is feasible.
266266
### Improvements
267267

268268
Thanks to the improvements introduced into the new implementation, PRIMA
269-
generally produces better solutions with less function evaluations compared with Powell's Fortran 77 implementation. This makes PRIMA preferable for if function evaluations are expensive,
269+
generally produces better solutions with less function evaluations compared with Powell's Fortran 77 implementation.
270+
This makes PRIMA preferable **if function evaluations are expensive**,
270271
which is typically the case for [derivative-free optimization problems](https://github.com/orgs/libprima/discussions/145).
271272
However, if function evaluations are not the dominant cost in your application,
272273
The Fortran 77
273-
solvers are likely to be faster, as it is more efficient in terms of memory usage and flops
274+
solvers are likely to be faster, as they are more efficient in terms of memory usage and flops
274275
thanks to the careful and unique (but unmaintained) implementation by Powell.
275276

276277
Below are the [performance profiles](https://arxiv.org/pdf/cs/0102001.pdf)

pyprima/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Compared to Powell's Fortran 77 implementation, the modern-Fortran implementatio
1616
translation generally [produce better solutions with less function evaluations](https://github.com/libprima/prima#improvements),
1717
making them preferable for [applications with expensive function evaluations](https://github.com/orgs/libprima/discussions/145).
1818
However, if function evaluations are not the dominant cost in your application, the Fortran 77
19-
solvers are likely to be faster, as it is more efficient in terms of memory usage and flops
19+
solvers are likely to be faster, as they are more efficient in terms of memory usage and flops
2020
thanks to the careful and unique (but unmaintained) implementation by Powell.
2121

2222
As of April 2025, only the COBYLA solver is available in this Python translation

0 commit comments

Comments
 (0)