svn commit: r366918 - in head/math: . ipopt
Kurt Jaeger
pi at FreeBSD.org
Mon Sep 1 18:09:43 UTC 2014
Author: pi
Date: Mon Sep 1 18:09:41 2014
New Revision: 366918
URL: http://svnweb.freebsd.org/changeset/ports/366918
QAT: https://qat.redports.org/buildarchive/r366918/
Log:
New port: math/ipopt
Ipopt (Interior Point OPTimizer, pronounced eye-pea-Opt) is a software
package for large-scale nonlinear optimization.
Ipopt is written in C++ and is released as open source code under the
Eclipse Public License (EPL). It is available from the COIN-OR
initiative. The code has been written by Carl Laird and Andreas Wächter,
who is the COIN project leader for Ipopt.
The Ipopt distribution can be used to generate a library that can be
linked to one's own C++, C, or Fortran code, as well as a solver
executable for the AMPL modeling environment. The package includes
interfaces to CUTEr optimization testing environment, as well as the
MATLAB and R programming environments. IPOPT can be used on Linux/UNIX,
Mac OS X and Windows platforms.
An excellent reference for this library can be found in:
Wächter and L. T. Biegler, On the Implementation of a Primal-Dual Interior
Point Filter Line Search Algorithm for Large-Scale Nonlinear Programming,
Mathematical Programming 106(1), pp. 25-57, 2006
WWW: https://projects.coin-or.org/Ipopt
PR: 168290
Submitted by: Pedro F. Giffuni <pfg at FreeBSD.org>
Added:
head/math/ipopt/
head/math/ipopt/Makefile (contents, props changed)
head/math/ipopt/distinfo (contents, props changed)
head/math/ipopt/pkg-descr (contents, props changed)
head/math/ipopt/pkg-plist (contents, props changed)
Modified:
head/math/Makefile
Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile Mon Sep 1 18:05:36 2014 (r366917)
+++ head/math/Makefile Mon Sep 1 18:09:41 2014 (r366918)
@@ -184,6 +184,7 @@
SUBDIR += hs-statistics
SUBDIR += hs-vector-space
SUBDIR += igraph
+ SUBDIR += ipopt
SUBDIR += isabelle
SUBDIR += ised
SUBDIR += itl
Added: head/math/ipopt/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/ipopt/Makefile Mon Sep 1 18:09:41 2014 (r366918)
@@ -0,0 +1,60 @@
+# Created by: Pedro Giffuni
+# $FreeBSD$
+
+PORTNAME= Ipopt
+PORTVERSION= 3.11.9
+CATEGORIES= math
+MASTER_SITES= http://www.coin-or.org/download/source/Ipopt/:srcs \
+ http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/OLD/:metis \
+ http://mumps.enseeiht.fr/:mumps
+DISTFILES= ${PORTNAME}-${PORTVERSION}.tgz:srcs \
+ metis-4.0.3.tar.gz:metis MUMPS_4.10.0.tar.gz:mumps
+EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
+
+MAINTAINER= pfg at FreeBSD.org
+COMMENT= Software package for large-scale nonlinear optimization
+
+LICENSE= EPL
+
+LIB_DEPENDS= liblapack.so:${PORTSDIR}/math/lapack
+
+USES= fortran libtool pkgconfig tar:tgz
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+INSTALL_TARGET= install-strip
+
+CONFIGURE_ENV+= PKG_CONFIG_PATH=${STAGEDIR}${PREFIX}/libdata/pkgconfig
+CONFIGURE_ARGS= --with-lapack-lib="-llapack -L/${LOCALBASE}/lib" \
+ --with-lapack-incdir=${LOCALBASE}/include/lapack
+
+CXXFLAGS+= -ffast-math
+
+OPTIONS_DEFINE= DEBUG DOCS
+PORTDOCS= *
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDEBUG}
+CXXFLAGS+= -fomit-frame-pointer
+.endif
+
+post-patch::
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
+ -e 's|$$(DESTDIR)$$(addlibsdir)|$$(addlibsdir)|g'
+post-extract:
+ @(${ECHO} "Extracting Metis and Mumps ThirdParty libraries ..." )
+ @(cd ${WRKSRC}/ThirdParty/Metis && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/metis-4.0.3.tar.gz ${EXTRACT_AFTER_ARGS});
+ @(${MV} ${WRKSRC}/ThirdParty/Metis/metis-4.0.? ${WRKSRC}/ThirdParty/Metis/metis-4.0);
+ @(cd ${WRKSRC}/ThirdParty/Mumps && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/MUMPS_4.10.0.tar.gz ${EXTRACT_AFTER_ARGS});
+ @(${MV} ${WRKSRC}/ThirdParty/Mumps/MUMPS_4.10.0 ${WRKSRC}/ThirdParty/Mumps/MUMPS);
+
+post-install:
+ ${MV} ${STAGEDIR}${PREFIX}/share/coin/doc ${STAGEDIR}${DOCSDIR}
+ ${RM} -rf ${STAGEDIR}${PREFIX}/share/coin
+
+check regression-test test: build
+ @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} \
+ ${MAKE_ARGS} test)
+
+.include <bsd.port.mk>
Added: head/math/ipopt/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/ipopt/distinfo Mon Sep 1 18:09:41 2014 (r366918)
@@ -0,0 +1,6 @@
+SHA256 (Ipopt-3.11.9.tgz) = 84991b13ce22e4a4aa0756a5db290c2b811bf82ff4e9124d1a71867118e6ab2d
+SIZE (Ipopt-3.11.9.tgz) = 4750090
+SHA256 (metis-4.0.3.tar.gz) = 5efa35de80703c1b2c4d0de080fafbcf4e0d363a21149a1ad2f96e0144841a55
+SIZE (metis-4.0.3.tar.gz) = 522624
+SHA256 (MUMPS_4.10.0.tar.gz) = d0f86f91a74c51a17a2ff1be9c9cee2338976f13a6d00896ba5b43a5ca05d933
+SIZE (MUMPS_4.10.0.tar.gz) = 2481516
Added: head/math/ipopt/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/ipopt/pkg-descr Mon Sep 1 18:09:41 2014 (r366918)
@@ -0,0 +1,22 @@
+Ipopt (Interior Point OPTimizer, pronounced eye-pea-Opt) is a software
+package for large-scale nonlinear optimization.
+
+Ipopt is written in C++ and is released as open source code under the
+Eclipse Public License (EPL). It is available from the COIN-OR
+initiative. The code has been written by Carl Laird and Andreas Wchter,
+who is the COIN project leader for Ipopt.
+
+The Ipopt distribution can be used to generate a library that can be
+linked to one's own C++, C, or Fortran code, as well as a solver
+executable for the AMPL modeling environment. The package includes
+interfaces to CUTEr optimization testing environment, as well as the
+MATLAB and R programming environments. IPOPT can be used on Linux/UNIX,
+Mac OS X and Windows platforms.
+
+An excellent reference for this library can be found in:
+
+Wachter and L. T. Biegler, On the Implementation of a Primal-Dual Interior
+Point Filter Line Search Algorithm for Large-Scale Nonlinear Programming,
+Mathematical Programming 106(1), pp. 25-57, 2006
+
+WWW: https://projects.coin-or.org/Ipopt
Added: head/math/ipopt/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/ipopt/pkg-plist Mon Sep 1 18:09:41 2014 (r366918)
@@ -0,0 +1,67 @@
+include/coin/HSLLoader.h
+include/coin/IpAlgTypes.hpp
+include/coin/IpBlas.hpp
+include/coin/IpCachedResults.hpp
+include/coin/IpCompoundVector.hpp
+include/coin/IpDebug.hpp
+include/coin/IpDenseVector.hpp
+include/coin/IpException.hpp
+include/coin/IpExpansionMatrix.hpp
+include/coin/IpIpoptApplication.hpp
+include/coin/IpIpoptCalculatedQuantities.hpp
+include/coin/IpIpoptData.hpp
+include/coin/IpIpoptNLP.hpp
+include/coin/IpIteratesVector.hpp
+include/coin/IpJournalist.hpp
+include/coin/IpLapack.hpp
+include/coin/IpMatrix.hpp
+include/coin/IpNLP.hpp
+include/coin/IpNLPScaling.hpp
+include/coin/IpObserver.hpp
+include/coin/IpOptionsList.hpp
+include/coin/IpOrigIpoptNLP.hpp
+include/coin/IpReferenced.hpp
+include/coin/IpRegOptions.hpp
+include/coin/IpReturnCodes.h
+include/coin/IpReturnCodes.hpp
+include/coin/IpReturnCodes.inc
+include/coin/IpReturnCodes_inc.h
+include/coin/IpSmartPtr.hpp
+include/coin/IpSolveStatistics.hpp
+include/coin/IpStdCInterface.h
+include/coin/IpSymMatrix.hpp
+include/coin/IpTNLP.hpp
+include/coin/IpTNLPAdapter.hpp
+include/coin/IpTNLPReducer.hpp
+include/coin/IpTaggedObject.hpp
+include/coin/IpTimedTask.hpp
+include/coin/IpTimingStatistics.hpp
+include/coin/IpTypes.hpp
+include/coin/IpUtils.hpp
+include/coin/IpVector.hpp
+include/coin/IpoptConfig.h
+include/coin/PardisoLoader.h
+include/coin/ThirdParty/defs.h
+include/coin/ThirdParty/dmumps_c.h
+include/coin/ThirdParty/macros.h
+include/coin/ThirdParty/metis.h
+include/coin/ThirdParty/mpi.h
+include/coin/ThirdParty/mumps_c_types.h
+include/coin/ThirdParty/mumps_compat.h
+include/coin/ThirdParty/proto.h
+include/coin/ThirdParty/rename.h
+include/coin/ThirdParty/struct.h
+ at dirrm include/coin/ThirdParty
+ at dirrmtry include/coin
+lib/libcoinmetis.so
+lib/libcoinmetis.so.1
+lib/libcoinmetis.so.1.2.10
+lib/libcoinmumps.so
+lib/libcoinmumps.so.1
+lib/libcoinmumps.so.1.4.13
+lib/libipopt.so
+lib/libipopt.so.1
+lib/libipopt.so.1.9.9
+libdata/pkgconfig/coinmetis.pc
+libdata/pkgconfig/coinmumps.pc
+libdata/pkgconfig/ipopt.pc
More information about the svn-ports-all
mailing list