Java 的 QP 求解器

发布于 2024-07-25 22:45:38 字数 179 浏览 3 评论 0原文

我正在寻找一个易于使用的基于 Java 的二次规划 (QP) 求解器。

谷歌搜索后我发现了 ojAlgo (http://ojalgo.org)。

但是,我想知道是否还有其他/更好的选择。

I'm looking for a good easy to use Java based Quadratic Programming (QP) solver.

Googling around I came across ojAlgo (http://ojalgo.org).

However, I was wondering if there are any other/better alternatives.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

风月客 2024-08-01 22:45:38

查看 Apache Commons Math。 我没有使用过 ojalgo,而且我真的不能说我已经使用了 Commons Lang 足以为您提供很多细节,但它确实满足了我的需要。

他们网站上的描述:

Commons Math 是一个图书馆
重量轻,独立
数学和统计学部分
解决最常见的问题
在Java编程中不可用
语言或 Commons Lang。

指导原则:

  1. 实际应用用例决定开发优先级。
  2. 该软件包强调小型、易于集成的组件,而不是
    比具有复杂性的大型图书馆
    依赖项和配置。
  3. 所有算法均已完整记录并普遍遵循
    公认的最佳实践。
  4. 在存在多种标准算法的情况下,策略
    模式用于支持多个
    实现。
  5. 有限的依赖性。 没有 Commons 之外的外部依赖项
    组件和核心 Java 平台
    (至少 Java 1.3 至版本 1.2
    库的版本,至少是 Java 5
    从 2.0 版本开始
    库)。

Have a look at Apache Commons Math. I haven't used ojalgo, and I really can't say I've used Commons Lang enough to be able to provide you with a lot of details, but it did do what I needed.

Description from their website:

Commons Math is a library of
lightweight, self-contained
mathematics and statistics components
addressing the most common problems
not available in the Java programming
language or Commons Lang.

Guiding principles:

  1. Real-world application use cases determine development priority.
  2. This package emphasizes small, easily integrated components rather
    than large libraries with complex
    dependencies and configurations.
  3. All algorithms are fully documented and follow generally
    accepted best practices.
  4. In situations where multiple standard algorithms exist, a Strategy
    pattern is used to support multiple
    implementations.
  5. Limited dependencies. No external dependencies beyond Commons
    components and the core Java platform
    (at least Java 1.3 up to version 1.2
    of the library, at least Java 5
    starting with version 2.0 of the
    library).
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文