Import of pkgsrc-2014Q1
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
Ipopt (Interior Point OPTimizer, pronounced eye-pea-Opt)
|
||||
is a software package for large-scale nonlinear optimization.
|
||||
It is designed to find (local) solutions of mathematical
|
||||
optimization problems of the form
|
||||
|
||||
min_{x in R^n} f(x)
|
||||
|
||||
s.t. g_L <= g(x) <= g_U
|
||||
x_L <= x <= x_U
|
||||
|
||||
where f(x): R^n --> R is the objective function,
|
||||
and g(x): R^n --> R^m are the constraint functions.
|
||||
The vectors g_L and g_U denote the lower and upper bounds on the
|
||||
constraints, and the vectors x_L and x_U are the bounds on the
|
||||
variables x. The functions f(x) and g(x) can be nonlinear and
|
||||
nonconvex, but should be twice continuously differentiable.
|
||||
Note that equality constraints can be formulated in the above
|
||||
formulation by setting the corresponding components of g_L and
|
||||
g_U to the same value.
|
||||
|
||||
Ipopt is part of the COIN-OR Initiative.
|
||||
@@ -0,0 +1,21 @@
|
||||
# $NetBSD: Makefile,v 1.1.1.1 2013/11/14 15:04:12 asau Exp $
|
||||
|
||||
DISTNAME= Ipopt-3.11.5
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://www.coin-or.org/download/source/Ipopt/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= asau@inbox.ru
|
||||
HOMEPAGE= https://projects.coin-or.org/Ipopt
|
||||
COMMENT= Interior Point OPTimizer
|
||||
|
||||
USE_LANGUAGES= c c++ fortran
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LIBTOOL= yes
|
||||
USE_TOOLS+= pkg-config
|
||||
|
||||
TEST_TARGET= test
|
||||
|
||||
.include "../../math/blas/buildlink3.mk"
|
||||
.include "../../math/lapack/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
@@ -0,0 +1,51 @@
|
||||
@comment $NetBSD: PLIST,v 1.1.1.1 2013/11/14 15:04:12 asau Exp $
|
||||
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/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
|
||||
lib/libipopt.la
|
||||
lib/pkgconfig/ipopt.pc
|
||||
share/coin/doc/Ipopt/AUTHORS
|
||||
share/coin/doc/Ipopt/LICENSE
|
||||
share/coin/doc/Ipopt/README
|
||||
share/coin/doc/Ipopt/ipopt_addlibs_c.txt
|
||||
share/coin/doc/Ipopt/ipopt_addlibs_cpp.txt
|
||||
share/coin/doc/Ipopt/ipopt_addlibs_f.txt
|
||||
@@ -0,0 +1,15 @@
|
||||
# $NetBSD: buildlink3.mk,v 1.1.1.1 2013/11/14 15:04:12 asau Exp $
|
||||
|
||||
BUILDLINK_TREE+= Ipopt
|
||||
|
||||
.if !defined(IPOPT_BUILDLINK3_MK)
|
||||
IPOPT_BUILDLINK3_MK:=
|
||||
|
||||
BUILDLINK_API_DEPENDS.Ipopt+= Ipopt>=3.11.5
|
||||
BUILDLINK_PKGSRCDIR.Ipopt?= ../../math/ipopt
|
||||
|
||||
.include "../../math/blas/buildlink3.mk"
|
||||
.include "../../math/lapack/buildlink3.mk"
|
||||
.endif # IPOPT_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_TREE+= -Ipopt
|
||||
@@ -0,0 +1,8 @@
|
||||
$NetBSD: distinfo,v 1.3 2013/12/06 21:24:59 joerg Exp $
|
||||
|
||||
SHA1 (Ipopt-3.11.5.tgz) = 66e3ae03179ba7541a478d185b256f336159fc6d
|
||||
RMD160 (Ipopt-3.11.5.tgz) = 9fc02e86f9d69a85e77c492ade30df23dba8afc7
|
||||
Size (Ipopt-3.11.5.tgz) = 4743371 bytes
|
||||
SHA1 (patch-Ipopt_Makefile.in) = 6582e7425f1d3d8b9b010caa89225fe000e3897a
|
||||
SHA1 (patch-Ipopt_configure) = a8737f537b8638a71d65d83658770826bfefc5e6
|
||||
SHA1 (patch-ThirdParty_HSLold_configure) = e4993ba13c1c84a4d83992c3ce0c58a500af7462
|
||||
@@ -0,0 +1,13 @@
|
||||
$NetBSD: patch-Ipopt_Makefile.in,v 1.1 2013/12/06 21:24:59 joerg Exp $
|
||||
|
||||
--- Ipopt/Makefile.in.orig 2013-12-06 17:06:05.000000000 +0000
|
||||
+++ Ipopt/Makefile.in
|
||||
@@ -1077,7 +1077,7 @@ astyle:
|
||||
# since pkg-config may have reordered the flags from FLIBS, we take them out one by one
|
||||
install-data-hook:
|
||||
@$(mkdir_p) "$(addlibsdir)"
|
||||
-@COIN_HAS_PKGCONFIG_TRUE@ PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \
|
||||
+@COIN_HAS_PKGCONFIG_TRUE@ PKG_CONFIG_PATH=${DESTDIR}${pkgconfiglibdir} \
|
||||
@COIN_HAS_PKGCONFIG_TRUE@ $(PKG_CONFIG) --libs ipopt > $(addlibsdir)/ipopt_addlibs_cpp.txt
|
||||
@COIN_CXX_IS_CL_TRUE@@COIN_HAS_PKGCONFIG_FALSE@ echo "-libpath:`$(CYGPATH_W) @abs_lib_dir@` libipopt.lib @IPOPTLIB_LIBS_INSTALLED@" > $(addlibsdir)/ipopt_addlibs_cpp.txt
|
||||
@COIN_CXX_IS_CL_FALSE@@COIN_HAS_PKGCONFIG_FALSE@ echo "-L@abs_lib_dir@ -lipopt @IPOPTLIB_LIBS_INSTALLED@" > $(addlibsdir)/ipopt_addlibs_cpp.txt
|
||||
@@ -0,0 +1,18 @@
|
||||
$NetBSD: patch-Ipopt_configure,v 1.1 2013/11/29 12:59:31 joerg Exp $
|
||||
|
||||
--- Ipopt/configure.orig 2013-11-28 03:29:00.000000000 +0000
|
||||
+++ Ipopt/configure
|
||||
@@ -5180,7 +5180,12 @@ fi
|
||||
|
||||
done
|
||||
;;
|
||||
- -[lLR]*)
|
||||
+ -R*)
|
||||
+ ac_arg="-Wl,$ac_arg"
|
||||
+ shift
|
||||
+ set X $ac_arg "$@"
|
||||
+ ;;
|
||||
+ -[lLR]*|-Wl*)
|
||||
ac_exists=false
|
||||
for ac_i in $ac_cv_f77_libs; do
|
||||
if test x"$ac_arg" = x"$ac_i"; then
|
||||
@@ -0,0 +1,18 @@
|
||||
$NetBSD: patch-ThirdParty_HSLold_configure,v 1.1 2013/11/29 12:59:31 joerg Exp $
|
||||
|
||||
--- ThirdParty/HSLold/configure.orig 2013-11-28 03:27:10.000000000 +0000
|
||||
+++ ThirdParty/HSLold/configure
|
||||
@@ -4475,7 +4475,12 @@ fi
|
||||
|
||||
done
|
||||
;;
|
||||
- -[lLR]*)
|
||||
+ -R*)
|
||||
+ ac_arg="-Wl,$ac_arg"
|
||||
+ shift
|
||||
+ set X $ac_arg "$@"
|
||||
+ ;;
|
||||
+ -[lLR]*|-Wl*)
|
||||
ac_exists=false
|
||||
for ac_i in $ac_cv_f77_libs; do
|
||||
if test x"$ac_arg" = x"$ac_i"; then
|
||||
Reference in New Issue
Block a user