diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2021-05-12 12:03:34 -0700 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2021-05-12 12:11:15 -0700 |
commit | 1eef39b12710beebb61d3e83877ce92b4489844a (patch) | |
tree | 1d3eda28ea72c44b15fc7ee448e34ecb1840be3c /math/cgl-conic | |
parent | 9af83886826add547caae4d7289cb465d7cfc14b (diff) | |
download | freebsd-ports-1eef39b12710beebb61d3e83877ce92b4489844a.zip |
New port: math/cgl-conic: Strategies for conic problems for COIN-OR Cut Generation
Diffstat (limited to 'math/cgl-conic')
-rw-r--r-- | math/cgl-conic/Makefile | 37 | ||||
-rw-r--r-- | math/cgl-conic/distinfo | 3 | ||||
-rw-r--r-- | math/cgl-conic/files/patch-src_CglConicGD1_CglConicGD1Cut.cpp | 14 | ||||
-rw-r--r-- | math/cgl-conic/pkg-descr | 5 | ||||
-rw-r--r-- | math/cgl-conic/pkg-plist | 24 |
5 files changed, 83 insertions, 0 deletions
diff --git a/math/cgl-conic/Makefile b/math/cgl-conic/Makefile new file mode 100644 index 000000000000..3090f85222bf --- /dev/null +++ b/math/cgl-conic/Makefile @@ -0,0 +1,37 @@ +PORTNAME= cgl-conic +DISTVERSIONPREFIX= releases/ +DISTVERSION= 1.0.0-6 +DISTVERSIONSUFFIX= -gc96de60 +CATEGORIES= math +PKGNAMEPREFIX= coin-or- + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Strategies for conic problems for COIN-OR Cut Generation + +LICENSE= EPL +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libblas.so:math/blas \ + libCgl.so:math/cgl \ + libClp.so:math/clp \ + libcoinasl.so:math/asl \ + libCoinUtils.so:math/coinutils \ + libipopt.so:math/ipopt \ + liblapack.so:math/lapack \ + libopenblas.so:math/openblas \ + libOsiConic.so:math/osi-conic \ + libOsiIpopt.so:math/osiipopt \ + libOsi.so:math/osi + +USES= gmake libtool pkgconfig +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= aykutbulut +GH_PROJECT= CGL-CONIC + +GNU_CONFIGURE= yes + +INSTALL_TARGET= install-strip + +.include <bsd.port.mk> diff --git a/math/cgl-conic/distinfo b/math/cgl-conic/distinfo new file mode 100644 index 000000000000..9325cccd5afc --- /dev/null +++ b/math/cgl-conic/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1620025112 +SHA256 (aykutbulut-CGL-CONIC-releases-1.0.0-6-gc96de60_GH0.tar.gz) = ccab635dc759cef1eabad3ab376b6b557e7653f3ddc59ac04dfcd250bdd71c3b +SIZE (aykutbulut-CGL-CONIC-releases-1.0.0-6-gc96de60_GH0.tar.gz) = 407418 diff --git a/math/cgl-conic/files/patch-src_CglConicGD1_CglConicGD1Cut.cpp b/math/cgl-conic/files/patch-src_CglConicGD1_CglConicGD1Cut.cpp new file mode 100644 index 000000000000..de06514bc20c --- /dev/null +++ b/math/cgl-conic/files/patch-src_CglConicGD1_CglConicGD1Cut.cpp @@ -0,0 +1,14 @@ +- workaround for https://github.com/aykutbulut/CGL-CONIC/issues/5 + +--- src/CglConicGD1/CglConicGD1Cut.cpp.orig 2021-05-12 18:05:03 UTC ++++ src/CglConicGD1/CglConicGD1Cut.cpp +@@ -3,6 +3,9 @@ + #include <vector> + #include <numeric> + ++#define F77_FUNC(name,NAME) name ## _ ++#define F77_FUNC_(name,NAME) name ++ + extern "C" { + // blas routines + void F77_FUNC(dcopy,DCOPY)(int*, double*, int*, double*, int*); diff --git a/math/cgl-conic/pkg-descr b/math/cgl-conic/pkg-descr new file mode 100644 index 000000000000..f92aa66b5e54 --- /dev/null +++ b/math/cgl-conic/pkg-descr @@ -0,0 +1,5 @@ +CGL-Conic is library for generation of conic cuts for Mixed Integer Second +Order Conic Optimization (MISOCO) problems. CGL-Conic can be considered as +a generalization of COIN-OR's Cut Generation Library (CGL). + +WWW: https://github.com/aykutbulut/CGL-CONIC diff --git a/math/cgl-conic/pkg-plist b/math/cgl-conic/pkg-plist new file mode 100644 index 000000000000..accc9cd28b12 --- /dev/null +++ b/math/cgl-conic/pkg-plist @@ -0,0 +1,24 @@ +include/coin/CglConicConfig.hpp +include/coin/CglConicCutGenerator.hpp +include/coin/CglConicGD1.hpp +include/coin/CglConicGD1Cut.hpp +include/coin/CglConicGD1Param.hpp +include/coin/CglConicGD2.hpp +include/coin/CglConicGD2Param.hpp +include/coin/CglConicIPM.hpp +include/coin/CglConicIPMParam.hpp +include/coin/CglConicIPMint.hpp +include/coin/CglConicIPMintParam.hpp +include/coin/CglConicMIR.hpp +include/coin/CglConicMIRParam.hpp +include/coin/CglConicOA.hpp +include/coin/CglConicOAParam.hpp +include/coin/CglConicParam.hpp +lib/libCglConic.so +lib/libCglConic.so.0 +lib/libCglConic.so.0.0.0 +libdata/pkgconfig/cglconic.pc +share/coin/doc/CglConic/AUTHORS +share/coin/doc/CglConic/LICENSE +share/coin/doc/CglConic/README +share/coin/doc/CglConic/cglconic_addlibs.txt |