From owner-svn-ports-head@freebsd.org Mon Apr 16 07:55:43 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78837F92A72; Mon, 16 Apr 2018 07:55:43 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E9377A557; Mon, 16 Apr 2018 07:55:43 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 255B31A911; Mon, 16 Apr 2018 07:55:43 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3G7tgnC041554; Mon, 16 Apr 2018 07:55:42 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3G7tgDr041548; Mon, 16 Apr 2018 07:55:42 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201804160755.w3G7tgDr041548@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 16 Apr 2018 07:55:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467464 - in head/math: . cbc cbc/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . cbc cbc/files X-SVN-Commit-Revision: 467464 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 07:55:43 -0000 Author: yuri Date: Mon Apr 16 07:55:42 2018 New Revision: 467464 URL: https://svnweb.freebsd.org/changeset/ports/467464 Log: New port: Coin-or Branch and Cut: mixed integer programming solver Added: head/math/cbc/ head/math/cbc/Makefile (contents, props changed) head/math/cbc/distinfo (contents, props changed) head/math/cbc/files/ head/math/cbc/files/patch-Cbc_src_CbcModel.cpp (contents, props changed) head/math/cbc/pkg-descr (contents, props changed) head/math/cbc/pkg-plist (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Mon Apr 16 07:49:50 2018 (r467463) +++ head/math/Makefile Mon Apr 16 07:55:42 2018 (r467464) @@ -139,6 +139,7 @@ SUBDIR += calctool SUBDIR += cantor SUBDIR += cantor-kde4 + SUBDIR += cbc SUBDIR += cblas SUBDIR += ccmath SUBDIR += ceres-solver Added: head/math/cbc/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/cbc/Makefile Mon Apr 16 07:55:42 2018 (r467464) @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= cbc +DISTVERSIONPREFIX= releases/ +DISTVERSION= 2.9.9 +CATEGORIES= math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Coin-or Branch and Cut: mixed integer programming solver + +LICENSE= EPL +LICENSE_FILE= ${WRKSRC}/Cbc/LICENSE + +LIB_DEPENDS= libblas.so:math/blas \ + libCgl.so:math/cgl \ + libClp.so:math/clp \ + liblapack.so:math/lapack + +USES= fortran gmake libtool pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= coin-or +GH_PROJECT= Cbc +GNU_CONFIGURE= yes +USE_LDCONFIG= yes + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so + +.include Added: head/math/cbc/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/cbc/distinfo Mon Apr 16 07:55:42 2018 (r467464) @@ -0,0 +1,3 @@ +TIMESTAMP = 1522614939 +SHA256 (coin-or-Cbc-releases-2.9.9_GH0.tar.gz) = 3760fa9fe24fe3390c8b3d5f03583a62652d9b159aef9b0b609e4948ef1b8f29 +SIZE (coin-or-Cbc-releases-2.9.9_GH0.tar.gz) = 1658623 Added: head/math/cbc/files/patch-Cbc_src_CbcModel.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/cbc/files/patch-Cbc_src_CbcModel.cpp Mon Apr 16 07:55:42 2018 (r467464) @@ -0,0 +1,11 @@ +--- Cbc/src/CbcModel.cpp.orig 2018-04-16 07:45:54 UTC ++++ Cbc/src/CbcModel.cpp +@@ -5338,7 +5338,7 @@ void CbcModel::branchAndBound(int doStat + OsiClpSolverInterface * clpSolver + = dynamic_cast (solver_); + if (clpSolver) +- clpSolver->setFakeObjective(reinterpret_cast (NULL)); ++ clpSolver->setFakeObjective((double*)nullptr); + } + #endif + moreSpecialOptions_ = saveMoreSpecialOptions; Added: head/math/cbc/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/cbc/pkg-descr Mon Apr 16 07:55:42 2018 (r467464) @@ -0,0 +1,8 @@ +Cbc (Coin-or branch and cut) is an open-source mixed integer programming solver +written in C++. It can be used as a callable library or using a stand-alone +executable. It can be called through AMPL (natively), GAMS (using the links +provided by the Optimization Services and GAMSlinks projects), MPL (through the +CoinMP project), AIMMS (through the AIMMSlinks project), PuLP, CMPL, OpenSolver +for Excel, JuMP, or MiniZinc. + +WWW: https://projects.coin-or.org/Cbc Added: head/math/cbc/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/cbc/pkg-plist Mon Apr 16 07:55:42 2018 (r467464) @@ -0,0 +1,92 @@ +bin/cbc +include/coin/CbcBranchActual.hpp +include/coin/CbcBranchAllDifferent.hpp +include/coin/CbcBranchBase.hpp +include/coin/CbcBranchCut.hpp +include/coin/CbcBranchDecision.hpp +include/coin/CbcBranchDefaultDecision.hpp +include/coin/CbcBranchDynamic.hpp +include/coin/CbcBranchLotsize.hpp +include/coin/CbcBranchToFixLots.hpp +include/coin/CbcBranchingObject.hpp +include/coin/CbcClique.hpp +include/coin/CbcCompare.hpp +include/coin/CbcCompareActual.hpp +include/coin/CbcCompareBase.hpp +include/coin/CbcCompareDefault.hpp +include/coin/CbcCompareDepth.hpp +include/coin/CbcCompareEstimate.hpp +include/coin/CbcCompareObjective.hpp +include/coin/CbcConfig.h +include/coin/CbcConsequence.hpp +include/coin/CbcCountRowCut.hpp +include/coin/CbcCutGenerator.hpp +include/coin/CbcCutModifier.hpp +include/coin/CbcCutSubsetModifier.hpp +include/coin/CbcDummyBranchingObject.hpp +include/coin/CbcEventHandler.hpp +include/coin/CbcFathom.hpp +include/coin/CbcFathomDynamicProgramming.hpp +include/coin/CbcFeasibilityBase.hpp +include/coin/CbcFixVariable.hpp +include/coin/CbcFollowOn.hpp +include/coin/CbcFullNodeInfo.hpp +include/coin/CbcGeneral.hpp +include/coin/CbcGeneralDepth.hpp +include/coin/CbcHeuristic.hpp +include/coin/CbcHeuristicDINS.hpp +include/coin/CbcHeuristicDW.hpp +include/coin/CbcHeuristicDive.hpp +include/coin/CbcHeuristicDiveCoefficient.hpp +include/coin/CbcHeuristicDiveFractional.hpp +include/coin/CbcHeuristicDiveGuided.hpp +include/coin/CbcHeuristicDiveLineSearch.hpp +include/coin/CbcHeuristicDivePseudoCost.hpp +include/coin/CbcHeuristicDiveVectorLength.hpp +include/coin/CbcHeuristicFPump.hpp +include/coin/CbcHeuristicGreedy.hpp +include/coin/CbcHeuristicLocal.hpp +include/coin/CbcHeuristicPivotAndFix.hpp +include/coin/CbcHeuristicRENS.hpp +include/coin/CbcHeuristicRINS.hpp +include/coin/CbcHeuristicRandRound.hpp +include/coin/CbcHeuristicVND.hpp +include/coin/CbcLinked.hpp +include/coin/CbcMessage.hpp +include/coin/CbcMipStartIO.hpp +include/coin/CbcModel.hpp +include/coin/CbcNWay.hpp +include/coin/CbcNode.hpp +include/coin/CbcNodeInfo.hpp +include/coin/CbcObject.hpp +include/coin/CbcObjectUpdateData.hpp +include/coin/CbcParam.hpp +include/coin/CbcPartialNodeInfo.hpp +include/coin/CbcSOS.hpp +include/coin/CbcSimpleInteger.hpp +include/coin/CbcSimpleIntegerDynamicPseudoCost.hpp +include/coin/CbcSimpleIntegerPseudoCost.hpp +include/coin/CbcSolver.hpp +include/coin/CbcStrategy.hpp +include/coin/CbcSubProblem.hpp +include/coin/CbcTree.hpp +include/coin/CbcTreeLocal.hpp +include/coin/Cbc_C_Interface.h +include/coin/ClpAmplObjective.hpp +include/coin/ClpConstraintAmpl.hpp +include/coin/OsiCbcSolverInterface.hpp +lib/libCbc.so +lib/libCbc.so.3 +lib/libCbc.so.3.9.9 +lib/libCbcSolver.so +lib/libCbcSolver.so.3 +lib/libCbcSolver.so.3.9.9 +lib/libOsiCbc.so +lib/libOsiCbc.so.3 +lib/libOsiCbc.so.3.9.9 +libdata/pkgconfig/cbc.pc +libdata/pkgconfig/osi-cbc.pc +share/coin/doc/Cbc/AUTHORS +share/coin/doc/Cbc/LICENSE +share/coin/doc/Cbc/README +share/coin/doc/Cbc/cbc_addlibs.txt