Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下形式的优化,
argmin_W f(W) st W_i > 0,对于所有 i
其中 W 是一个向量,f(W) 是 W 上的一个函数。我知道如何在没有非负约束的情况下进行优化。但我不确定如何使用梯度下降来优化它。
开集的优化非常棘手,所以让我们假设W_i >= 0,因此您可以使用多种方法:
W_i >= 0
我认为没有一种通用且简单的方法可以做到这一点。您必须在每个点进行某种搜索,以确保满足约束条件(如线搜索、信任区域等技术)。
或者也许 f 有一些你可以利用的结构。