git: 06c7d4afe44e - main - math/p5-PDL-Opt-Simplex: Add p5-PDL-Opt-Simplex 2.096
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Jan 2025 17:06:20 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=06c7d4afe44e8ee06d459bfe7144c8494f2494e8 commit 06c7d4afe44e8ee06d459bfe7144c8494f2494e8 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2025-01-28 16:49:54 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2025-01-28 17:04:08 +0000 math/p5-PDL-Opt-Simplex: Add p5-PDL-Opt-Simplex 2.096 PDL::Opt::Simplex implements the commonly used simplex optimization algorithm. The basic idea of the algorithm is to move a "simplex" of N+1 points in the N-dimensional search space according to certain rules. The main benefit of the algorithm is that you do not need to calculate the derivatives of your function. --- math/Makefile | 1 + math/p5-PDL-Opt-Simplex/Makefile | 22 ++++++++++++++++++++++ math/p5-PDL-Opt-Simplex/distinfo | 3 +++ math/p5-PDL-Opt-Simplex/pkg-descr | 4 ++++ math/p5-PDL-Opt-Simplex/pkg-plist | 3 +++ 5 files changed, 33 insertions(+) diff --git a/math/Makefile b/math/Makefile index b0fbadfd4a08..ddeaf5c867dd 100644 --- a/math/Makefile +++ b/math/Makefile @@ -831,6 +831,7 @@ SUBDIR += p5-PDL-IO-IDL SUBDIR += p5-PDL-LinearAlgebra SUBDIR += p5-PDL-Minuit + SUBDIR += p5-PDL-Opt-Simplex SUBDIR += p5-Parse-Range SUBDIR += p5-Roman SUBDIR += p5-Set-IntSpan diff --git a/math/p5-PDL-Opt-Simplex/Makefile b/math/p5-PDL-Opt-Simplex/Makefile new file mode 100644 index 000000000000..a5e33943db91 --- /dev/null +++ b/math/p5-PDL-Opt-Simplex/Makefile @@ -0,0 +1,22 @@ +PORTNAME= PDL-Opt-Simplex +PORTVERSION= 2.096 +CATEGORIES= math perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Simplex optimization routines +WWW= https://metacpan.org/dist/PDL-Opt-Simplex + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-PDL>=2.094:math/p5-PDL + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/math/p5-PDL-Opt-Simplex/distinfo b/math/p5-PDL-Opt-Simplex/distinfo new file mode 100644 index 000000000000..218679fab50a --- /dev/null +++ b/math/p5-PDL-Opt-Simplex/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1736671157 +SHA256 (PDL-Opt-Simplex-2.096.tar.gz) = f7b859d16de2530e945665c586cadf1e3f6598b2db600625d4d09dc8f1dcddd5 +SIZE (PDL-Opt-Simplex-2.096.tar.gz) = 6899 diff --git a/math/p5-PDL-Opt-Simplex/pkg-descr b/math/p5-PDL-Opt-Simplex/pkg-descr new file mode 100644 index 000000000000..d3bb47d63943 --- /dev/null +++ b/math/p5-PDL-Opt-Simplex/pkg-descr @@ -0,0 +1,4 @@ +PDL::Opt::Simplex implements the commonly used simplex optimization algorithm. +The basic idea of the algorithm is to move a "simplex" of N+1 points in the +N-dimensional search space according to certain rules. The main benefit of the +algorithm is that you do not need to calculate the derivatives of your function. diff --git a/math/p5-PDL-Opt-Simplex/pkg-plist b/math/p5-PDL-Opt-Simplex/pkg-plist new file mode 100644 index 000000000000..edf0fdba31ec --- /dev/null +++ b/math/p5-PDL-Opt-Simplex/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_PERL%%/PDL/Demos/Simplex.pm +%%SITE_PERL%%/PDL/Opt/Simplex.pm +%%PERL5_MAN3%%/PDL::Opt::Simplex.3.gz