使用优化方法/求解器矩阵跟踪最小化问题
在神秘或scipy中是否有任何优化方法/求解器。在矩阵域中解决问题的优化库。换句话说,是否有任何优化方法/求解器可以接受矩阵作为参数并最大程度地减少其跟踪?
Is there any optimization method/solver in mystic or scipy.optimization library that solves the problem in the matrix domain. In other words, is there any optimization method/solver that accepts matrix as an argument and minimizes its trace?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
矩阵的痕迹是:
因此,取决于模型的其余部分,(几乎)任何求解器都允许您使用这样的目标。它是线性的,并且能够轻松且举止良好。这是您将看到的最佳目标。
The trace of a matrix is:
So, depending on the rest of the model, (almost) any solver will allow you to use an objective like this. It is linear and is as easy and well-behaved as it gets. It is about the best objective you will ever see.