本文介绍了仅取决于NumPy/SciPy的二次程序(QP)解算器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望学生解决作业中的二次程序,而不必安装额外的软件,例如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)解算器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-11 17:27