New port: math/cgl: Collection of cut generators for COIN-OR packages that use cuts
This commit is contained in:
@@ -143,6 +143,7 @@
|
||||
SUBDIR += ccmath
|
||||
SUBDIR += ceres-solver
|
||||
SUBDIR += cgal
|
||||
SUBDIR += cgl
|
||||
SUBDIR += chaco
|
||||
SUBDIR += chryzodus
|
||||
SUBDIR += clasp
|
||||
|
||||
27
math/cgl/Makefile
Normal file
27
math/cgl/Makefile
Normal file
@@ -0,0 +1,27 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= cgl
|
||||
DISTVERSIONPREFIX= releases/
|
||||
DISTVERSION= 0.59.10
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Collection of cut generators for COIN-OR packages that use cuts
|
||||
|
||||
LICENSE= EPL
|
||||
|
||||
LIB_DEPENDS= libblas.so:math/blas \
|
||||
libClp.so:math/clp \
|
||||
liblapack.so:math/lapack
|
||||
|
||||
USES= gmake libtool pkgconfig
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= coin-or
|
||||
GH_PROJECT= Cgl
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libCgl.so.*
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
math/cgl/distinfo
Normal file
3
math/cgl/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1522615098
|
||||
SHA256 (coin-or-Cgl-releases-0.59.10_GH0.tar.gz) = 2a4038dfeb00b4f4084bbe00b144b6bae4ddfe87873ac5913603af248cb3f1d4
|
||||
SIZE (coin-or-Cgl-releases-0.59.10_GH0.tar.gz) = 1255366
|
||||
11
math/cgl/files/patch-Cgl_src_CglLandP_CglLandPUtils.hpp
Normal file
11
math/cgl/files/patch-Cgl_src_CglLandP_CglLandPUtils.hpp
Normal file
@@ -0,0 +1,11 @@
|
||||
--- Cgl/src/CglLandP/CglLandPUtils.hpp.orig 2018-04-16 07:09:23 UTC
|
||||
+++ Cgl/src/CglLandP/CglLandPUtils.hpp
|
||||
@@ -85,7 +85,7 @@ struct Cuts
|
||||
/** resize vector.*/
|
||||
void resize(unsigned int i)
|
||||
{
|
||||
- cuts_.resize(i, reinterpret_cast<OsiRowCut *> (NULL));
|
||||
+ cuts_.resize(i, nullptr); // workaround for clang-6
|
||||
}
|
||||
private:
|
||||
/** Stores the number of cuts.*/
|
||||
5
math/cgl/pkg-descr
Normal file
5
math/cgl/pkg-descr
Normal file
@@ -0,0 +1,5 @@
|
||||
Collection of cut generators that can be used with other COIN-OR packages
|
||||
that make use of cuts, such as, among others, the linear solver Clp or the
|
||||
mixed integer linear programming solvers Cbc or BCP.
|
||||
|
||||
WWW: https://projects.coin-or.org/Cgl
|
||||
39
math/cgl/pkg-plist
Normal file
39
math/cgl/pkg-plist
Normal file
@@ -0,0 +1,39 @@
|
||||
include/coin/Cgl012cut.hpp
|
||||
include/coin/CglAllDifferent.hpp
|
||||
include/coin/CglClique.hpp
|
||||
include/coin/CglConfig.h
|
||||
include/coin/CglCutGenerator.hpp
|
||||
include/coin/CglDuplicateRow.hpp
|
||||
include/coin/CglFlowCover.hpp
|
||||
include/coin/CglGMI.hpp
|
||||
include/coin/CglGMIParam.hpp
|
||||
include/coin/CglGomory.hpp
|
||||
include/coin/CglKnapsackCover.hpp
|
||||
include/coin/CglLandP.hpp
|
||||
include/coin/CglLandPValidator.hpp
|
||||
include/coin/CglLiftAndProject.hpp
|
||||
include/coin/CglMessage.hpp
|
||||
include/coin/CglMixedIntegerRounding.hpp
|
||||
include/coin/CglMixedIntegerRounding2.hpp
|
||||
include/coin/CglOddHole.hpp
|
||||
include/coin/CglParam.hpp
|
||||
include/coin/CglPreProcess.hpp
|
||||
include/coin/CglProbing.hpp
|
||||
include/coin/CglRedSplit.hpp
|
||||
include/coin/CglRedSplit2.hpp
|
||||
include/coin/CglRedSplit2Param.hpp
|
||||
include/coin/CglRedSplitParam.hpp
|
||||
include/coin/CglResidualCapacity.hpp
|
||||
include/coin/CglSimpleRounding.hpp
|
||||
include/coin/CglStored.hpp
|
||||
include/coin/CglTreeInfo.hpp
|
||||
include/coin/CglTwomir.hpp
|
||||
include/coin/CglZeroHalf.hpp
|
||||
lib/libCgl.so
|
||||
lib/libCgl.so.1
|
||||
lib/libCgl.so.1.9.10
|
||||
libdata/pkgconfig/cgl.pc
|
||||
share/coin/doc/Cgl/AUTHORS
|
||||
share/coin/doc/Cgl/LICENSE
|
||||
share/coin/doc/Cgl/README
|
||||
share/coin/doc/Cgl/cgl_addlibs.txt
|
||||
Reference in New Issue
Block a user