Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2018 07:59:42 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r487136 - in head/math: . osi
Message-ID:  <201812100759.wBA7xgoH050802@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Dec 10 07:59:42 2018
New Revision: 487136
URL: https://svnweb.freebsd.org/changeset/ports/487136

Log:
  New port: math/osi: COIN-OR Open Solver Interface, an API for calling solver libraries

Added:
  head/math/osi/
  head/math/osi/Makefile   (contents, props changed)
  head/math/osi/distinfo   (contents, props changed)
  head/math/osi/pkg-descr   (contents, props changed)
  head/math/osi/pkg-plist   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Mon Dec 10 07:55:52 2018	(r487135)
+++ head/math/Makefile	Mon Dec 10 07:59:42 2018	(r487136)
@@ -498,6 +498,7 @@
     SUBDIR += openmesh
     SUBDIR += opensolaris-libm
     SUBDIR += orpie
+    SUBDIR += osi
     SUBDIR += osqp
     SUBDIR += p5-AI-DecisionTree
     SUBDIR += p5-AI-Genetic

Added: head/math/osi/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/osi/Makefile	Mon Dec 10 07:59:42 2018	(r487136)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME=	Osi
+DISTVERSION=	0.107.9
+CATEGORIES=	math
+MASTER_SITES=	https://www.coin-or.org/download/source/${PORTNAME}/
+PKGNAMEPREFIX=	coin-or-
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	COIN-OR Open Solver Interface, an API for calling solver libraries
+
+LICENSE=	EPL
+LICENSE_FILE=	${WRKSRC}/Osi/LICENSE
+
+BUILD_DEPENDS=	coin-or-Data-Sample>0:math/coin-or-data-sample \
+		coin-or-Data-Netlib>0:math/coin-or-data-netlib
+LIB_DEPENDS=	libCoinUtils.so:math/coinutils \
+		libopenblas.so:math/openblas
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+
+USES=		fortran gmake libtool localbase:ldflags pkgconfig tar:tgz
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-blas-lib="-lopenblas" --with-lapack-lib="-lopenblas" \
+		--with-sample-datadir="${LOCALBASE}/share/coin/Data/Sample" \
+		--with-netlib-datadir="${LOCALBASE}/share/coin/Data/Netlib" \
+		--with-coinutils-incdir="${LOCALBASE}/include/coin" --with-coinutils-lib="${LOCALBASE}/lib/libCoinUtils.so"
+		# Incompatible with optional dependencies glpk and SoPlex: https://projects.coin-or.org/Osi/ticket/117 https://projects.coin-or.org/Osi/ticket/118
+USE_LDCONFIG=	yes
+
+post-install:
+	@${RM} -r ${STAGEDIR}${PREFIX}/share/coin
+
+.include <bsd.port.mk>

Added: head/math/osi/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/osi/distinfo	Mon Dec 10 07:59:42 2018	(r487136)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1544415432
+SHA256 (Osi-0.107.9.tgz) = 6d61fb27e2dccf6574fcc4a03b7a0083f10e578e5e5b2abae22da11489571c05
+SIZE (Osi-0.107.9.tgz) = 7513203

Added: head/math/osi/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/osi/pkg-descr	Mon Dec 10 07:59:42 2018	(r487136)
@@ -0,0 +1,19 @@
+Osi (Open Solver Interface) provides an abstract base class to a generic linear
+programming (LP) solver, along with derived classes for specific solvers. Many
+applications may be able to use the Osi to insulate themselves from a specific
+LP solver. The following is a list of derived Osi classes:
+
+Solver        Derived Class
+* Cbc         OsiCbc
+* Clp         OsiClp
+* CPLEX       OsiCpx
+* DyLP        OsiDylp
+* GLPK        OsiGlpk
+* Gurobi      OsiGrb
+* MOSEK       OsiMsk
+* SoPlex      OsiSpx
+* SYMPHONY    OsiSym
+* Vol         OsiVol
+* XPRESS-MP   OsiXpr 
+
+WWW: https://projects.coin-or.org/Osi/

Added: head/math/osi/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/osi/pkg-plist	Mon Dec 10 07:59:42 2018	(r487136)
@@ -0,0 +1,23 @@
+include/coin/OsiAuxInfo.hpp
+include/coin/OsiBranchingObject.hpp
+include/coin/OsiChooseVariable.hpp
+include/coin/OsiColCut.hpp
+include/coin/OsiCollections.hpp
+include/coin/OsiConfig.h
+include/coin/OsiCut.hpp
+include/coin/OsiCuts.hpp
+include/coin/OsiPresolve.hpp
+include/coin/OsiRowCut.hpp
+include/coin/OsiRowCutDebugger.hpp
+include/coin/OsiSolverBranch.hpp
+include/coin/OsiSolverInterface.hpp
+include/coin/OsiSolverParameters.hpp
+include/coin/OsiUnitTests.hpp
+lib/libOsi.so
+lib/libOsi.so.1
+lib/libOsi.so.1.12.9
+lib/libOsiCommonTests.so
+lib/libOsiCommonTests.so.1
+lib/libOsiCommonTests.so.1.12.9
+libdata/pkgconfig/osi-unittests.pc
+libdata/pkgconfig/osi.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812100759.wBA7xgoH050802>