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@FreeBSD.org>
2014-09-01 18:09:41 +00:00
|
|
|
# Created by: Pedro Giffuni
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= Ipopt
|
2017-02-27 16:37:40 +00:00
|
|
|
PORTVERSION= 3.12.7
|
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
2017-09-10 20:55:38 +00:00
|
|
|
PORTREVISION= 2
|
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@FreeBSD.org>
2014-09-01 18:09:41 +00:00
|
|
|
CATEGORIES= math
|
2015-05-11 18:34:57 +00:00
|
|
|
MASTER_SITES= http://www.coin-or.org/download/source/Ipopt/ \
|
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@FreeBSD.org>
2014-09-01 18:09:41 +00:00
|
|
|
http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/OLD/:metis \
|
|
|
|
http://mumps.enseeiht.fr/:mumps
|
2015-05-11 18:34:57 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
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@FreeBSD.org>
2014-09-01 18:09:41 +00:00
|
|
|
metis-4.0.3.tar.gz:metis MUMPS_4.10.0.tar.gz:mumps
|
2015-05-11 18:34:57 +00:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
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@FreeBSD.org>
2014-09-01 18:09:41 +00:00
|
|
|
|
2017-02-27 16:37:40 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
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@FreeBSD.org>
2014-09-01 18:09:41 +00:00
|
|
|
COMMENT= Software package for large-scale nonlinear optimization
|
|
|
|
|
|
|
|
LICENSE= EPL
|
|
|
|
|
2016-10-21 15:21:13 +00:00
|
|
|
USES= blaslapack fortran libtool pathfix pkgconfig tar:tgz
|
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@FreeBSD.org>
2014-09-01 18:09:41 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LDCONFIG= yes
|
2016-10-11 21:03:38 +00:00
|
|
|
TEST_TARGET= test
|
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@FreeBSD.org>
2014-09-01 18:09:41 +00:00
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
|
2016-10-21 15:21:13 +00:00
|
|
|
CONFIGURE_ENV+= PKG_CONFIG_PATH=${PREFIX}/libdata/pkgconfig \
|
2016-02-27 13:26:24 +00:00
|
|
|
CXX="${CXX} -B${LOCALBASE}/bin"
|
2015-01-13 20:23:58 +00:00
|
|
|
CONFIGURE_ARGS= --with-lapack-lib="${LAPACKLIB} -L${LOCALBASE}/lib" \
|
|
|
|
--with-blas-lib="${BLASLIB} -L${LOCALBASE}/lib"
|
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@FreeBSD.org>
2014-09-01 18:09:41 +00:00
|
|
|
|
|
|
|
CXXFLAGS+= -ffast-math
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DEBUG DOCS
|
|
|
|
PORTDOCS= *
|
|
|
|
|
2015-10-12 12:26:06 +00:00
|
|
|
DEBUG_CXXFLAGS= -fomit-frame-pointer
|
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@FreeBSD.org>
2014-09-01 18:09:41 +00:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2017-02-27 16:37:40 +00:00
|
|
|
pre-patch:
|
|
|
|
@(cd ${WRKSRC}/ThirdParty/Mumps && ${PATCH} -p0 < mumps.patch && ${PATCH} -p0 < mumps_mpi.patch )
|
|
|
|
@(${MV} ${WRKSRC}/ThirdParty/Mumps/MUMPS/libseq/mpi.h ${WRKSRC}/ThirdParty/Mumps/MUMPS/libseq/mumps_mpi.h);
|
|
|
|
|
2015-10-12 12:26:06 +00:00
|
|
|
post-install-DOCS-off:
|
2016-10-21 12:51:40 +00:00
|
|
|
${RM} -r ${STAGEDIR}${PREFIX}/share/coin
|
2015-10-12 12:26:06 +00:00
|
|
|
|
|
|
|
post-install-DOCS-on:
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Ipopt/doc/documentation.pdf\
|
|
|
|
${STAGEDIR}${DOCSDIR}
|
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@FreeBSD.org>
2014-09-01 18:09:41 +00:00
|
|
|
${MV} ${STAGEDIR}${PREFIX}/share/coin/doc ${STAGEDIR}${DOCSDIR}
|
2016-10-21 12:51:40 +00:00
|
|
|
${RM} -r ${STAGEDIR}${PREFIX}/share/coin
|
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@FreeBSD.org>
2014-09-01 18:09:41 +00:00
|
|
|
|
2017-02-27 16:37:40 +00:00
|
|
|
.if defined(MAINTAINER_MODE)
|
|
|
|
regression-test:
|
|
|
|
(cd ${WRKSRC}; ${MAKE_CMD} test)
|
|
|
|
.endif
|
|
|
|
|
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@FreeBSD.org>
2014-09-01 18:09:41 +00:00
|
|
|
.include <bsd.port.mk>
|