New port: math/hpipm: High-performance interior-point-method QP solvers

This commit is contained in:
Yuri Victorovich
2019-08-25 00:00:54 +00:00
parent ee740da1cc
commit d2cbf0b853
6 changed files with 104 additions and 0 deletions

View File

@@ -277,6 +277,7 @@
SUBDIR += hexcalc
SUBDIR += hipmcl
SUBDIR += hmat-oss
SUBDIR += hpipm
SUBDIR += hs-Agda
SUBDIR += hs-semigroups
SUBDIR += ignition-math

20
math/hpipm/Makefile Normal file
View File

@@ -0,0 +1,20 @@
# $FreeBSD$
PORTNAME= hpipm
DISTVERSION= 0.1.0-80
DISTVERSIONSUFFIX= -g8679589
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= High-performance interior-point-method QP solvers
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= blasfeo>0:math/blasfeo
USES= cmake localbase
USE_GITHUB= yes
GH_ACCOUNT= giaf
.include <bsd.port.mk>

3
math/hpipm/distinfo Normal file
View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1566690260
SHA256 (giaf-hpipm-0.1.0-80-g8679589_GH0.tar.gz) = 293c068d79e32d9b872ba03c10685438036944985bdcc19fe068133e3a371f83
SIZE (giaf-hpipm-0.1.0-80-g8679589_GH0.tar.gz) = 1454937

View File

@@ -0,0 +1,11 @@
--- CMakeLists.txt.orig 2019-08-24 23:47:04 UTC
+++ CMakeLists.txt
@@ -228,7 +228,7 @@ install(TARGETS hpipm EXPORT hpipmConfig
ARCHIVE DESTINATION lib
RUNTIME DESTINATION bin)
-install(EXPORT hpipmConfig DESTINATION cmake)
+install(EXPORT hpipmConfig DESTINATION lib/cmake/hpipm)
file(GLOB_RECURSE HPIPM_HEADERS "include/*.h")
install(FILES ${HPIPM_HEADERS} DESTINATION ${HPIPM_HEADERS_INSTALLATION_DIRECTORY})

8
math/hpipm/pkg-descr Normal file
View File

@@ -0,0 +1,8 @@
This is HPIPM, a high-performance interior-point method solver for dense,
optimal control- and tree-structured convex quadratic programs. It provides
efficient implementations of dense and structure-exploiting algorithms to solve
small to medium scale problems arising in model predictive control and embedded
optimization in general and it relies on the high-performance linear algebra
package BLASFEO.
WWW: https://github.com/giaf/hpipm

61
math/hpipm/pkg-plist Normal file
View File

@@ -0,0 +1,61 @@
include/hpipm_aux_string.h
include/hpipm_common.h
include/hpipm_d_cond.h
include/hpipm_d_cond_aux.h
include/hpipm_d_core_qp_ipm.h
include/hpipm_d_core_qp_ipm_aux.h
include/hpipm_d_dense_qp.h
include/hpipm_d_dense_qp_dim.h
include/hpipm_d_dense_qp_ipm.h
include/hpipm_d_dense_qp_kkt.h
include/hpipm_d_dense_qp_res.h
include/hpipm_d_dense_qp_sol.h
include/hpipm_d_ocp_qp.h
include/hpipm_d_ocp_qp_dim.h
include/hpipm_d_ocp_qp_ipm.h
include/hpipm_d_ocp_qp_kkt.h
include/hpipm_d_ocp_qp_res.h
include/hpipm_d_ocp_qp_sol.h
include/hpipm_d_ocp_qp_utils.h
include/hpipm_d_part_cond.h
include/hpipm_d_tree_ocp_qp.h
include/hpipm_d_tree_ocp_qp_dim.h
include/hpipm_d_tree_ocp_qp_ipm.h
include/hpipm_d_tree_ocp_qp_kkt.h
include/hpipm_d_tree_ocp_qp_res.h
include/hpipm_d_tree_ocp_qp_sol.h
include/hpipm_m_dense_qp.h
include/hpipm_m_dense_qp_dim.h
include/hpipm_m_ocp_qp.h
include/hpipm_m_ocp_qp_ipm_hard.h
include/hpipm_m_ocp_qp_kkt.h
include/hpipm_s_cond.h
include/hpipm_s_cond_aux.h
include/hpipm_s_core_qp_ipm.h
include/hpipm_s_core_qp_ipm_aux.h
include/hpipm_s_dense_qp.h
include/hpipm_s_dense_qp_dim.h
include/hpipm_s_dense_qp_ipm.h
include/hpipm_s_dense_qp_kkt.h
include/hpipm_s_dense_qp_res.h
include/hpipm_s_dense_qp_sol.h
include/hpipm_s_ocp_qp.h
include/hpipm_s_ocp_qp_dim.h
include/hpipm_s_ocp_qp_ipm.h
include/hpipm_s_ocp_qp_kkt.h
include/hpipm_s_ocp_qp_res.h
include/hpipm_s_ocp_qp_sol.h
include/hpipm_s_ocp_qp_utils.h
include/hpipm_s_part_cond.h
include/hpipm_s_tree_ocp_qp.h
include/hpipm_s_tree_ocp_qp_dim.h
include/hpipm_s_tree_ocp_qp_ipm.h
include/hpipm_s_tree_ocp_qp_kkt.h
include/hpipm_s_tree_ocp_qp_res.h
include/hpipm_s_tree_ocp_qp_sol.h
include/hpipm_scenario_tree.h
include/hpipm_timing.h
include/hpipm_tree.h
lib/cmake/hpipm/hpipmConfig-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/hpipm/hpipmConfig.cmake
lib/libhpipm.a