仅依赖于 NumPy/SciPy 的二次程序 (QP) 求解器? [英] Quadratic Program (QP) Solver that only depends on NumPy/SciPy?
问题描述
我希望学生在作业中解决二次程序,而无需安装额外的软件,如 cvxopt 等.是否有仅依赖于 NumPy/SciPy 的 Python 实现可用?
I would like students to solve a quadratic program in an assignment without them having to install extra software like cvxopt etc. Is there a python implementation available that only depends on NumPy/SciPy?
推荐答案
我遇到了一个很好的解决方案,想把它拿出来.在 NICTA 的 ELEFANT 机器学习工具包中有一个 LOQO 的 Python 实现(http://elefant.forge.nicta.com.au 发布时).看看 optimization.intpointsolver.这是由 Alex Smola 编写的,我使用了相同代码的 C 版本并取得了巨大成功.
I ran across a good solution and wanted to get it out there. There is a python implementation of LOQO in the ELEFANT machine learning toolkit out of NICTA (http://elefant.forge.nicta.com.au as of this posting). Have a look at optimization.intpointsolver. This was coded by Alex Smola, and I've used a C-version of the same code with great success.
这篇关于仅依赖于 NumPy/SciPy 的二次程序 (QP) 求解器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!